Internet Radio using VLC on boot
Make a playlist
First make a m3u playlist. Start it with #EXTM3U. Full link to mp3 files.
Install VLC
$ sudo apt-get install vlc
Autostart VLC on boot
Edit “/etc/rc.local”
$ sudo nano /etc/rc.local
Before “exit 0” type line below. “su - pi -c” makes it run as user pi, and not root. VLC refuses to run as root. Remember quote marks around the vlc string. “cvlc” runs VLC without command line interface.
(sleep 5; su - pi -c "cvlc http://borealisradio.bek.no/borealisradio.m3u") &