salendron / Snakeberry

A lightweight webservice based media player fpr Raspberry Pi.
14 stars 10 forks source link

Autostart Radio Channel? #9

Open Matz31 opened 11 years ago

Matz31 commented 11 years ago

Hello :)

Is it possible to make one Radio Station start automatically when the system has booted?

philipp-r commented 10 years ago

A bit late but you could create a cronjob calling the API with curl.

@reboot curl http://192.168.0.123:8888/radio/play/0

or you could add it to /etc/rc.local just before "exit 0" after snake berry was started.