[GH-ISSUE #250] Can not play some songs #179

Open
opened 2026-02-28 14:31:10 +03:00 by kerem · 13 comments
Owner

Originally created by @maffelbaffel on GitHub (Jan 8, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/250

Describe the bug
I've got some songs in my playlist that can not be played. Not sure if its specific to a song or what causes this issue.
Removing ~/.cache/Psst did not help.

2022-01-08T08:37:08Z INFO  psst_gui::data::config] loading config: "/home/michael/.config/Psst/config.json"
[2022-01-08T08:37:08Z ERROR psst_gui::webapi::client] failed to read local tracks: No such file or directory (os error 2)
[2022-01-08T08:37:08Z INFO  psst_core::audio::output] using audio device: "default"
[2022-01-08T08:37:08Z INFO  psst_core::cache] using cache: "/home/michael/.cache/Psst"
[2022-01-08T08:37:08Z INFO  psst_core::audio::output] opening output stream: StreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Default }
[2022-01-08T08:37:08Z INFO  psst_gui::data::config] saved config: "/home/michael/.config/Psst/config.json"
[2022-01-08T08:37:08Z INFO  psst_core::session::access_token] access token expired, requesting
[2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:37:10Z ERROR psst_core::player] stopping, error while loading: Audio file not found
[2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:37:10Z ERROR psst_core::player] stopping, error while loading: Audio file not found
[2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:38:14Z ERROR psst_core::player] stopping, error while loading: Audio file not found
[2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2022-01-08T08:38:14Z ERROR psst_core::player] stopping, error while loading: Audio file not found

Environment

  • OS: Ubuntu 21.04
  • Version: Psst compiled from 265d8914d2
Originally created by @maffelbaffel on GitHub (Jan 8, 2022). Original GitHub issue: https://github.com/jpochyla/psst/issues/250 **Describe the bug** I've got some songs in my playlist that can not be played. Not sure if its specific to a song or what causes this issue. Removing `~/.cache/Psst` did not help. ``` 2022-01-08T08:37:08Z INFO psst_gui::data::config] loading config: "/home/michael/.config/Psst/config.json" [2022-01-08T08:37:08Z ERROR psst_gui::webapi::client] failed to read local tracks: No such file or directory (os error 2) [2022-01-08T08:37:08Z INFO psst_core::audio::output] using audio device: "default" [2022-01-08T08:37:08Z INFO psst_core::cache] using cache: "/home/michael/.cache/Psst" [2022-01-08T08:37:08Z INFO psst_core::audio::output] opening output stream: StreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Default } [2022-01-08T08:37:08Z INFO psst_gui::data::config] saved config: "/home/michael/.config/Psst/config.json" [2022-01-08T08:37:08Z INFO psst_core::session::access_token] access token expired, requesting [2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:37:10Z ERROR psst_core::player] stopping, error while loading: Audio file not found [2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:37:10Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:37:10Z ERROR psst_core::player] stopping, error while loading: Audio file not found [2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:38:14Z ERROR psst_core::player] stopping, error while loading: Audio file not found [2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:38:14Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2022-01-08T08:38:14Z ERROR psst_core::player] stopping, error while loading: Audio file not found ``` **Environment** - OS: Ubuntu 21.04 - Version: Psst compiled from 265d8914d235d7d14730f5746ea4f7817fe972ec
Author
Owner

@jpochyla commented on GitHub (Jan 8, 2022):

This is most probably caused by non-Vorbis audio files. MP3 playback is not supported yet.

<!-- gh-comment-id:1008135364 --> @jpochyla commented on GitHub (Jan 8, 2022): This is most probably caused by non-Vorbis audio files. MP3 playback is not supported yet.
Author
Owner

@roderickvd commented on GitHub (Jan 8, 2022):

Which track is this? I'd like to test MP3 support in the latest librespot.

<!-- gh-comment-id:1008150041 --> @roderickvd commented on GitHub (Jan 8, 2022): Which track is this? I'd like to test MP3 support in the latest `librespot`.
Author
Owner

@jpochyla commented on GitHub (Jan 9, 2022):

I've added untested MP3 playback support in ace3ca1, but the track ID would help @maffelbaffel!

<!-- gh-comment-id:1008336434 --> @jpochyla commented on GitHub (Jan 9, 2022): I've added untested MP3 playback support in ace3ca1, but the track ID would help @maffelbaffel!
Author
Owner

@maffelbaffel commented on GitHub (Jan 9, 2022):

Uff can't seem to find the track anymore as it was in a Discover Weekly playlist which got rotated.
I won't pull and compile and come back to you if I get the issue again. Thank you!

<!-- gh-comment-id:1008339824 --> @maffelbaffel commented on GitHub (Jan 9, 2022): Uff can't seem to find the track anymore as it was in a Discover Weekly playlist which got rotated. I won't pull and compile and come back to you if I get the issue again. Thank you!
Author
Owner

@maffelbaffel commented on GitHub (Jan 11, 2022):

Found a song which can not be played: https://open.spotify.com/track/4pXG8Q82L8WvypAm5Wo86y
Experimental mp3 fix also does not seem to fix the issue.

Edit:
Searching for that song using the search input does indeed play that song. It just does not work when playing from the Release Radar playlist. Weird.

Edit 2:
After removing the .cache/Psst directory I am now also able to play the song from the Release Radar playlist. Not sure why that did not work last time I tried.

<!-- gh-comment-id:1009837498 --> @maffelbaffel commented on GitHub (Jan 11, 2022): Found a song which can not be played: https://open.spotify.com/track/4pXG8Q82L8WvypAm5Wo86y Experimental mp3 fix also does not seem to fix the issue. Edit: Searching for that song using the search input does indeed play that song. It just does not work when playing from the Release Radar playlist. Weird. Edit 2: After removing the .cache/Psst directory I am now also able to play the song from the Release Radar playlist. Not sure why that did not work last time I tried.
Author
Owner

