02-23-2024, 04:20 PM
(07-30-2023, 11:38 AM)Tim Curtis Wrote: Many years ago there was some code in moOde that attempted to display metadata/art from Airplay but it was unreliable, possibly due to the way it was written, but in any case it was abandoned and replaced by the "Renderer Active" overlays which are used for all the audio renderers including Bluetooth, Airplay, Spotify Connect, Squeezelite and Roonbridge. The plain background can be enhanced by setting the Prefs option"Renderer backdrop" to yes.
If another dev wants to take on the challenge of capturing/displaying metadata/art then I'll be happy to test.
Hello Tim,
I had a look on it (i'am using mainly spotify with moode so i'am really interested). I've noticed that the receiver librespot on event such as started/stopped/changed pass the event itself but also the spotify_id of the song.
I've tweaked the spotevent.sh script to react to the changed event and not only to started/stopped, installed the python lib Spotipy on my moode player (quick and small) and wrote a small python script called by the spotevent.sh script and pass the spotify_id to it.
Now on every changed event, i have that kind of output (spotify_id, artist, album, song, url to coverart):
7GqIDx2QVGOpd4r1fZaUUW
Chicago
Chicago II
25 or 6 to 4 - 2002 Remaster
https://i.scdn.co/image/ab67616d0000b273...baed5aebf9
Could be intersting to search in that direction. I know it is pretty limited for the moment but i've just had a look yesterday evening. I have now to look on how your system works to push data to the backend/frontend.
The only requirement is to have enable the spotify developper and create an app to have client_id & client_secret (more or less 5min to create it)
Regards,
JM