LMS-Community / slimserver

Server for Squeezebox and compatible players. This server is also called Lyrion Music Server.
https://lyrion.org
Other
1.1k stars 278 forks source link

Station Logos don't show in SBR's Presets unless they are by TuneIn or RNP #975

Open gxgoetz opened 6 months ago

gxgoetz commented 6 months ago

When selecting a radio station from SBR's preset button only feeds provided by TuneIn or the RadioNowPlaying plugin display a logo. Obviously no extra entry for a logo exists. When saving a radio station to favorites, it displays with a logo both in the webview and on the SBR display because the logo's web address is saved in favorites.opml. Such a possibility would make it so much easier to navigate the SBR.

michaelherger commented 6 months ago

Relevant discussion: https://forums.slimdevices.com/forum/user-forums/squeezebox-radio/1662421.

Just to confirm: the station logo is not the same as album artwork, right? The former could potentially be fixed in LMA, the latter can't.

gxgoetz commented 6 months ago

Hi, yes station logo is something permanent. Here are some examples: https://radiolisten.de/regio/bayern/ Logos do not change, album artwork does.

michaelherger commented 6 months ago

Thanks for the confirmation. I can't promise anything. But your request sounds very reasonable to me.

Moonbase59 commented 5 days ago

@michaelherger Would be nice if we also picked up the station logos from the icy-logo header, as specified in https://www.stream-meta.info/version_2_headers.html, or the streaminfo.json file specified in https://www.stream-meta.info/version_2_files.html.

Example ICY header:

icy-logo: https://radio.niteradio.net/static/uploads/browser_icon/192.1678626043.png

Example <icy-url>/streaminfo.json file:

{
    "icy-index-metadata": 1,
    "icy-version": 2,
    "icy-name": "Super radio",
    "icy-description": "This is the super radio of the world.",
    "icy-genre": "jazz,classical",
    "icy-language-codes": "eng,deu",
    "icy-country-code": "AT",
    "icy-country-subdivison-code": "AT-1",
    "icy-logo": "https://super.radio.com/favicon.png"
}

More and more stations are using this format, and it’s easy to implement in broadcasting solutions like AzuraCast, Centovacast, etc.

And it would be much more elegant than having to find it out themselves for users, and then having to enter it into their Favourites.

michaelherger commented 5 days ago

Would you have a few example URLs of such radio streams?