-
Notifications
You must be signed in to change notification settings - Fork 56
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
Built-in web API reports incorrect playback status #370
Comments
Hey @jonasberge, Could you confirm this only happens during startup? I just had a thought whilst writing this though.... you're probably using the actual buttons in the UI right? Can you confirm it doesn't happen when you use the API's playpause but only happens if you use the built-in play/pause button? The urls for play and pause are:
This most likely also is the underlying cause in other issues. |
I can confirm, it only happens with the UI buttons, when I use /playpause, /play and /pause everything works as expected. |
Thanks for confirming, that'll give me the right direction to fix this. |
Just refactored the code and tested it, works again 😄. Will release a new version (5.10.0) later today! |
When I enable the built-in web API and navigate to
localhost:47836/current
, thestatus
field rarely contains the rightplaying
orpaused
value. E.g. after restarting the application it says "paused" even though I just continued my song, or when playing a different song and pausing it, it will say "playing" instead. This is likely related to #351. Everything else seems to work fine.Built it from source (branch master).
The text was updated successfully, but these errors were encountered: