librespot-java
librespot-java copied to clipboard
Enviormental Variables always set to empty string by onTrackChanged
Describe the bug I am running a script triggered by onTrackChanged which tries to use the enviormental variables (NAME, ARTIST...) provided by this event. Unfortunately I always get the empty string. As far as I interpreted the code (I am just a beginner), this means I dont have a quee of songs, but I dont why and how to fix it. I tried it with credential, without credentials but it didn't change anything. If I try to use the onMetadataAvailable event it sets the variables fine for the first song but obviously it wont trigger again if the next song comes up.
Expected behavior The onTrackChanged event should return the metadata.
Version/Commit Download of newest version of file: librespot-player-1.6.2.jar
That means the data is not available yet, it will show up in the Metadata Available event.