librespot-java
librespot-java copied to clipboard
Librespot-api does not create a websocket event for rewinding a song
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