09-25-2024, 09:58 PM
IIRC to detect track change the event script /var/local/www/commandw/spotevent.sh has to be modified to act on the env vars OLD_TRACK_ID and TRACK_ID. https://github.com/librespot-org/librespot/wiki/Events
When they are different send a command to the front-end JS function engineCmd() via /var/www/util/send-fecmd.php <command> that runs some code to update the metadata and cover art. Something like that.
When they are different send a command to the front-end JS function engineCmd() via /var/www/util/send-fecmd.php <command> that runs some code to update the metadata and cover art. Something like that.