Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enviormental Variables always set to empty string by onTrackChanged #587

Open
Lytjoe opened this issue Feb 1, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Lytjoe
Copy link

Lytjoe commented Feb 1, 2023

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

@Lytjoe Lytjoe added the bug Something isn't working label Feb 1, 2023
@kernitus
Copy link

That means the data is not available yet, it will show up in the Metadata Available event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants