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

Music keeps playing automatically continuously #557

Open
orangeMangoDimz opened this issue Sep 2, 2024 · 9 comments
Open

Music keeps playing automatically continuously #557

orangeMangoDimz opened this issue Sep 2, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@orangeMangoDimz
Copy link

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 orangeMangoDimz added the bug Something isn't working label Sep 2, 2024
@pawelkuzia
Copy link

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

@j1-dev
Copy link

j1-dev commented Sep 2, 2024

I'm in the same situation as @pawelkuzia

@aome510
Copy link
Owner

aome510 commented 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.

@aNNiMON
Copy link
Contributor

aNNiMON commented Sep 2, 2024

Same issue on Windows

librespot-org/librespot#1322

@masroof-maindak
Copy link

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.

@aome510
Copy link
Owner

aome510 commented Sep 3, 2024

Same issue on Windows

librespot-org/librespot#1322

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

@orangeMangoDimz
Copy link
Author

For now, try this way:
librespot-org/librespot#972 (comment)

@mloskot
Copy link

mloskot commented 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 #557 (comment) does not work for me. Interestingly, ncspot works fine.

@Cloweeee
Copy link

Cloweeee commented 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.

librespot-org/librespot#1322 (comment)

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

8 participants