01-25-2024, 05:54 PM
(01-25-2024, 05:15 PM)Tim Curtis Wrote: Its not good to intertwine code for two different players. That would be a no-go approach for me.Yes, but for Spotify instead of the generic renderer playing screen we could have one that resembles the cover-art view in moOde, having its own php and JS handler.
Quote: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.We can already do that, and according to the documentation of librespot that script is non-blocking, so the 2/3 seconds necessary for Spotify metadata collection should not be relevant.
Of course we'll think about integrating it; for now it is more a POC, surely needs some testing.
Creating a new thread about it is a good idea.