pimusicbox / mopidy-musicbox-webclient

Web Client for Mopidy Music Server and the Pi MusicBox
https://www.pimusicbox.com
Apache License 2.0
398 stars 106 forks source link

how to add station 'album art' to musicbox webclient #277

Open ne4l4ng opened 3 years ago

ne4l4ng commented 3 years ago

Hi,

Thank you so much for developing pimusicbox. I have added my own radio station streams and would like to add in the station's album art aka station logo in the now playing. How can I do this?

image

Also, how to get the now playing song and title as the web radio streams?

TIA ne4l4ng

kingosticks commented 3 years ago

It uses the metadata and album art embedded in the stream. Some radio stations will send this, some don't. If it is present in the stream then it should be displayed automatically. There's no functionality to manually add it.

ne4l4ng commented 3 years ago

Thanks for replying @kingosticks ! the streams has metadata and album art embedded, but its not showing, Any ideas?

kingosticks commented 3 years ago

Can you provide the URI? Is the URI in the picture above the full address or is the end missing?

ne4l4ng commented 3 years ago

sure! here is the full uri https://20683.live.streamtheworld.com/ONE_FM_913AAC.aac

kingosticks commented 3 years ago

I don't see embedded artwork being found by Mopidy, nor VLC. I do see a stream title in there but I think that's not being displayed in Mopidy due to a bug in the old release in musicbox. We've had a few bugs over the years with that, not as simple as it should be! Sorry, I don't think there is an easy way to fix this, I don't have the resources to spend on a musicbox release.

ne4l4ng commented 3 years ago

I see.. thank you for taking a look anyway. Perhaps you could point me to where in musicbox to look? I could take a shot at it

kingosticks commented 3 years ago

It'll be related to

To be honest I really do not remember how the old version worked w.r.t the stream title tags, it's always had to be a special case. It may not be as complicated as all of these changes we did but that's my quick survey of the changelog.