[GH-ISSUE #1214] Track not available on librespot 0.4.2 #560

Closed
opened 2026-02-27 19:31:17 +03:00 by kerem · 6 comments
Owner

Originally created by @AndyFx12 on GitHub (Oct 27, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1214

Describe the bug
Some tracks can´t be played by librespot 0.4.2

To reproduce
Steps to reproduce the behavior:

  1. Launch librespot as speaker
  2. play track https://open.spotify.com/intl-de/track/78l28Qh5KPffobDRRmEOTl
    -> Nothing will be played.

Log
[2023-10-28T06:01:03Z DEBUG librespot_connect::spirc] Frame has 1 tracks [2023-10-28T06:01:03Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:03Z DEBUG librespot_playback::player] command=SetAutoNormaliseAsAlbum(true) [2023-10-28T06:01:03Z DEBUG librespot_playback::player] command=Load(SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }, false, 3588) [2023-10-28T06:01:03Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:04Z DEBUG librespot_connect::spirc] kMessageTypeNotify "andy-mint" 702b7bad5d461af7a9573506f3b81ef4e124f7e4 1960782455 1698472863585 kPlayStatusPause [2023-10-28T06:01:04Z WARN librespot_playback::player] <spotify:track:78l28Qh5KPffobDRRmEOTl> is not available [2023-10-28T06:01:04Z WARN librespot_playback::player] Skipping to next track, unable to load track <SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }>: () [2023-10-28T06:01:04Z DEBUG librespot_connect::spirc] At track 2 of 1 <"spotify:album:40ults6w02vFoDQft1AVoI"> update [true] [2023-10-28T06:01:04Z DEBUG librespot_connect::spirc] Looping around back to start, repeat is false [2023-10-28T06:01:04Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:04Z DEBUG librespot_playback::player] command=Load(SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }, false, 0) [2023-10-28T06:01:04Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:04Z DEBUG librespot_core::mercury] unknown subscription uri=social-connect/v2/session_update [2023-10-28T06:01:05Z WARN librespot_playback::player] <spotify:track:78l28Qh5KPffobDRRmEOTl> is not available [2023-10-28T06:01:05Z WARN librespot_playback::player] Skipping to next track, unable to load track <SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }>: ()

Host (what you are running librespot on):

  • OS: Linux Mint
  • Platform: PC AMD64

Additional context
Tried with rAudio and spotifyd on ArchLinux, RPi-3B, too. Same behaviour.

regards, Andy

Originally created by @AndyFx12 on GitHub (Oct 27, 2023). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1214 **Describe the bug** Some tracks can´t be played by librespot 0.4.2 **To reproduce** Steps to reproduce the behavior: 1. Launch librespot as speaker 2. play track https://open.spotify.com/intl-de/track/78l28Qh5KPffobDRRmEOTl -> Nothing will be played. **Log** `[2023-10-28T06:01:03Z DEBUG librespot_connect::spirc] Frame has 1 tracks [2023-10-28T06:01:03Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:03Z DEBUG librespot_playback::player] command=SetAutoNormaliseAsAlbum(true) [2023-10-28T06:01:03Z DEBUG librespot_playback::player] command=Load(SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }, false, 3588) [2023-10-28T06:01:03Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:04Z DEBUG librespot_connect::spirc] kMessageTypeNotify "andy-mint" 702b7bad5d461af7a9573506f3b81ef4e124f7e4 1960782455 1698472863585 kPlayStatusPause [2023-10-28T06:01:04Z WARN librespot_playback::player] <spotify:track:78l28Qh5KPffobDRRmEOTl> is not available [2023-10-28T06:01:04Z WARN librespot_playback::player] Skipping to next track, unable to load track <SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }>: () [2023-10-28T06:01:04Z DEBUG librespot_connect::spirc] At track 2 of 1 <"spotify:album:40ults6w02vFoDQft1AVoI"> update [true] [2023-10-28T06:01:04Z DEBUG librespot_connect::spirc] Looping around back to start, repeat is false [2023-10-28T06:01:04Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:04Z DEBUG librespot_playback::player] command=Load(SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }, false, 0) [2023-10-28T06:01:04Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPause] [2023-10-28T06:01:04Z DEBUG librespot_core::mercury] unknown subscription uri=social-connect/v2/session_update [2023-10-28T06:01:05Z WARN librespot_playback::player] <spotify:track:78l28Qh5KPffobDRRmEOTl> is not available [2023-10-28T06:01:05Z WARN librespot_playback::player] Skipping to next track, unable to load track <SpotifyId { id: 311594141766050084648485189939730500207, audio_type: Track }>: ()` **Host (what you are running `librespot` on):** - OS: Linux Mint - Platform: PC AMD64 **Additional context** Tried with rAudio and spotifyd on ArchLinux, RPi-3B, too. Same behaviour. regards, Andy
kerem 2026-02-27 19:31:17 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@kingosticks commented on GitHub (Oct 27, 2023):

Log
A full log so we may trace your problem (launch librespot with --verbose). Format the log as code.

We need this bit. Especially the version. Reproducing problems in other programs using the librespot library is a lot more effort.

<!-- gh-comment-id:1783208376 --> @kingosticks commented on GitHub (Oct 27, 2023): > **Log** A full log so we may trace your problem (launch `librespot` with `--verbose`). Format the log as code. We need this bit. Especially the version. Reproducing problems in other programs using the librespot library is a lot more effort.
Author
Owner

@kingosticks commented on GitHub (Oct 27, 2023):

play track https://open.spotify.com/intl-de/album/40ults6w02vFoDQft1AVoI?si=lJizSJvATrqofxSRprXXQg

Also, that's not a track. That is an album. Can you play the actual track https://open.spotify.com/track/78l28Qh5KPffobDRRmEOTl ?

<!-- gh-comment-id:1783212027 --> @kingosticks commented on GitHub (Oct 27, 2023): > play track https://open.spotify.com/intl-de/album/40ults6w02vFoDQft1AVoI?si=lJizSJvATrqofxSRprXXQg Also, that's not a track. That is an album. Can you play the actual track https://open.spotify.com/track/78l28Qh5KPffobDRRmEOTl ?
Author
Owner

@AndyFx12 commented on GitHub (Oct 28, 2023):

I've updated first post - even "plain" librespot don't play some songs (rare).
Of course I meant this example-track: https://open.spotify.com/intl-de/track/78l28Qh5KPffobDRRmEOTl?si=6c15afad74334e74
Logfile:
librespot.log

<!-- gh-comment-id:1783718049 --> @AndyFx12 commented on GitHub (Oct 28, 2023): I've updated first post - even "plain" librespot don't play some songs (rare). Of course I meant this example-track: https://open.spotify.com/intl-de/track/78l28Qh5KPffobDRRmEOTl?si=6c15afad74334e74 Logfile: [librespot.log](https://github.com/librespot-org/librespot/files/13194647/librespot.log)
Author
Owner

@kingosticks commented on GitHub (Oct 28, 2023):

Great. And just to check, do they play in the official client in your region?

<!-- gh-comment-id:1783743919 --> @kingosticks commented on GitHub (Oct 28, 2023): Great. And just to check, do they play in the official client in your region?
Author
Owner

@AndyFx12 commented on GitHub (Oct 28, 2023):

Yes. Official client plays them fine.

<!-- gh-comment-id:1783792494 --> @AndyFx12 commented on GitHub (Oct 28, 2023): Yes. Official client plays them fine.
Author
Owner

@AndyFx12 commented on GitHub (Oct 29, 2023):

Surprisingly, track plays fine, now. Without any changes on my system it works as expected. strange

<!-- gh-comment-id:1784157847 --> @AndyFx12 commented on GitHub (Oct 29, 2023): Surprisingly, track plays fine, now. Without any changes on my system it works as expected. *strange*
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/librespot#560
No description provided.