Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Spotify Metadata
#2
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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Spotify Metadata - by sm00th - 09-25-2024, 11:06 AM
RE: Spotify Metadata - by Tim Curtis - 09-25-2024, 09:58 PM
RE: Spotify Metadata - by EpicLPer - 10-05-2024, 08:11 PM
RE: Spotify Metadata - by FredM - 10-16-2024, 08:33 AM
RE: Spotify Metadata - by FredM - 10-18-2024, 08:40 AM
RE: Spotify Metadata - by FredM - 10-18-2024, 04:05 PM
RE: Spotify Metadata - by TheOldPresbyope - 10-18-2024, 04:09 PM
RE: Spotify Metadata - by the_bertrum - 10-18-2024, 04:12 PM
RE: Spotify Metadata - by humboldtsquid - 10-23-2024, 05:06 PM
RE: Spotify Metadata - by Nutul - 10-23-2024, 08:05 PM
RE: Spotify Metadata - by humboldtsquid - 10-23-2024, 10:54 PM
RE: Spotify Metadata - by sm00th - 11-02-2024, 08:07 PM
RE: Spotify Metadata - by Nutul - 10-24-2024, 08:09 PM
RE: Spotify Metadata - by humboldtsquid - 10-24-2024, 08:54 PM
RE: Spotify Metadata - by pbattino - 01-05-2025, 05:25 PM
RE: Spotify Metadata - by Tim Curtis - 01-05-2025, 07:03 PM

Forum Jump: