Open powertim opened 3 years ago
Can I ask how you solved it?
I'm new to mopidy, have this problem, it's not referenced in the documentation, and I don't know how to solve it.
Any advice appreciated.
Hi,
My config in /etc/mopidy/mopidy.conf:
[radionet] enabled = true min_bitrate = 128 favorite_stations = 'x'
I hope this helps. :)
It helps a lot. I had no idea of the format. I've done a bit of experimenting. This may have been obvious to everyone else, but it definitely wasn't to me!
If you go to the radio.net website. Search for stations that are your preference, and then put these exact names in the config, in the following format, then you will get an alphabetically sorted list of these stations, in your Radionet Favourites. You can append to the list in mopidy.conf, restart the service, and the favourites will repopulate as per your new list
favorite_stations = 'BBC Radio 1','BBC Radio 1Xtra','BBC Radio 2','BBC Radio 3','BBC Radio 4','BBC Radio 4 Long Wave','BBC Radio 4 Extra','BBC Radio 5 live','BBC Radio 6 Music','BBC World Service'
If you inspect current config with
sudo mopidyctl config
you will see that the radionet config section looks like this:
[radionet] enabled = true language = net min_bitrate = 128 favorite_stations = 'BBC Radio 1' 'BBC Radio 1Xtra' 'BBC Radio 2' 'BBC Radio 3' 'BBC Radio 4' 'BBC Radio 4 Long Wave' 'BBC Radio 4 Extra' 'BBC Radio 5 live' 'BBC Radio 6 Music' 'BBC World Service'
As I say, apologies if this is obvious. Just leaving here for entry level newbies such as myself.
Thank you very much for the help. Your key unlocked it for me.
I've found that you need to get the station's "slug" (the bit at the end of the address for each station, I think that's the name but memory hazy), and place that in the config.
So, for BBC Radio 1, that would be https://www.radio.net/s/bbcradio1, and the slug would be 'bbcradio1', which you would need to place in your favorite_stations
list.
That... was a headache and a half getting to the bottom of. :raised_eyebrow:
Hi,
On my first try to use your extension I was facing error :
Configuration section in the README is not referencing the
favorite_stations
key.I was able to fix it by myself but it could be useful to not frighten people on first run ;-)
Thanks,
Tim.