-
on your Volumio SD card, navigate to the WEBRADIO folder: /var/lib/mpd/music/WEBRADIO
there, you will find the station playlists - .pls files. -
using a text editor (like notepad, geany, textedit, etc. depending on your operating system) open the SOMAFM.pls file.
once opened, it will look like this:
[playlist]
numberofentries=1
File1=http://173.192.176.180:8090
Title1=(#1 - 25/1500) Indie Pop Rocks! [SomaFM]
-
go to SomaFM.com and choose a station- for this example, i have chosen the “secret agent” station. scroll down the page and look for the “alternative stream links for internet radios and other media players” link and click on it. find the “direct server” information and copy it.
direct server for secret agent: Direct Server: xstream1.somafm.com:8002 -
go back to your text editor, and on the File1= line, paste in the new direct server address.
the line will now look like this: File1=http://xstream1.somafm.com:8002
next, change the station name: Title1=(#1 - 25/1500) Secret Agent [SomaFM]
the new, completed playlist data will look like this:
[playlist]
numberofentries=1
File1=http://xstream1.somafm.com:8002
Title1=(#1 - 25/1500) Secret Agent [SomaFM]
-
in your text editor, select “save as” and name your file: secretagent.pls - save the file in the WEBRADIO folder: /var/lib/mpd/music/WEBRADIO
-
place the SD card back in your Raspberry Pi or other device, and turn it on. after Volumio has loaded, update the WEBRADIO folder. the secret agent station will now appear and be ready to stream.
i have created/added about 8 SomaFm stations using this method and all have worked flawlessly.
enjoy the music!