01-25-2024, 05:15 PM
(This post was last modified: 01-25-2024, 05:19 PM by Tim Curtis.)
(01-25-2024, 04:56 PM)Nutul Wrote:(01-25-2024, 03:13 PM)cogitech Wrote: This is fun to work through, for sure, but at some point you have to ask "is it worth the effort"? I don't know. Is it?
(after all, if someone wants to know what song is playing, simply look at the Spotify app on your phone/tablet)
I was also thinking about having Spotify playing while moOde shows its nowplaying screen with the proper metadata and album-art...
Its not good to intertwine code for two different players. That would be a no-go approach for me.
It seems like you can get the track id from the librespot event script via the env variable. From there it gets more involved because there are a lot of moving parts rendering something to the WebUI. You also prolly don't want to bloat the event script if its blocking.
You might want to wait until I make the camilla 2 commit this week because it includes enhancements to the renderer event scripts that make debugging them much easier.
ETA: It would prolly be better to create a separate "Spotify cover art" thread