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

get_current_track_info() returns wrong track #4

Open
yarodevuci opened this issue Feb 6, 2025 · 2 comments
Open

get_current_track_info() returns wrong track #4

yarodevuci opened this issue Feb 6, 2025 · 2 comments

Comments

@yarodevuci
Copy link

I call client.next to play next song
after that i fetch get_current_track_info(), it returns old track info and not next track info
Since it's not an async api, time.sleep not working either and causing more issues
Please suggest a solution ?
Thanks

@EpocDotFr
Copy link
Owner

Why would time.sleep cause issues? Could you provide some exception or error? Some code?

Btw I'm not using nor I have interest into AIMP anymore.

@yarodevuci
Copy link
Author

I think the issue is when calling next it takes a bit delay to play another track. sleep should do the trick but sometimes after 3 sec wait it still returns old track name.
There is no error or anything like that, it's just the info not getting updated @EpocDotFr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants