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

Librespot-api does not create a websocket event for rewinding a song #540

Open
roundsToThree opened this issue Dec 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@roundsToThree
Copy link

Describe the bug
When a song is being played, you can restart the song by pressing the previous song button assuming you are beyond a few seconds into the song. However, librespot-java does not report the seek of the track on its websocket.

To Reproduce
Connect to librespot-api's websocket
Connect Spotify through Spotify Connect's device list (I used an android phone with latest Spotify)
Seek through the song
Press back arrow
Song replays but no websocket event is sent

Expected behavior
A trackSeeked event to be issued on the websocket

Screenshots/Stracktraces/Logs
Last few issued events before issue

{ event: 'trackSeeked', trackTime: 83493 }
{ event: 'playbackHaltStateChanged', trackTime: 83493, halted: true }
{ event: 'playbackHaltStateChanged', trackTime: 83493, halted: false }
{ event: 'trackSeeked', trackTime: 98099 }
# Rewind here but no new events
....

Version/Commit
OpenJDK Runtime Environment (build 19.0.1+10)
librespot-api-1.6.2.jar
Arch Linux 5.1.16

@roundsToThree roundsToThree added the bug Something isn't working label Dec 6, 2022
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

1 participant