Thank you for your donation!


Change custom Radio Station name on Favorites list?
#11
I found the users issue, the favorites playlist is a list of URL's it's not an M3U formatted file even though it has the .m3u extension. The default Moode stations display station names because of the database I think. That could be part of it anyway. Just happened to have a spare few moments to post back to this thread about what I found a few days back.

   

The correct format for radio anyway with the -1 (track duration) ...

Code:
#EXTM3U

#EXTINF:-1,Gold 104.3
http://icy.arn.com.au/au_004_icy

#EXTINF:-1,Halbtrocken Radio
http://stream.laut.fm/halbtrocken-radio

#EXTINF:-1,Heart Dance
https://media-ssl.musicradio.com/HeartDance

#EXTINF:-1,Heartbeat Radio
http://s1.nexuscast.com:8139/;

#EXTINF:-1,HilversumDrie.v2.1
https://hilversumdrie.radioca.st/streams/320kbps

#EXTINF:-1,HilversumDrie.v2.2
https://hilversum3.radioca.st/streams/320kbps
--

GitHub, Spotify and Resonate : @duracell80

My jam: ambient, lush vocals, synths and acoustic guitars
Reply
#12
Sidebar comment: The M3U file format is correct. https://en.wikipedia.org/wiki/M3U

What you seem to be finding is that if the favorites file is in Extended M3U format with station names carried in an appropriately named comment then moOde (MPD actually) can use them.
Reply
#13
The MPD "save" command is used to write an m3u playlist file from entries in MPD queue. Since the MPD queue only has URL's and file paths that's all that's written.
Reply
#14
(01-18-2020, 01:45 PM)Tim Curtis Wrote:
(11-26-2019, 02:58 PM)Whizzo Wrote: Hi there!
It's my first post here, so above all - Thank you for such a great RPi distro! It's working really good for me, listening everyday actually  Smile

What is a bit irritating for me though, is that I have added some additional radio stations via "New station" + button, which I later added to my list of Favorites.
The issue is - that some of them has IP addresses as urls (or meaningless DNS names), so when having couple of such, it's becoming hard to navigate which one is which.

Is there any way to edit the Radio Station names on "Favorites" playlist? (it seems there's no such way via the UI, but maybe on the config files on server itself?)
I'm using the latest version, 6.3.0.

Dump the cfg_radio table and verify that rows exist for each of the stations you added via the UI and that the columns are correctly populated..

Code:
sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_radio where id>499"

pi@rp3:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db ".schema" | grep cfg_radio
CREATE TABLE cfg_radio (id INTEGER PRIMARY KEY, station CHAR (128), name CHAR (128), type CHAR (8), logo CHAR (128));

The type column will have a "u" for user added stations and the id's will be > 499.

Hey Tim, thanks for looking it up.
The cfg_radio table seems to be correct actually:
Code:
# sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_radio where id>499"
500|http://www.rmfon.pl/n/rmfclassic.pls|RMF Classic|u|local
501|http://chi-net-01.cdn.eurozet.pl:8900/listen.pls|Chilli Zet|u|local
502|http://ant-waw-01.cdn.eurozet.pl:8602/listen.pls|AntyRadio|u|local
503|http://192.99.18.107:8106/listen.pls|Salsa Mexico|u|local
504|http://stream.polandrockfestival.pl:8000/listen.pls|Pol'and'Rock Radio|u|local 
Reply


Forum Jump: