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

Fail to play 96kbps #1433

Open
fivebanger opened this issue Dec 31, 2024 · 0 comments · May be fixed by #1434
Open

Fail to play 96kbps #1433

fivebanger opened this issue Dec 31, 2024 · 0 comments · May be fixed by #1434
Labels

Comments

@fivebanger
Copy link
Contributor

fivebanger commented Dec 31, 2024

As already discussed in #1236 (comment), librespot fails to play certain Podcasts and fails to play when starting with 96kbps explicitely.

Play Podcast Schenken - Die Geschichte des Gebens und Nehmens:

$ ./librespot

[2024-12-31T11:05:00Z INFO  librespot_playback::player] Loading <Schenken - Die Geschichte des Gebens und Nehmens> with Spotify URI <spotify:episode:7CDoCFJUAnwOLPVieM1Us0>
[2024-12-31T11:05:00Z WARN  librespot_core::dealer] No subscriber for msg.uri: social-connect/v2/broadcast_status_update
[2024-12-31T11:05:00Z INFO  librespot_connect::spirc] session update: <Ok(NEW_SESSION)> for self, current session_id d7bce4c3848be90a790c7573ed1bfd22, new session_id caf362f26980c7462acc2919b6c9a440
[2024-12-31T11:05:00Z ERROR librespot_core::audio_key] error audio key 0 1
[2024-12-31T11:05:00Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Service unavailable { audio key error }

Start librespot with 96kbps:

$ ./librespot --bitrate 96

[2024-12-31T11:08:00Z INFO  librespot_playback::player] Loading <Hey Dude> with Spotify URI <spotify:track:7jNjrIgYfZUPj6EVi8PL5s>
[2024-12-31T11:08:00Z INFO  librespot_connect::spirc] Not playing next track because there are no more tracks left in queue.
[2024-12-31T11:08:00Z ERROR librespot_core::audio_key] error audio key 0 1
[2024-12-31T11:08:00Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Service unavailable { audio key error }
[2024-12-31T11:08:03Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: end of stream
[2024-12-31T11:08:09Z INFO  librespot_playback::player] Loading <Hey Dude> with Spotify URI <spotify:track:7jNjrIgYfZUPj6EVi8PL5s>
[2024-12-31T11:08:09Z ERROR librespot_core::audio_key] error audio key 0 1
[2024-12-31T11:08:09Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Service unavailable { audio key error }
[2024-12-31T11:08:12Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: end of stream
[2024-12-31T11:08:12Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:7jNjrIgYfZUPj6EVi8PL5s")>: ()

Original PR fixes the issues mentioned above.

@fivebanger fivebanger added the bug label Dec 31, 2024
@fivebanger fivebanger linked a pull request Dec 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant