Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[SOLVED] Adding Radio stations and logos
#11
Its because MPD adds only the stations Playable URL to the playlist. After the station starts playing there may also be metadata in the stream thats added to the Playlist further identifying the station by name along with track information, but this is not guaranteed. Therefore the only true unique identifier for a station is its Playable URL.

Below are two examples. The first is one of the Soma sFM tations that includes metadata in its stream and the other is France Inter-Paris that does not provide any metadata in its stream.

-Tim

Code:
pi@rp3:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.20.0
currentsong
file: http://ice1.somafm.com/groovesalad-128-aac
Title: Stargarden - Nightro
Name: Groove Salad [SomaFM]
Pos: 27
Id: 28
OK
currentsong
file: http://direct.fipradio.fr/live/fip-midfi.mp3
Pos: 8
Id: 9
OK
Connection closed by foreign host.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
thanks Tim!
Is this also why it is such a problem to get radio streams such as ar in the pls to play via a client like bubble or upnplayer?
-> would actually having this url that you also use here make that they would also work?

Hendrik-Jan
Reply
#13
You have to build a separate radio list for UPnP. Have a look at the conf file below.
/etc/upmpdcli-radio.conf

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: