Hi there - I’ve created a github repo, where I’m hoping to start up a large collection of internet radio streams. Here’s how to quickly add it to Volumio:
# assuming your pi is named 'volumio'
ssh pi@volumio
sudo apt-get install git
git clone https://github.com/jprjr/internet-radio-streams.git
cd internet-radio-streams
./make_links /var/lib/mpd/music/WEBRADIO/ pls
and done. So far, I have:
Most of the popular iheartradio stations
All the SomaFM stations
A few independent stations
I would love folks to fork the github repo, add their favorite stations, and issue pull requests!
Yes that works, thanks!
But I still don’t get the stations I can see the folders in the webview, but they are empty. When checking the actual .pls and .m3u files created on the pi I can see them listed nicely in the folders, but they are empty files. I see the stream and metadata on your GitHub, but on my pi neither pls or m3u contains any info.
It’s no problem to copy the files manually, but I don’t believe that was the idea? I guess there’s some issue with the scripts…
Sorry I can’t help with anything but testing(and adding more streams, when we get that far), -no experience in scripting here
Yeah that is weird.
I wrote a script to create the main Danish radio stations(just changed a few things in your soma script) and it creates the files just fine, but just as with the ones created by your script, they are empty files, when opened in Sublime Text from my windows explorer. I tried to view them via nano in the putty terminal and here they actually look completely fine.
The files in /var/lib/mpd/music/WEBRADIO/danishradio (and the others created by make_links) are all symlinks that appearantly can’t be read by windows or Volumio. So I used sed -i ‘’ ** to replace the symlinks with the actual files and voila everything works and is visible even from windows.
I don’t know why this causes problems on my system and not on yours, though… Something with the setup of paths or???
That was it - there was then a folder “internet-radio-streams” in the WEBRADIO folder with all the folders and files. I pressed “Update library” in Volumio and the very large collection of streams plays perfectly.
Slight n00b here…resurrecing an old one…playing around with the latest Volumio and having a problem getting SomaFM streams…I tried the above, but I could not find the WEBRADIO subdirectory, so I used
/var/lib/mpd/music/
and did the sudo stuff there…got the list in the GUI under MY MUSIC\internet-radio-streams with both PLS and m3u folders, but none of the streams work…