[GH-ISSUE #557] Music keeps playing automatically continuously #320

Closed
opened 2026-03-02 23:46:31 +03:00 by kerem · 10 comments
Owner

Originally created by @orangeMangoDimz on GitHub (Sep 2, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/557

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
Screenshot from 2024-09-02 17-05-57
image

Environment

  • OS: Ubuntu 24.04 LTS
  • Application version: v0.19.1
  • Application features: Not installed any features yet

Additional context
None

Originally created by @orangeMangoDimz on GitHub (Sep 2, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/557 **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** ```text # 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** ![Screenshot from 2024-09-02 17-05-57](https://github.com/user-attachments/assets/588a6c34-7df8-48a0-ba96-2260c5eac6e8) ![image](https://github.com/user-attachments/assets/c2048848-05c6-421b-b70e-0f7c6676af29) **Environment** - OS: Ubuntu 24.04 LTS - Application version: v0.19.1 - Application features: Not installed any features yet **Additional context** None
kerem 2026-03-02 23:46:31 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@pawelkuzia commented on GitHub (Sep 2, 2024):

I have the same issue on Arch, version 0.19.1, from AUR with full features enabled.

<!-- gh-comment-id:2325033954 --> @pawelkuzia commented on GitHub (Sep 2, 2024): I have the same issue on Arch, version 0.19.1, from AUR with full features enabled.
Author
Owner

@j1-dev commented on GitHub (Sep 2, 2024):

I'm in the same situation as @pawelkuzia

<!-- gh-comment-id:2325150481 --> @j1-dev commented on GitHub (Sep 2, 2024): I'm in the same situation as @pawelkuzia
Author
Owner

@aome510 commented on GitHub (Sep 2, 2024):

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.

<!-- gh-comment-id:2325154884 --> @aome510 commented on GitHub (Sep 2, 2024): 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.
Author
Owner

@aNNiMON commented on GitHub (Sep 2, 2024):

Same issue on Windows

https://github.com/librespot-org/librespot/issues/1322

<!-- gh-comment-id:2325218825 --> @aNNiMON commented on GitHub (Sep 2, 2024): Same issue on Windows https://github.com/librespot-org/librespot/issues/1322
Author
Owner

@masroof-maindak commented on GitHub (Sep 2, 2024):

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.

<!-- gh-comment-id:2325273141 --> @masroof-maindak commented on GitHub (Sep 2, 2024): > 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.
Author
Owner

@aome510 commented on GitHub (Sep 3, 2024):

Same issue on Windows

librespot-org/librespot#1322

Thanks, it seems there is a workaround mentioned in the thread.

<!-- gh-comment-id:2325435957 --> @aome510 commented on GitHub (Sep 3, 2024): > Same issue on Windows > > [librespot-org/librespot#1322](https://github.com/librespot-org/librespot/issues/1322) Thanks, it seems there is [a workaround](https://github.com/librespot-org/librespot/issues/1322#issuecomment-2325307761) mentioned in the thread.
Author
Owner

@orangeMangoDimz commented on GitHub (Sep 3, 2024):

For now, try this way:
https://github.com/librespot-org/librespot/issues/972#issuecomment-2320943137

<!-- gh-comment-id:2325470461 --> @orangeMangoDimz commented on GitHub (Sep 3, 2024): For now, try this way: https://github.com/librespot-org/librespot/issues/972#issuecomment-2320943137
Author
Owner

@mloskot commented on GitHub (Sep 4, 2024):

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.

<!-- gh-comment-id:2328710437 --> @mloskot commented on GitHub (Sep 4, 2024): 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](https://github.com/user-attachments/assets/12f6c77c-ec51-4a3a-9b54-36cab0d7e1dd) The workaround referenced in https://github.com/aome510/spotify-player/issues/557#issuecomment-2325470461 [does not work for me](https://github.com/librespot-org/librespot/issues/972#issuecomment-2328733328). Interestingly, `ncspot` works fine.
Author
Owner

@Cloweeee commented on GitHub (Sep 5, 2024):

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

<!-- gh-comment-id:2331619943 --> @Cloweeee commented on GitHub (Sep 5, 2024): 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
Author
Owner

@aome510 commented on GitHub (Oct 28, 2024):

Should be fixed with the new librespot upgrade: https://github.com/aome510/spotify-player/pull/570

<!-- gh-comment-id:2441887283 --> @aome510 commented on GitHub (Oct 28, 2024): Should be fixed with the new `librespot` upgrade: https://github.com/aome510/spotify-player/pull/570
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#320
No description provided.