spotify-player icon indicating copy to clipboard operation
spotify-player copied to clipboard

Music keeps playing automatically continuously

Open orangeMangoDimz opened this issue 1 year ago • 9 comments

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

orangeMangoDimz avatar Sep 02 '24 10:09 orangeMangoDimz

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

pawelkuzia avatar Sep 02 '24 16:09 pawelkuzia

I'm in the same situation as @pawelkuzia

j1-dev avatar Sep 02 '24 17:09 j1-dev

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.

aome510 avatar Sep 02 '24 17:09 aome510

Same issue on Windows

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

aNNiMON avatar Sep 02 '24 19:09 aNNiMON

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.

masroof-maindak avatar Sep 02 '24 20:09 masroof-maindak

Same issue on Windows

librespot-org/librespot#1322

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

aome510 avatar Sep 03 '24 01:09 aome510

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

orangeMangoDimz avatar Sep 03 '24 02:09 orangeMangoDimz

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.

mloskot avatar Sep 04 '24 11:09 mloskot

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

Cloweeee avatar Sep 05 '24 12:09 Cloweeee

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

aome510 avatar Oct 28 '24 15:10 aome510