MarcoMadera / Rindu

Spotify clone with extra functionalities, remove duplicate/corrupted songs from playlists, synced picture in picture lyrics, artist concert setlists, single tracks recommendations ("radio")
https://rindu.marcomadera.com
11 stars 6 forks source link

Progress Bar action click not working after a track has been played. #312

Closed MarcoMadera closed 2 months ago

MarcoMadera commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Plays some music with a track in queue or a playlist
  2. Wait until the song ends, and next track is playing.
  3. Try to click in any time the progress bar and listen the music is not changing.
  4. See auto play failed error

Expected behavior A clear and concise description of what you expected to happen. I should be able to seek any time in music while playing.

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

MarcoMadera commented 6 months ago

Seems an issue with spotify sdk:

index.js:3  Uncaught (in promise) PlaybackError: The operation is not allowed.
at new t (index.js:3:339908)
at t.seek (index.js:3:364509)
at t._handleSeekCommand (index.js:33:34221)
at t._performCommand (index.js:33:33899)
at t._onMessage (index.js:33:25367)
at e.n (index.js:18:74588)
at e._dispatchFromStore (index.js:18:10052)
at Array.<anonymous> (index.js:18:11653)
at o (index.js:18:7851)
at r (index.js:18:8295)

disallow_seeking_reasons

Playback state returning restrictions.disallow_seeking_reasons = "unknown_reason"

SP_PLAYBACK_RESTRICTION_UNKNOWN

Related: Can't seek position of next track with the SKD player (autoplay)

MarcoMadera commented 2 months ago

Closing as it was fixed in the new version