Music keeps playing automatically continuously
Describe the bug When opening spotify-player. the music plays automatically continuously.
If the previous music played is from an album, the music will cycle to the next music, without playing the current music, and it happens continuously. If the previous music is only 1 music, the music cannot be played and is stuck at duration 0:00.
The picture I attached is for the case of the last 1 music I played.
I have also checked on spotify app, and it still stuck at 0:00 duration.
To Reproduce it happened right after I opened the spotify-player app.
Expected behaviour I wish this app would run normally like it used to
Log and backtrace
# spotify-player-24-09-02-17-23.backtrace
File: spotify-player-24-09-02-17-23.backtrace <EMPTY>
# spotify-player-24-09-02-17-23.log
# the latest log
2024-09-02T10:28:19.346739Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
2024-09-02T10:28:20.919567Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { track_id: TrackId("3MEYFivt6bi
lQ9q9mFWZ4g") }
2024-09-02T10:28:20.919808Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
2024-09-02T10:28:22.510903Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { track_id: TrackId("3MEYFivt6bi
lQ9q9mFWZ4g") }
2024-09-02T10:28:22.511258Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
2024-09-02T10:28:24.318942Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { track_id: TrackId("3MEYFivt6bi
lQ9q9mFWZ4g") }
2024-09-02T10:28:24.319169Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
2024-09-02T10:28:25.781832Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { track_id: TrackId("3MEYFivt6bi
lQ9q9mFWZ4g") }
2024-09-02T10:28:25.782264Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
2024-09-02T10:28:27.150808Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { track_id: TrackId("3MEYFivt6bi
lQ9q9mFWZ4g") }
2024-09-02T10:28:27.151216Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
2024-09-02T10:28:28.153319Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { track_id: TrackId("3MEYFivt6bi
lQ9q9mFWZ4g") }
2024-09-02T10:28:28.153636Z INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("3MEYFivt6b
ilQ9q9mFWZ4g"), new_track_id: TrackId("3MEYFivt6bilQ9q9mFWZ4g") }
Screenshots
Environment
- OS: Ubuntu 24.04 LTS
- Application version: v0.19.1
- Application features: Not installed any features yet
Additional context None
I have the same issue on Arch, version 0.19.1, from AUR with full features enabled.
I'm in the same situation as @pawelkuzia
I couldn't reproduce on my laptop (MacOS). Did it happen before or just recently? This could be a Spotify API server issue or something related, I would wait for a few days more to see if it's persistent.
Same issue on Windows
https://github.com/librespot-org/librespot/issues/1322
I couldn't reproduce on my laptop (MacOS). Did it happen before or just recently? This could be a Spotify API server issue or something related, I would wait for a few days more to see if it's persistent.
Just started today. I think this is the case. I haven't updated my build as of recent so I doubt it's a problem with spotify-player.
For now, try this way: https://github.com/librespot-org/librespot/issues/972#issuecomment-2320943137
I've been suffering from the same issue for two days now, using spotify_player 0.19.1, and clearing cache/data, re-authenticating does not help. This screencast 'visualises' the player living its own life :)
Screencast from 2024-09-04 13-33-14.webm
The workaround referenced in https://github.com/aome510/spotify-player/issues/557#issuecomment-2325470461 does not work for me. Interestingly, ncspot works fine.
It seems that the dev version of librespot does work. I'd try to upgrade the dependency for spotify-player but I'm not familiar with rust/cargo.
https://github.com/librespot-org/librespot/issues/1322#issuecomment-2329702406
Should be fixed with the new librespot upgrade: https://github.com/aome510/spotify-player/pull/570