@maffelbaffel commented on GitHub (Jan 30, 2022):

Keep running into this issue. Maybe this helps, the following is logged when a song can not be played:

Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO  psst_core::player::file] blocked at 6144
Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO  psst_core::player::file] blocked at 16528
Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO  psst_core::player::file] blocked at 38332
Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO  psst_core::player::file] blocked at 54716
<!-- gh-comment-id:1025117018 --> @maffelbaffel commented on GitHub (Jan 30, 2022): Keep running into this issue. Maybe this helps, the following is logged when a song can not be played: ``` Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO psst_core::player::file] blocked at 6144 Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO psst_core::player::file] blocked at 16528 Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO psst_core::player::file] blocked at 38332 Jan 30 11:50:21 michael-XPS-15-9510 psst.desktop[23075]: [2022-01-30T10:50:21Z INFO psst_core::player::file] blocked at 54716 ```
Author
Owner

@HookedBehemoth commented on GitHub (Mar 25, 2022):

Getting this issue with this newly released album
E.g. this song: https://open.spotify.com/track/20pp47ZnD7H98mqAZhlS8Z
Songs released as singles previously work fine.

Built from master just now and the issue persists.

<!-- gh-comment-id:1079078462 --> @HookedBehemoth commented on GitHub (Mar 25, 2022): Getting this issue with this newly released [album](https://open.spotify.com/album/3mebR1rG8L34EOFaw3zRCz) E.g. this song: https://open.spotify.com/track/20pp47ZnD7H98mqAZhlS8Z Songs released as singles previously work fine. Built from master just now and the issue persists.
Author
Owner

@arch-btw commented on GitHub (Feb 18, 2023):

I've been trying to debug this issue.

It seems that newly released tracks face this error and deleting ~/.cache/psst doesn't help unless the song is about 2-3 weeks old. So after that time period, deleting ~/.cache/psst makes the track play.

Maybe it gets moved to a different CDN after 2-3 weeks?

Example: https://open.spotify.com/track/0GfCR4T6WOErZOw1557ln7

<!-- gh-comment-id:1435478756 --> @arch-btw commented on GitHub (Feb 18, 2023): I've been trying to debug this issue. It seems that newly released tracks face this error and deleting ~/.cache/psst doesn't help **unless** the song is about 2-3 weeks old. So after that time period, deleting ~/.cache/psst makes the track play. Maybe it gets moved to a different CDN after 2-3 weeks? Example: https://open.spotify.com/track/0GfCR4T6WOErZOw1557ln7
Author
Owner

@DaftVadeR commented on GitHub (Sep 1, 2023):

Also getting this issue - an example of a track I can't play presently is https://open.spotify.com/track/2SaB1ED5tbeJp4YaBdl7Yz. It happens a lot in the Release Radar playlist, affecting maybe 30-40% of it, possibly due to what @arch-btw said about it happening with newer tracks. Loving the app otherwise 💪

<!-- gh-comment-id:1702768053 --> @DaftVadeR commented on GitHub (Sep 1, 2023): Also getting this issue - an example of a track I can't play presently is https://open.spotify.com/track/2SaB1ED5tbeJp4YaBdl7Yz. It happens a lot in the Release Radar playlist, affecting maybe 30-40% of it, possibly due to what @arch-btw said about it happening with newer tracks. Loving the app otherwise 💪
Author
Owner

@SO9010 commented on GitHub (Jan 30, 2025):

@jacksongoode I wander if #546 has solved this? I cant replicate. But if @arch-btw is correct this corresponds to the issue #536 but it could also possibly be related to #521 ?

<!-- gh-comment-id:2624290494 --> @SO9010 commented on GitHub (Jan 30, 2025): @jacksongoode I wander if #546 has solved this? I cant replicate. But if @arch-btw is correct this corresponds to the issue #536 but it could also possibly be related to #521 ?
Author
Owner

@arch-btw commented on GitHub (Feb 1, 2025):

Hi @SO9010 , I will check to see if it works later today, thank you for tagging me. It's usually songs that have been released for only ~1 week. It used to be longer. But like you said, it might be fixed, I'll take a look!

<!-- gh-comment-id:2628927383 --> @arch-btw commented on GitHub (Feb 1, 2025): Hi @SO9010 , I will check to see if it works later today, thank you for tagging me. It's usually songs that have been released for only ~1 week. It used to be longer. But like you said, it might be fixed, I'll take a look!
Author
Owner

@SO9010 commented on GitHub (Feb 13, 2025):

Ok so this is still an issue, thank you @arch-btw for the information for them having to be very new, this song doesn't work: https://open.spotify.com/track/0SWmMEWdnwmKpZiRc9AGXU

<!-- gh-comment-id:2657529056 --> @SO9010 commented on GitHub (Feb 13, 2025): Ok so this is still an issue, thank you @arch-btw for the information for them having to be very new, this song doesn't work: https://open.spotify.com/track/0SWmMEWdnwmKpZiRc9AGXU
Author
Owner

@johhnry commented on GitHub (Jul 24, 2025):

Hi, I'm having the same issue with this podcast episode : https://open.spotify.com/episode/6RNrF6zXRbunkhgrdmDszl

Isn't it ?

<!-- gh-comment-id:3113683595 --> @johhnry commented on GitHub (Jul 24, 2025): Hi, I'm having the same issue with this podcast episode : https://open.spotify.com/episode/6RNrF6zXRbunkhgrdmDszl Isn't it ?
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/psst#179
No description provided.