[GH-ISSUE #796] Sound doesn't work on Arch #469

Closed
opened 2026-03-02 23:47:44 +03:00 by kerem · 37 comments
Owner

Originally created by @Asier-J on GitHub (Aug 6, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/796

Describe the bug
When trying to play a song, the audio doesn't work at all. Doesn't matter if I play it from the terminal or if I conenct it from the smartphone.

To Reproduce
Download spotify-player
Log into spotify
Try to play any song

Expected behaviour
Sound should play when playing the song

Log and backtrace
I believe this part of the log highlights the error. In case I missed it, the log is attached here.

"librespot_playback::player: Unable to load audio item: Error { kind: Unavailable, error: StatusCode(500) }
2025-08-06T16:33:19.651194Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:3Jnxngdff0lVu2rza1GVx6")>: ()
2025-08-06T16:33:19.770018Z INFO client_request{request=Player(Volume(90))}: spotify_player::client: Successfully handled the client request, took: 82ms
2025-08-06T16:33:19.904370Z INFO client_request{request=Player(Volume(95))}: spotify_player::client: Successfully handled the client request, took: 73ms
2025-08-06T16:33:19.951211Z ERROR librespot_playback::player: Track should be available, but no alternatives found.
2025-08-06T16:33:19.951243Z WARN librespot_playback::player: spotify:track:7GkM8M2EC8OJblOxQxAR7t is not available"

Screenshots
Not useful
Environment

  • OS: Arch Linux
  • Application version: spotify_player 0.20.7
  • Application features: I built it with pacman

Additional context
Add any other context about the problem here.

Originally created by @Asier-J on GitHub (Aug 6, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/796 **Describe the bug** When trying to play a song, the audio doesn't work at all. Doesn't matter if I play it from the terminal or if I conenct it from the smartphone. **To Reproduce** Download spotify-player Log into spotify Try to play any song **Expected behaviour** Sound should play when playing the song **Log and backtrace** I believe this part of the log highlights the error. In case I missed it, the log is attached [here](https://github.com/user-attachments/files/21624007/spotify-player-25-08-06-18-33.log). "librespot_playback::player: Unable to load audio item: Error { kind: Unavailable, error: StatusCode(500) } 2025-08-06T16:33:19.651194Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:3Jnxngdff0lVu2rza1GVx6")>: () 2025-08-06T16:33:19.770018Z INFO client_request{request=Player(Volume(90))}: spotify_player::client: Successfully handled the client request, took: 82ms 2025-08-06T16:33:19.904370Z INFO client_request{request=Player(Volume(95))}: spotify_player::client: Successfully handled the client request, took: 73ms 2025-08-06T16:33:19.951211Z ERROR librespot_playback::player: Track should be available, but no alternatives found. 2025-08-06T16:33:19.951243Z WARN librespot_playback::player: <spotify:track:7GkM8M2EC8OJblOxQxAR7t> is not available" **Screenshots** Not useful **Environment** - OS: Arch Linux - Application version: spotify_player 0.20.7 - Application features: I built it with pacman **Additional context** Add any other context about the problem here.
kerem 2026-03-02 23:47:44 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Aug 6, 2025):

Does this happen to just a specific song or all songs?

Edit: I'm also encountering the same issue now. It used to work yesterday, so not sure what has been changed 🤔

<!-- gh-comment-id:3160920708 --> @aome510 commented on GitHub (Aug 6, 2025): Does this happen to just a specific song or all songs? **Edit**: I'm also encountering the same issue now. It used to work yesterday, so not sure what has been changed 🤔
Author
Owner

@martiinii commented on GitHub (Aug 6, 2025):

@aome510 I thought I went crazy, same thing on my end - worked yesterday, updated system today and sound is gone

<!-- gh-comment-id:3160944463 --> @martiinii commented on GitHub (Aug 6, 2025): @aome510 I thought I went crazy, same thing on my end - worked yesterday, updated system today and sound is gone
Author
Owner

@aome510 commented on GitHub (Aug 6, 2025):

Might be related:

Maybe you guys can try the hot fix posted by @KUHLwasStolen in https://github.com/aome510/spotify-player/issues/787#issuecomment-3145236812.

<!-- gh-comment-id:3160948331 --> @aome510 commented on GitHub (Aug 6, 2025): Might be related: * https://github.com/aome510/spotify-player/issues/787 * https://github.com/librespot-org/librespot/issues/1521 Maybe you guys can try the hot fix posted by @KUHLwasStolen in https://github.com/aome510/spotify-player/issues/787#issuecomment-3145236812.
Author
Owner

@QRCoding commented on GitHub (Aug 6, 2025):

Same for me, will try the hotfix now.

<!-- gh-comment-id:3160952285 --> @QRCoding commented on GitHub (Aug 6, 2025): Same for me, will try the hotfix now.
Author
Owner

@KUHLwasStolen commented on GitHub (Aug 6, 2025):

I don't think the hotfix works anymore.

Since a few hours I'm getting errors again, but different ones this time haha.

Edit: Judging from the log above you weren't affected by the original problem, which I fixed, but only by the new one.

<!-- gh-comment-id:3160976855 --> @KUHLwasStolen commented on GitHub (Aug 6, 2025): I don't think the hotfix works anymore. Since a few hours I'm getting errors again, but different ones this time haha. **Edit:** Judging from the log above you weren't affected by the original problem, which I fixed, but only by the new one.
Author
Owner

@aome510 commented on GitHub (Aug 6, 2025):

Thanks for confirming. It's 500 status so I guess the server for audio is having some issues now. In the past, these kind of server errors often cleared after a day or two for me. Will monitor the status for this one

<!-- gh-comment-id:3160987582 --> @aome510 commented on GitHub (Aug 6, 2025): Thanks for confirming. It's `500` status so I guess the server for audio is having some issues now. In the past, these kind of server errors often cleared after a day or two for me. Will monitor the status for this one
Author
Owner

@martiinii commented on GitHub (Aug 6, 2025):

Yeah, hotfix doesn't work anymore
Logs from release:

2025-08-06T17:47:06.049372Z  INFO spotify_player::client: Connection succeeded (device_id=7f84613e-d192-4790-aad6-87814eefa42a)!
2025-08-06T17:47:06.109112Z ERROR librespot_playback::player: Track should be available, but no alternatives found.    
2025-08-06T17:47:06.109475Z  WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available    
2025-08-06T17:47:06.109556Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: ()    
2025-08-06T17:47:06.491741Z  INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA">    
2025-08-06T17:47:06.558218Z ERROR librespot_playback::player: Track should be available, but no alternatives found.    
2025-08-06T17:47:06.558279Z  WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available    
2025-08-06T17:47:06.558470Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: ()    
2025-08-06T17:47:06.894794Z  INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA">    
2025-08-06T17:47:07.046028Z  INFO librespot_core::spclient: Resolved "guc3-spclient.spotify.com:443" as spclient access point    
2025-08-06T17:47:07.528232Z  INFO librespot_core::spclient: Resolved "gew1-spclient.spotify.com:443" as spclient access point    
2025-08-06T17:47:07.880404Z  INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 3189ms
2025-08-06T17:47:07.928226Z  INFO librespot_core::spclient: Resolved "gae2-spclient.spotify.com:443" as spclient access point    
2025-08-06T17:47:08.169889Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 282ms
2025-08-06T17:47:08.252770Z ERROR librespot_playback::player: Unable to load audio item: Error { kind: Unavailable, error: StatusCode(500) }    

Logs from hotfix:

2025-08-06T17:54:44.409804Z  INFO spotify_player::client: Connection succeeded (device_id=4a10eed8-309e-4f64-b538-3ee715b0c08a)!
2025-08-06T17:54:44.445425Z ERROR librespot_playback::player: Track should be available, but no alternatives found.    
2025-08-06T17:54:44.445453Z  WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available    
2025-08-06T17:54:44.445523Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: ()    
2025-08-06T17:54:44.751524Z  INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA">    
2025-08-06T17:54:44.794406Z ERROR librespot_playback::player: Track should be available, but no alternatives found.    
2025-08-06T17:54:44.794452Z  WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available    
2025-08-06T17:54:44.794521Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: ()    
2025-08-06T17:54:45.161316Z  INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA">    
2025-08-06T17:54:45.759397Z  INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 2736ms
2025-08-06T17:54:46.266498Z  INFO librespot_core::spclient: Resolved "guc3-spclient.spotify.com:443" as spclient access point    
2025-08-06T17:54:46.274945Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 248ms
2025-08-06T17:54:46.769964Z  INFO librespot_core::spclient: Resolved "gue1-spclient.spotify.com:443" as spclient access point    
2025-08-06T17:54:47.494517Z  INFO librespot_core::spclient: Resolved "gew1-spclient.spotify.com:443" as spclient access point    
2025-08-06T17:54:47.575488Z ERROR librespot_playback::player: Unable to load audio item: Error { kind: Unavailable, error: StatusCode(500) }    
<!-- gh-comment-id:3161062829 --> @martiinii commented on GitHub (Aug 6, 2025): Yeah, hotfix doesn't work anymore Logs from release: ``` 2025-08-06T17:47:06.049372Z INFO spotify_player::client: Connection succeeded (device_id=7f84613e-d192-4790-aad6-87814eefa42a)! 2025-08-06T17:47:06.109112Z ERROR librespot_playback::player: Track should be available, but no alternatives found. 2025-08-06T17:47:06.109475Z WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available 2025-08-06T17:47:06.109556Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: () 2025-08-06T17:47:06.491741Z INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA"> 2025-08-06T17:47:06.558218Z ERROR librespot_playback::player: Track should be available, but no alternatives found. 2025-08-06T17:47:06.558279Z WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available 2025-08-06T17:47:06.558470Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: () 2025-08-06T17:47:06.894794Z INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA"> 2025-08-06T17:47:07.046028Z INFO librespot_core::spclient: Resolved "guc3-spclient.spotify.com:443" as spclient access point 2025-08-06T17:47:07.528232Z INFO librespot_core::spclient: Resolved "gew1-spclient.spotify.com:443" as spclient access point 2025-08-06T17:47:07.880404Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 3189ms 2025-08-06T17:47:07.928226Z INFO librespot_core::spclient: Resolved "gae2-spclient.spotify.com:443" as spclient access point 2025-08-06T17:47:08.169889Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 282ms 2025-08-06T17:47:08.252770Z ERROR librespot_playback::player: Unable to load audio item: Error { kind: Unavailable, error: StatusCode(500) } ``` Logs from hotfix: ``` 2025-08-06T17:54:44.409804Z INFO spotify_player::client: Connection succeeded (device_id=4a10eed8-309e-4f64-b538-3ee715b0c08a)! 2025-08-06T17:54:44.445425Z ERROR librespot_playback::player: Track should be available, but no alternatives found. 2025-08-06T17:54:44.445453Z WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available 2025-08-06T17:54:44.445523Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: () 2025-08-06T17:54:44.751524Z INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA"> 2025-08-06T17:54:44.794406Z ERROR librespot_playback::player: Track should be available, but no alternatives found. 2025-08-06T17:54:44.794452Z WARN librespot_playback::player: <spotify:track:2U7svZUGvR4tfKdyxv9mXu> is not available 2025-08-06T17:54:44.794521Z ERROR librespot_playback::player: Skipping to next track, unable to load track <SpotifyId("spotify:track:2U7svZUGvR4tfKdyxv9mXu")>: () 2025-08-06T17:54:45.161316Z INFO librespot_connect::spirc: Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E35skHiXzhCnA"> 2025-08-06T17:54:45.759397Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 2736ms 2025-08-06T17:54:46.266498Z INFO librespot_core::spclient: Resolved "guc3-spclient.spotify.com:443" as spclient access point 2025-08-06T17:54:46.274945Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 248ms 2025-08-06T17:54:46.769964Z INFO librespot_core::spclient: Resolved "gue1-spclient.spotify.com:443" as spclient access point 2025-08-06T17:54:47.494517Z INFO librespot_core::spclient: Resolved "gew1-spclient.spotify.com:443" as spclient access point 2025-08-06T17:54:47.575488Z ERROR librespot_playback::player: Unable to load audio item: Error { kind: Unavailable, error: StatusCode(500) } ```
Author
Owner

@KUHLwasStolen commented on GitHub (Aug 6, 2025):

More info here https://github.com/librespot-org/librespot/issues/1527

Apparently Spotify deprecated some ad-API (which isn't used by librespot btw) and borked something along the way.

I'll keep using my hotfix and will inform y'all if something changes.

<!-- gh-comment-id:3161138333 --> @KUHLwasStolen commented on GitHub (Aug 6, 2025): More info here https://github.com/librespot-org/librespot/issues/1527 Apparently Spotify deprecated some ad-API (which isn't used by librespot btw) and borked something along the way. I'll keep using my hotfix and will inform y'all if something changes.
Author
Owner

@ashes00 commented on GitHub (Aug 6, 2025):

Sounds also does not work on Linux Mint 22.1

<!-- gh-comment-id:3161480808 --> @ashes00 commented on GitHub (Aug 6, 2025): Sounds also does not work on Linux Mint 22.1
Author
Owner

@Asier-J commented on GitHub (Aug 6, 2025):

Thanks for answering! I hope it clears in a few days, I use this daily.

<!-- gh-comment-id:3161600908 --> @Asier-J commented on GitHub (Aug 6, 2025): Thanks for answering! I hope it clears in a few days, I use this daily.
Author
Owner

@Lokendra2244 commented on GitHub (Aug 6, 2025):

Same situation arch linux. Just installed the client to try out and this🙁🙁.

<!-- gh-comment-id:3161725521 --> @Lokendra2244 commented on GitHub (Aug 6, 2025): Same situation arch linux. Just installed the client to try out and this🙁🙁.
Author
Owner

@krishna4040 commented on GitHub (Aug 6, 2025):

yes, i also faced the same issue, it worked till yesterday but stopped working today!

<!-- gh-comment-id:3161784443 --> @krishna4040 commented on GitHub (Aug 6, 2025): yes, i also faced the same issue, it worked till yesterday but stopped working today!
Author
Owner

@zahirmelian commented on GitHub (Aug 6, 2025):

Im not using arch but I have the same issue, no sound at all. How do i install/get the hotfix? thanks !

<!-- gh-comment-id:3161806432 --> @zahirmelian commented on GitHub (Aug 6, 2025): Im not using arch but I have the same issue, no sound at all. How do i install/get the hotfix? thanks !
Author
Owner

@ja-mf commented on GitHub (Aug 6, 2025):

same, was working this morning, no sound anymore, ubuntu 24.04 cargo build.

<!-- gh-comment-id:3161840468 --> @ja-mf commented on GitHub (Aug 6, 2025): same, was working this morning, no sound anymore, ubuntu 24.04 cargo build.
Author
Owner

@variegatedcat commented on GitHub (Aug 6, 2025):

broke this, and also seemed to break spotifyd

<!-- gh-comment-id:3161933201 --> @variegatedcat commented on GitHub (Aug 6, 2025): broke this, and also seemed to break spotifyd
Author
Owner

@mitchell-lng commented on GitHub (Aug 7, 2025):

Another workaround for the time being is to just leave the web player open, use the device tab to switch to the web player and the app can be used as normal.

<!-- gh-comment-id:3162032335 --> @mitchell-lng commented on GitHub (Aug 7, 2025): Another workaround for the time being is to just leave the web player open, use the device tab to switch to the web player and the app can be used as normal.
Author
Owner

@szaffarano commented on GitHub (Aug 7, 2025):

If any Nix user is facing this issue, here is an overlay built using a patched librespot, it's working on an unstable NixOS.

<!-- gh-comment-id:3162703413 --> @szaffarano commented on GitHub (Aug 7, 2025): If any Nix user is facing this issue, [here is](https://gist.github.com/szaffarano/455913d20dcb30b98802895037aee8fe#file-overlay-nix) an overlay built using a patched librespot, it's working on an unstable NixOS.
Author
Owner

@KUHLwasStolen commented on GitHub (Aug 7, 2025):

I also applied that patch from this comment https://github.com/librespot-org/librespot/issues/1527#issuecomment-3161397815 to my librespot hotfix, integrated it into my spotify-player hotfix and now it works again.

You can find it here https://github.com/KUHLwasStolen/spotify-player/tree/librespot-temporary-hotfix

Im not using arch but I have the same issue, no sound at all. How do i install/get the hotfix? thanks !

git clone https://github.com/KUHLwasStolen/spotify-player.git
cd spotify-player
git checkout librespot-temporary-hotfix
cargo install --path spotify_player/ --no-default-features --features [whatever features you need]

# features I used on arch
cargo install --path spotify_player/ --no-default-features --features pulseaudio-backend,pixelate,streaming,media-control

If you previously didn't install spotify-player via cargo make sure to remove it first.
Also make sure that your cargo binary directory is added to path so you can type spotify_player anywhere you like.

<!-- gh-comment-id:3162984574 --> @KUHLwasStolen commented on GitHub (Aug 7, 2025): I also applied that patch from this comment https://github.com/librespot-org/librespot/issues/1527#issuecomment-3161397815 to my librespot hotfix, integrated it into my spotify-player hotfix and now it works again. You can find it here https://github.com/KUHLwasStolen/spotify-player/tree/librespot-temporary-hotfix > Im not using arch but I have the same issue, no sound at all. How do i install/get the hotfix? thanks ! ```shell git clone https://github.com/KUHLwasStolen/spotify-player.git cd spotify-player git checkout librespot-temporary-hotfix cargo install --path spotify_player/ --no-default-features --features [whatever features you need] # features I used on arch cargo install --path spotify_player/ --no-default-features --features pulseaudio-backend,pixelate,streaming,media-control ``` If you previously didn't install spotify-player via cargo make sure to remove it first. Also make sure that your cargo binary directory is added to path so you can type `spotify_player` anywhere you like.
Author
Owner

@Lokendra2244 commented on GitHub (Aug 7, 2025):

I also applied that patch from this comment librespot-org/librespot#1527 (comment) to my librespot hotfix, integrated it into my spotify-player hotfix and now it works again.

You can find it here https://github.com/KUHLwasStolen/spotify-player/tree/librespot-temporary-hotfix

Im not using arch but I have the same issue, no sound at all. How do i install/get the hotfix? thanks !

git clone https://github.com/KUHLwasStolen/spotify-player.git
cd spotify-player
git checkout librespot-temporary-hotfix
cargo install --path spotify_player/ --no-default-features --features [whatever features you need]

features I used on arch

cargo install --path spotify_player/ --no-default-features --features pulseaudio-backend,pixelate,streaming,media-control
If you previously didn't install spotify-player via cargo make sure to remove it first. Also make sure that your cargo binary directory is added to path so you can type spotify_player anywhere you like.

Its working but the only issue I'm facing is that it is taking upto 5mins to open. Here's the log as you can see it was trying to connect at 14 21 and connect conneceted at 14 26. And oner more thing is that I'm from india so maybe that could be a reason as well. as it connectedd to some 443 AP but now if I've to correct this where I should changing it?

2025-08-07T14:21:50.633479Z INFO spotify_player: Configurations: Configs { app_config: AppConfig { theme: "dracula", client_id: "65b708073fc0480ea92a077233ca87bd", client_id_command: None, client_port: 8080, log>
2025-08-07T14:21:50.634515Z INFO spotify_player::state::data: Loading Playlists data from /home/AMBHI/.cache/spotify-player/Playlists_cache.json...
2025-08-07T14:21:50.635685Z INFO spotify_player::state::data: Successfully loaded Playlists data!
2025-08-07T14:21:50.635705Z INFO spotify_player::state::data: Loading FollowedArtists data from /home/AMBHI/.cache/spotify-player/FollowedArtists_cache.json...
2025-08-07T14:21:50.636132Z INFO spotify_player::state::data: Successfully loaded FollowedArtists data!
2025-08-07T14:21:50.636143Z INFO spotify_player::state::data: Loading SavedShows data from /home/AMBHI/.cache/spotify-player/SavedShows_cache.json...
2025-08-07T14:21:50.636400Z INFO spotify_player::state::data: Successfully loaded SavedShows data!
2025-08-07T14:21:50.636439Z INFO spotify_player::state::data: Loading SavedAlbums data from /home/AMBHI/.cache/spotify-player/SavedAlbums_cache.json...
2025-08-07T14:21:50.636817Z INFO spotify_player::state::data: Successfully loaded SavedAlbums data!
2025-08-07T14:21:50.636825Z INFO spotify_player::state::data: Loading SavedTracks data from /home/AMBHI/.cache/spotify-player/SavedTracks_cache.json...
2025-08-07T14:21:50.638367Z INFO spotify_player::state::data: Successfully loaded SavedTracks data!
2025-08-07T14:21:50.673200Z INFO spotify_player::auth: Using cached credentials
2025-08-07T14:21:50.673230Z INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name: "spotify-player", device_type: Speaker, is_group: false, initial_volume: 45875, disable_vol>
2025-08-07T14:21:50.673569Z INFO librespot_playback::mixer::softmixer: Mixing with softvol and volume control: Log(60.0)
2025-08-07T14:21:50.673999Z INFO spotify_player::streaming: Initializing a new integrated player with device_id=2a15a463-774c-4cc9-8cf4-7ddf86610bd9
2025-08-07T14:21:50.674124Z INFO librespot_playback::convert: Converting with ditherer: tpdf
2025-08-07T14:21:50.674138Z INFO librespot_playback::audio_backend::pulseaudio: Using PulseAudioSink with format: S16
2025-08-07T14:21:50.674565Z INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spirc protocol
2025-08-07T14:21:51.042621Z INFO librespot_core::session: Connecting to AP "ap-gae2.spotify.com:4070"
2025-08-07T14:26:22.271486Z WARN librespot_core::session: Try another access point...
2025-08-07T14:26:22.271523Z INFO librespot_core::session: Connecting to AP "ap-gae2.spotify.com:443"
2025-08-07T14:26:22.685304Z INFO librespot_core::session: Authenticated as '31zbffzshn42gqca36pvksayklhu' !
2025-08-07T14:26:22.685433Z INFO librespot_core::session: Country: "IN"
2025-08-07T14:26:22.925397Z INFO spotify_player::streaming: New streaming connection has been established!
2025-08-07T14:26:22.925438Z INFO spotify_player::client: Used a new session for Spotify client.
2025-08-07T14:26:22.925447Z INFO spotify_player::token: Getting a new authentication token...
2025-08-07T14:26:23.034221Z INFO spotify_player::token: Got new token: Token { access_token: "BQDb1cOGLrlq1rz3i-EQHBrSX91fyGWHTQRKMl_740HF520yWW0YolTObbX7q1xM50WKuFfm-LsEYMl5VkiCy1cxZtBngAg4t6TkZ2HjREB-NZWbYvewg>
2025-08-07T14:26:23.034352Z INFO spotify_player: Starting a client socket at 127.0.0.1:8080
2025-08-07T14:26:23.034464Z INFO spotify_player::media_control: Initializing application's media control event watcher...
2025-08-07T14:26:23.102684Z INFO librespot_core::spclient: Resolved "gae2-spclient.spotify.com:443" as spclient access point
2025-08-07T14:26:23.201266Z INFO client_request{request=GetCurrentUser}: spotify_player::client: Successfully handled the client request, took: 165ms
2025-08-07T14:26:23.267549Z INFO client_request{request=GetUserSavedShows}: spotify_player::client: Successfully handled the client request, took: 232ms
2025-08-07T14:26:23.296944Z INFO librespot_connect::spirc: trying to take over control automatically, session_id:
2025-08-07T14:26:23.297007Z WARN librespot_connect::state::context: couldn't load context info because: context is not available. type: Default
2025-08-07T14:26:23.324380Z INFO client_request{request=GetUserPlaylists}: spotify_player::client: Successfully handled the client request, took: 287ms
2025-08-07T14:26:23.357144Z INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: Successfully handled the client request, took: 321ms
2025-08-07T14:26:23.460968Z INFO librespot_playback::player: Loading with Spotify URI spotify:track:0EzJ66g7ZyrYUzRZwDi20l
2025-08-07T14:26:24.304515Z INFO client_request{request=GetUserFollowedArtists}: spotify_player::client: Successfully handled the client request, took: 1269ms
2025-08-07T14:26:25.078883Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 2042ms
2025-08-07T14:26:25.218954Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 182ms
2025-08-07T14:26:25.240872Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 204ms
2025-08-07T14:26:26.164523Z WARN librespot_playback::player: Invalid start position of 2218353 ms exceeds track's duration of 288026 ms, starting track from the beginning
2025-08-07T14:26:26.200554Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 163ms
2025-08-07T14:26:27.234869Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 196ms
2025-08-07T14:26:28.239175Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 199ms
2025-08-07T14:26:28.651228Z INFO librespot_playback::player: (288026 ms) loaded
2025-08-07T14:26:28.651690Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("0EzJ66g7ZyrYUzRZwDi20l")) }
2025-08-07T14:26:28.662207Z INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("0EzJ66g7ZyrYUzRZwDi20l")), position_ms: 0 }
2025-08-07T14:26:29.217744Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 177ms
2025-08-07T14:26:36.669572Z INFO client_request{request=Player(ResumePause)}: spotify_player::client: Successfully handled the client request, took: 229ms
2025-08-07T14:26:36.725682Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("0EzJ66g7ZyrYUzRZwDi20l")), position_ms: 8026 }

<!-- gh-comment-id:3164445289 --> @Lokendra2244 commented on GitHub (Aug 7, 2025): > I also applied that patch from this comment [librespot-org/librespot#1527 (comment)](https://github.com/librespot-org/librespot/issues/1527#issuecomment-3161397815) to my librespot hotfix, integrated it into my spotify-player hotfix and now it works again. > > You can find it here https://github.com/KUHLwasStolen/spotify-player/tree/librespot-temporary-hotfix > > > Im not using arch but I have the same issue, no sound at all. How do i install/get the hotfix? thanks ! > > git clone https://github.com/KUHLwasStolen/spotify-player.git > cd spotify-player > git checkout librespot-temporary-hotfix > cargo install --path spotify_player/ --no-default-features --features [whatever features you need] > > # features I used on arch > cargo install --path spotify_player/ --no-default-features --features pulseaudio-backend,pixelate,streaming,media-control > If you previously didn't install spotify-player via cargo make sure to remove it first. Also make sure that your cargo binary directory is added to path so you can type `spotify_player` anywhere you like. Its working but the only issue I'm facing is that it is taking upto 5mins to open. Here's the log as you can see it was trying to connect at 14 21 and connect conneceted at 14 26. And oner more thing is that I'm from india so maybe that could be a reason as well. as it connectedd to some 443 AP but now if I've to correct this where I should changing it? 2025-08-07T14:21:50.633479Z INFO spotify_player: Configurations: Configs { app_config: AppConfig { theme: "dracula", client_id: "65b708073fc0480ea92a077233ca87bd", client_id_command: None, client_port: 8080, log> 2025-08-07T14:21:50.634515Z INFO spotify_player::state::data: Loading Playlists data from /home/AMBHI/.cache/spotify-player/Playlists_cache.json... 2025-08-07T14:21:50.635685Z INFO spotify_player::state::data: Successfully loaded Playlists data! 2025-08-07T14:21:50.635705Z INFO spotify_player::state::data: Loading FollowedArtists data from /home/AMBHI/.cache/spotify-player/FollowedArtists_cache.json... 2025-08-07T14:21:50.636132Z INFO spotify_player::state::data: Successfully loaded FollowedArtists data! 2025-08-07T14:21:50.636143Z INFO spotify_player::state::data: Loading SavedShows data from /home/AMBHI/.cache/spotify-player/SavedShows_cache.json... 2025-08-07T14:21:50.636400Z INFO spotify_player::state::data: Successfully loaded SavedShows data! 2025-08-07T14:21:50.636439Z INFO spotify_player::state::data: Loading SavedAlbums data from /home/AMBHI/.cache/spotify-player/SavedAlbums_cache.json... 2025-08-07T14:21:50.636817Z INFO spotify_player::state::data: Successfully loaded SavedAlbums data! 2025-08-07T14:21:50.636825Z INFO spotify_player::state::data: Loading SavedTracks data from /home/AMBHI/.cache/spotify-player/SavedTracks_cache.json... 2025-08-07T14:21:50.638367Z INFO spotify_player::state::data: Successfully loaded SavedTracks data! 2025-08-07T14:21:50.673200Z INFO spotify_player::auth: Using cached credentials 2025-08-07T14:21:50.673230Z INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name: "spotify-player", device_type: Speaker, is_group: false, initial_volume: 45875, disable_vol> 2025-08-07T14:21:50.673569Z INFO librespot_playback::mixer::softmixer: Mixing with softvol and volume control: Log(60.0) 2025-08-07T14:21:50.673999Z INFO spotify_player::streaming: Initializing a new integrated player with device_id=2a15a463-774c-4cc9-8cf4-7ddf86610bd9 2025-08-07T14:21:50.674124Z INFO librespot_playback::convert: Converting with ditherer: tpdf 2025-08-07T14:21:50.674138Z INFO librespot_playback::audio_backend::pulseaudio: Using PulseAudioSink with format: S16 2025-08-07T14:21:50.674565Z INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spirc protocol 2025-08-07T14:21:51.042621Z INFO librespot_core::session: Connecting to AP "ap-gae2.spotify.com:4070" 2025-08-07T14:26:22.271486Z WARN librespot_core::session: Try another access point... 2025-08-07T14:26:22.271523Z INFO librespot_core::session: Connecting to AP "ap-gae2.spotify.com:443" 2025-08-07T14:26:22.685304Z INFO librespot_core::session: Authenticated as '31zbffzshn42gqca36pvksayklhu' ! 2025-08-07T14:26:22.685433Z INFO librespot_core::session: Country: "IN" 2025-08-07T14:26:22.925397Z INFO spotify_player::streaming: New streaming connection has been established! 2025-08-07T14:26:22.925438Z INFO spotify_player::client: Used a new session for Spotify client. 2025-08-07T14:26:22.925447Z INFO spotify_player::token: Getting a new authentication token... 2025-08-07T14:26:23.034221Z INFO spotify_player::token: Got new token: Token { access_token: "BQDb1cOGLrlq1rz3i-EQHBrSX91fyGWHTQRKMl_740HF520yWW0YolTObbX7q1xM50WKuFfm-LsEYMl5VkiCy1cxZtBngAg4t6TkZ2HjREB-NZWbYvewg> 2025-08-07T14:26:23.034352Z INFO spotify_player: Starting a client socket at 127.0.0.1:8080 2025-08-07T14:26:23.034464Z INFO spotify_player::media_control: Initializing application's media control event watcher... 2025-08-07T14:26:23.102684Z INFO librespot_core::spclient: Resolved "gae2-spclient.spotify.com:443" as spclient access point 2025-08-07T14:26:23.201266Z INFO client_request{request=GetCurrentUser}: spotify_player::client: Successfully handled the client request, took: 165ms 2025-08-07T14:26:23.267549Z INFO client_request{request=GetUserSavedShows}: spotify_player::client: Successfully handled the client request, took: 232ms 2025-08-07T14:26:23.296944Z INFO librespot_connect::spirc: trying to take over control automatically, session_id: 2025-08-07T14:26:23.297007Z WARN librespot_connect::state::context: couldn't load context info because: context is not available. type: Default 2025-08-07T14:26:23.324380Z INFO client_request{request=GetUserPlaylists}: spotify_player::client: Successfully handled the client request, took: 287ms 2025-08-07T14:26:23.357144Z INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: Successfully handled the client request, took: 321ms 2025-08-07T14:26:23.460968Z INFO librespot_playback::player: Loading <Mumal Banni Marwad Ri> with Spotify URI <spotify:track:0EzJ66g7ZyrYUzRZwDi20l> 2025-08-07T14:26:24.304515Z INFO client_request{request=GetUserFollowedArtists}: spotify_player::client: Successfully handled the client request, took: 1269ms 2025-08-07T14:26:25.078883Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 2042ms 2025-08-07T14:26:25.218954Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 182ms 2025-08-07T14:26:25.240872Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 204ms 2025-08-07T14:26:26.164523Z WARN librespot_playback::player: Invalid start position of 2218353 ms exceeds track's duration of 288026 ms, starting track from the beginning 2025-08-07T14:26:26.200554Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 163ms 2025-08-07T14:26:27.234869Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 196ms 2025-08-07T14:26:28.239175Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 199ms 2025-08-07T14:26:28.651228Z INFO librespot_playback::player: <Mumal Banni Marwad Ri> (288026 ms) loaded 2025-08-07T14:26:28.651690Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("0EzJ66g7ZyrYUzRZwDi20l")) } 2025-08-07T14:26:28.662207Z INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("0EzJ66g7ZyrYUzRZwDi20l")), position_ms: 0 } 2025-08-07T14:26:29.217744Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 177ms 2025-08-07T14:26:36.669572Z INFO client_request{request=Player(ResumePause)}: spotify_player::client: Successfully handled the client request, took: 229ms 2025-08-07T14:26:36.725682Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("0EzJ66g7ZyrYUzRZwDi20l")), position_ms: 8026 }
Author
Owner

@Jorpy76 commented on GitHub (Aug 9, 2025):

Hi .. I have Archlinux .. same problem .
This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

<!-- gh-comment-id:3172148092 --> @Jorpy76 commented on GitHub (Aug 9, 2025): Hi .. I have Archlinux .. same problem . This work for me: sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'
Author
Owner

@debanath commented on GitHub (Aug 10, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Thanks it worked for me

<!-- gh-comment-id:3172641348 --> @debanath commented on GitHub (Aug 10, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' Thanks it worked for me
Author
Owner

@rom4kov commented on GitHub (Aug 10, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Worked for me as well, thanks! 👍

<!-- gh-comment-id:3172660402 --> @rom4kov commented on GitHub (Aug 10, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' Worked for me as well, thanks! 👍
Author
Owner

@Lokendra2244 commented on GitHub (Aug 10, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Thanks bro Just came back to check the solution and It got resolved.😀😀

But I'm hsving some different issue after playing one song it just stops

<!-- gh-comment-id:3172663166 --> @Lokendra2244 commented on GitHub (Aug 10, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' Thanks bro Just came back to check the solution and It got resolved.😀😀 But I'm hsving some different issue after playing one song it just stops
Author
Owner

@Jorpy76 commented on GitHub (Aug 10, 2025):

Hi .. I have Archlinux .. same problem . This work for me:
sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Thanks bro Just came back to check the solution and It got resolved.😀😀

But I'm hsving some different issue after playing one song it just stops

I had the same problem just once, but after doing a reboot, it worked fine.

<!-- gh-comment-id:3172700658 --> @Jorpy76 commented on GitHub (Aug 10, 2025): > > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' > > Thanks bro Just came back to check the solution and It got resolved.😀😀 > > But I'm hsving some different issue after playing one song it just stops I had the same problem just once, but after doing a reboot, it worked fine.
Author
Owner

@Lokendra2244 commented on GitHub (Aug 10, 2025):

Hi .. I have Archlinux .. same problem . This work for me:
sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Thanks bro Just came back to check the solution and It got resolved.😀😀
But I'm hsving some different issue after playing one song it just stops

I had the same problem just once, but after doing a reboot, it worked fine.

I restarted. But the issue persists.

2025-08-10T14:52:37.290181Z INFO spotify_player: Configurations: Configs { app_config: AppConfig { theme: "dracula", client_id: "65b708073fc0480ea92a077233ca87bd", client_id_command: None, client_port: 8080, login_redirect_uri: "http://127.0.0.1:8989/login", player_event_hook_command: None, playback_format: "{status} {track} • {artists} {liked}\n{album}\n{metadata}", playback_metadata_fields: ["repeat", "shuffle", "volume", "device"], notify_format: NotifyFormat { summary: "{track} • {artists}", body: "{album}" }, notify_timeout_in_secs: 0, tracks_playback_limit: 50, proxy: None, ap_port: None, app_refresh_duration_in_ms: 32, playback_refresh_duration_in_ms: 0, page_size_in_rows: 20, play_icon: "▶", pause_icon: "▌▌", liked_icon: "♥", border_type: Plain, progress_bar_type: Rectangle, layout: LayoutConfig { library: LibraryLayoutConfig { playlist_percent: 40, album_percent: 40 }, playback_window_position: Top, playback_window_height: 6 }, cover_img_length: 9, cover_img_width: 5, cover_img_scale: 1.0, enable_media_control: true, enable_streaming: Always, enable_notify: true, enable_cover_image_cache: true, default_device: "spotify-player", device: DeviceConfig { name: "spotify-player", device_type: "speaker", volume: 70, bitrate: 320, audio_cache: false, normalization: false, autoplay: true }, notify_streaming_only: false, seek_duration_secs: 5, sort_artist_albums_by_type: false }, keymap_config: KeymapConfig { keymaps: [Keymap { key_sequence: KeySequence { keys: [None(Char('n'))] }, command: NextTrack }, Keymap { key_sequence: KeySequence { keys: [None(Char('p'))] }, command: PreviousTrack }, Keymap { key_sequence: KeySequence { keys: [None(Char('.'))] }, command: PlayRandom }, Keymap { key_sequence: KeySequence { keys: [None(Char(' '))] }, command: ResumePause }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('r'))] }, command: Repeat }, Keymap { key_sequence: KeySequence { keys: [Alt(Char('r'))] }, command: ToggleFakeTrackRepeatMode }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('s'))] }, command: Shuffle }, Keymap { key_sequence: KeySequence { keys: [None(Char('+'))] }, command: VolumeChange { offset: 5 } }, Keymap { key_sequence: KeySequence { keys: [None(Char('-'))] }, command: VolumeChange { offset: -5 } }, Keymap { key_sequence: KeySequence { keys: [None(Char('_'))] }, command: Mute }, Keymap { key_sequence: KeySequence { keys: [None(Char('>'))] }, command: SeekForward }, Keymap { key_sequence: KeySequence { keys: [None(Char('<'))] }, command: SeekBackward }, Keymap { key_sequence: KeySequence { keys: [None(Enter)] }, command: ChooseSelected }, Keymap { key_sequence: KeySequence { keys: [None(Char('r'))] }, command: RefreshPlayback }, Keymap { key_sequence: KeySequence { keys: [None(Char('/'))] }, command: Search }, Keymap { key_sequence: KeySequence { keys: [None(Char('z'))] }, command: Queue }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('z'))] }, command: AddSelectedItemToQueue }, Keymap { key_sequence: KeySequence { keys: [None(Char('Z'))] }, command: AddSelectedItemToQueue }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('g'))] }, command: JumpToHighlightTrackInContext }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char(' '))] }, command: ShowActionsOnSelectedItem }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('a'))] }, command: ShowActionsOnSelectedItem }, Keymap { key_sequence: KeySequence { keys: [None(Char('a'))] }, command: ShowActionsOnCurrentTrack }, Keymap { key_sequence: KeySequence { keys: [None(Char('R'))] }, command: RestartIntegratedClient }, Keymap { key_sequence: KeySequence { keys: [None(Tab)] }, command: FocusNextWindow }, Keymap { key_sequence: KeySequence { keys: [None(BackTab)] }, command: FocusPreviousWindow }, Keymap { key_sequence: KeySequence { keys: [None(Char('T'))] }, command: SwitchTheme }, Keymap { key_sequence: KeySequence { keys: [None(Char('D'))] }, command: SwitchDevice }, Keymap { key_sequence: KeySequence { keys: [None(Char('u')), None(Char('p'))] }, command: BrowseUserPlaylists }, Keymap { key_sequence: KeySequence { keys: [None(Char('u')), None(Char('a'))] }, command: BrowseUserFollowedArtists }, Keymap { key_sequence: KeySequence { keys: [None(Char('u')), None(Char('A'))] }, command: BrowseUserSavedAlbums }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char(' '))] }, command: CurrentlyPlayingContextPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('t'))] }, command: TopTrackPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('r'))] }, command: RecentlyPlayedTrackPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('y'))] }, command: LikedTrackPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('L'))] }, command: LyricsPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('l'))] }, command: LyricsPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('l'))] }, command: LibraryPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('s'))] }, command: SearchPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('b'))] }, command: BrowsePage }, Keymap { key_sequence: KeySequence { keys: [None(Backspace)] }, command: PreviousPage }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('q'))] }, command: PreviousPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('O'))] }, command: OpenSpotifyLinkFromClipboard }, Keymap { key_sequence: KeySequence { keys: [None(Char('?'))] }, command: OpenCommandHelp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('h'))] }, command: OpenCommandHelp }, Keymap { key_sequence: KeySequence { keys: [None(Char('q'))] }, command: Quit }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('c'))] }, command: Quit }, Keymap { key_sequence: KeySequence { keys: [None(Esc)] }, command: ClosePopup }, Keymap { key_sequence: KeySequence { keys: [None(Char('j'))] }, command: SelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('n'))] }, command: SelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [None(Down)] }, command: SelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [None(Char('k'))] }, command: SelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('p'))] }, command: SelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [None(Up)] }, command: SelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [None(PageUp)] }, command: PageSelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('b'))] }, command: PageSelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [None(PageDown)] }, command: PageSelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('f'))] }, command: PageSelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('g'))] }, command: SelectFirstOrScrollToTop }, Keymap { key_sequence: KeySequence { keys: [None(Home)] }, command: SelectFirstOrScrollToTop }, Keymap { key_sequence: KeySequence { keys: [None(Char('G'))] }, command: SelectLastOrScrollToBottom }, Keymap { key_sequence: KeySequence { keys: [None(End)] }, command: SelectLastOrScrollToBottom }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('t'))] }, command: SortTrackByTitle }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('a'))] }, command: SortTrackByArtists }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('A'))] }, command: SortTrackByAlbum }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('d'))] }, command: SortTrackByDuration }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('D'))] }, command: SortTrackByAddedDate }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('r'))] }, command: ReverseTrackOrder }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('l')), None(Char('a'))] }, command: SortLibraryAlphabetically }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('l')), None(Char('r'))] }, command: SortLibraryByRecent }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('k'))] }, command: MovePlaylistItemUp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('j'))] }, command: MovePlaylistItemDown }, Keymap { key_sequence: KeySequence { keys: [None(Char('N'))] }, command: CreatePlaylist }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('c'))] }, command: JumpToCurrentTrackInContext }], actions: [] }, theme_config: ThemeConfig { themes: [Theme { name: "default", palette: Palette { background: None, foreground: None, black: Color { color: Black }, blue: Color { color: Blue }, cyan: Color { color: Cyan }, green: Color { color: Green }, magenta: Color { color: Magenta }, red: Color { color: Red }, white: Color { color: Gray }, yellow: Color { color: Yellow }, bright_black: Color { color: DarkGray }, bright_white: Color { color: White }, bright_red: Color { color: LightRed }, bright_magenta: Color { color: LightMagenta }, bright_green: Color { color: LightGreen }, bright_cyan: Color { color: LightCyan }, bright_blue: Color { color: LightBlue }, bright_yellow: Color { color: LightYellow } }, component_style: ComponentStyle { block_title: None, border: None, playback_status: None, playback_track: None, playback_artists: None, playback_album: None, playback_metadata: None, playback_progress_bar: None, playback_progress_bar_unfilled: None, current_playing: None, page_desc: None, playlist_desc: None, table_header: None, selection: None, secondary_row: None, like: None, lyrics_played: None, lyrics_playing: None } }] }, cache_folder: "/home/AMBHI/.cache/spotify-player" } 2025-08-10T14:52:37.290345Z INFO spotify_player::state::data: Loading Playlists data from /home/AMBHI/.cache/spotify-player/Playlists_cache.json... 2025-08-10T14:52:37.290413Z INFO spotify_player::state::data: Successfully loaded Playlists data! 2025-08-10T14:52:37.290422Z INFO spotify_player::state::data: Loading FollowedArtists data from /home/AMBHI/.cache/spotify-player/FollowedArtists_cache.json... 2025-08-10T14:52:37.290484Z INFO spotify_player::state::data: Successfully loaded FollowedArtists data! 2025-08-10T14:52:37.290488Z INFO spotify_player::state::data: Loading SavedShows data from /home/AMBHI/.cache/spotify-player/SavedShows_cache.json... 2025-08-10T14:52:37.290505Z INFO spotify_player::state::data: Successfully loaded SavedShows data! 2025-08-10T14:52:37.290509Z INFO spotify_player::state::data: Loading SavedAlbums data from /home/AMBHI/.cache/spotify-player/SavedAlbums_cache.json... 2025-08-10T14:52:37.290533Z INFO spotify_player::state::data: Successfully loaded SavedAlbums data! 2025-08-10T14:52:37.290537Z INFO spotify_player::state::data: Loading SavedTracks data from /home/AMBHI/.cache/spotify-player/SavedTracks_cache.json... 2025-08-10T14:52:37.291623Z INFO spotify_player::state::data: Successfully loaded SavedTracks data! 2025-08-10T14:52:37.322961Z INFO spotify_player::auth: Using cached credentials 2025-08-10T14:52:37.322988Z INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name: "spotify-player", device_type: Speaker, is_group: false, initial_volume: Some(45875), has_volume_ctrl: true } 2025-08-10T14:52:37.323006Z INFO librespot_playback::mixer::softmixer: Mixing with softvol and volume control: Log(60.0) 2025-08-10T14:52:37.323028Z INFO spotify_player::streaming: Initializing a new integrated player with device_id=5c8387ff-6471-4ffa-85bb-3742cdaeb715 2025-08-10T14:52:37.323131Z INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spirc protocol 2025-08-10T14:52:37.323185Z INFO librespot_playback::convert: Converting with ditherer: tpdf 2025-08-10T14:52:37.323201Z INFO librespot_playback::audio_backend::pulseaudio: Using PulseAudioSink with format: S16 2025-08-10T14:52:37.499326Z WARN librespot_core::apresolve: Failed to resolve all access points, using fallbacks 2025-08-10T14:52:37.499344Z WARN librespot_core::apresolve: Resolve access points error: Service unavailable { client error (Connect) } 2025-08-10T14:52:37.499356Z INFO librespot_core::session: Connecting to AP "ap.spotify.com:443" 2025-08-10T14:52:37.927483Z INFO librespot_core::session: Authenticated as '31zbffzshn42gqca36pvksayklhu' ! 2025-08-10T14:52:37.927713Z INFO librespot_core::session: Country: "IN" 2025-08-10T14:52:37.927781Z INFO spotify_player::streaming: New streaming connection has been established! 2025-08-10T14:52:37.927786Z INFO spotify_player::client: Used a new session for Spotify client. 2025-08-10T14:52:37.927795Z INFO spotify_player::token: Getting a new authentication token... 2025-08-10T14:52:38.138199Z INFO spotify_player::token: Got new token: Token { access_token: "BQB-r09Z_GCFZxOO0FMdof_6-MsfMBdxLzfrTmhhV5ZIu24WuMKKcpYwYSgg6Y3cp6DywhxQB1Ia7Hle9wtQgzPCdVcWCVKAcF12PCR_CQfA8DcumAAdJydqj2G5-XJ4zT5frC2rwp_rlkeDSTnaOiF_JReMwaHNyRONXgxqOQXKqMK0_uxcid7YUXugoQR2F1QuLbTk21Sy0qtQQGTqujbpgRh2lnhPUerjyHTj0LPkjTc1IOao4oud8xwCQPeywP1P8_i19q8UrX3tuiEOEnL7ExOFXOkLZeH5jFyFweCdeSJagJDoPG2JvtOJq72UpmtZk3L8kBjc82Aaq7eANbsG4DjvZr-zNq03ruV0fcriVEZPLlHohvmu4cqCj4HfTNBZgZy1koK1YO2XxOGcZBSRHooUrw", expires_in: TimeDelta { secs: 3600, nanos: 0 }, expires_at: Some(2025-08-10T15:52:38.138193614Z), refresh_token: None, scopes: {} } 2025-08-10T14:52:38.138262Z INFO spotify_player: Starting a client socket at 127.0.0.1:8080 2025-08-10T14:52:38.138643Z INFO spotify_player::media_control: Initializing application's media control event watcher... 2025-08-10T14:52:38.301802Z INFO client_request{request=GetCurrentUser}: spotify_player::client: Successfully handled the client request, took: 163ms 2025-08-10T14:52:38.385316Z INFO client_request{request=GetUserSavedShows}: spotify_player::client: Successfully handled the client request, took: 246ms 2025-08-10T14:52:38.417400Z INFO client_request{request=GetUserPlaylists}: spotify_player::client: Successfully handled the client request, took: 278ms 2025-08-10T14:52:38.417744Z INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: Successfully handled the client request, took: 279ms 2025-08-10T14:52:39.449934Z INFO client_request{request=GetUserFollowedArtists}: spotify_player::client: Successfully handled the client request, took: 1311ms 2025-08-10T14:52:39.473875Z WARN spotify_player::client: No device found. Please make sure you already setup Spotify Connect support as described in https://github.com/aome510/spotify-player#spotify-connect. 2025-08-10T14:52:39.473912Z INFO spotify_player::client: Trying to connect to device (id=5c8387ff-6471-4ffa-85bb-3742cdaeb715) 2025-08-10T14:52:39.578257Z WARN spotify_player::client: No device found. Please make sure you already setup Spotify Connect support as described in https://github.com/aome510/spotify-player#spotify-connect. 2025-08-10T14:52:39.578297Z INFO spotify_player::client: Trying to connect to device (id=5c8387ff-6471-4ffa-85bb-3742cdaeb715) 2025-08-10T14:52:39.663778Z WARN librespot_core::apresolve: Failed to resolve all access points, using fallbacks 2025-08-10T14:52:39.663823Z WARN librespot_core::apresolve: Resolve access points error: Service unavailable { client error (Connect) } 2025-08-10T14:52:39.663840Z INFO librespot_core::spclient: Resolved "spclient.wg.spotify.com:443" as spclient access point 2025-08-10T14:52:39.664086Z WARN librespot_core::apresolve: Failed to resolve all access points, using fallbacks 2025-08-10T14:52:39.664101Z WARN librespot_core::apresolve: Resolve access points error: Service unavailable { client error (Connect) } 2025-08-10T14:52:39.664114Z INFO librespot_core::spclient: Resolved "spclient.wg.spotify.com:443" as spclient access point 2025-08-10T14:52:39.666556Z INFO spotify_player::client: Connection succeeded (device_id=5c8387ff-6471-4ffa-85bb-3742cdaeb715)! 2025-08-10T14:52:39.794246Z INFO spotify_player::client: Connection succeeded (device_id=5c8387ff-6471-4ffa-85bb-3742cdaeb715)! 2025-08-10T14:52:39.827072Z INFO librespot_playback::player: Loading <RATATATA> with Spotify URI <spotify:track:14WYmNQWvR2TTWoRp8t9Ml> 2025-08-10T14:52:39.828210Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) } 2025-08-10T14:52:39.932283Z WARN librespot_core::cdn_url: Cannot parse CDN URL expiry timestamp 'verify=1754923959-yH0AOMor9%2FPy0UIB9UThxi5H8kWrfjxOFTsEpGJY8NQ%3D' from 'https://audio-cf.spotifycdn.com/audio/3a98f766cb6cf388cabacf1ad1bb1652ccf1d33c?verify=1754923959-yH0AOMor9%2FPy0UIB9UThxi5H8kWrfjxOFTsEpGJY8NQ%3D' 2025-08-10T14:52:39.936840Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) } 2025-08-10T14:52:39.950474Z INFO librespot_playback::player: Loading <RATATATA> with Spotify URI <spotify:track:14WYmNQWvR2TTWoRp8t9Ml> 2025-08-10T14:52:39.960992Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 1822ms 2025-08-10T14:52:40.068264Z WARN librespot_core::cdn_url: Cannot parse CDN URL expiry timestamp 'verify=1754923960-B%2BkY7GIj2S%2BMp5PmjHS0%2B%2FW49iSp2TVdIetX518iOlM%3D' from 'https://audio-cf.spotifycdn.com/audio/3a98f766cb6cf388cabacf1ad1bb1652ccf1d33c?verify=1754923960-B%2BkY7GIj2S%2BMp5PmjHS0%2B%2FW49iSp2TVdIetX518iOlM%3D' 2025-08-10T14:52:40.830468Z ERROR spotify_player::client: Encountered an error when updating the playback state: The name is not activatable 2025-08-10T14:52:41.253586Z INFO librespot_playback::player: <RATATATA> (216428 ms) loaded 2025-08-10T14:52:41.253789Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("14WYmNQWvR2TTWoRp8t9Ml")) } 2025-08-10T14:52:41.253834Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("14WYmNQWvR2TTWoRp8t9Ml")), position_ms: 127177 } 2025-08-10T14:52:41.341459Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 198ms 2025-08-10T14:52:41.657595Z INFO librespot_playback::player: <RATATATA> (216428 ms) loaded 2025-08-10T14:52:52.416183Z INFO client_request{request=GetLyrics { track_id: TrackId("14WYmNQWvR2TTWoRp8t9Ml") }}: spotify_player::client: Successfully handled the client request, took: 116ms 2025-08-10T14:53:19.192836Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2025-08-10T14:53:20.386639Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 1822ms 2025-08-10T14:53:45.230872Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-top-tracks", kind: "Top Tracks" }))), update the context state 2025-08-10T14:53:48.371547Z ERROR client_request{request=GetUserTopTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/top/tracks?offset=350&limit=50: {"error": {"status": 502, "message": "Error while loading resource" } }

Image
<!-- gh-comment-id:3172710086 --> @Lokendra2244 commented on GitHub (Aug 10, 2025): > > > Hi .. I have Archlinux .. same problem . This work for me: > > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' > > > > > > Thanks bro Just came back to check the solution and It got resolved.😀😀 > > But I'm hsving some different issue after playing one song it just stops > > I had the same problem just once, but after doing a reboot, it worked fine. I restarted. But the issue persists. `2025-08-10T14:52:37.290181Z INFO spotify_player: Configurations: Configs { app_config: AppConfig { theme: "dracula", client_id: "65b708073fc0480ea92a077233ca87bd", client_id_command: None, client_port: 8080, login_redirect_uri: "http://127.0.0.1:8989/login", player_event_hook_command: None, playback_format: "{status} {track} • {artists} {liked}\n{album}\n{metadata}", playback_metadata_fields: ["repeat", "shuffle", "volume", "device"], notify_format: NotifyFormat { summary: "{track} • {artists}", body: "{album}" }, notify_timeout_in_secs: 0, tracks_playback_limit: 50, proxy: None, ap_port: None, app_refresh_duration_in_ms: 32, playback_refresh_duration_in_ms: 0, page_size_in_rows: 20, play_icon: "▶", pause_icon: "▌▌", liked_icon: "♥", border_type: Plain, progress_bar_type: Rectangle, layout: LayoutConfig { library: LibraryLayoutConfig { playlist_percent: 40, album_percent: 40 }, playback_window_position: Top, playback_window_height: 6 }, cover_img_length: 9, cover_img_width: 5, cover_img_scale: 1.0, enable_media_control: true, enable_streaming: Always, enable_notify: true, enable_cover_image_cache: true, default_device: "spotify-player", device: DeviceConfig { name: "spotify-player", device_type: "speaker", volume: 70, bitrate: 320, audio_cache: false, normalization: false, autoplay: true }, notify_streaming_only: false, seek_duration_secs: 5, sort_artist_albums_by_type: false }, keymap_config: KeymapConfig { keymaps: [Keymap { key_sequence: KeySequence { keys: [None(Char('n'))] }, command: NextTrack }, Keymap { key_sequence: KeySequence { keys: [None(Char('p'))] }, command: PreviousTrack }, Keymap { key_sequence: KeySequence { keys: [None(Char('.'))] }, command: PlayRandom }, Keymap { key_sequence: KeySequence { keys: [None(Char(' '))] }, command: ResumePause }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('r'))] }, command: Repeat }, Keymap { key_sequence: KeySequence { keys: [Alt(Char('r'))] }, command: ToggleFakeTrackRepeatMode }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('s'))] }, command: Shuffle }, Keymap { key_sequence: KeySequence { keys: [None(Char('+'))] }, command: VolumeChange { offset: 5 } }, Keymap { key_sequence: KeySequence { keys: [None(Char('-'))] }, command: VolumeChange { offset: -5 } }, Keymap { key_sequence: KeySequence { keys: [None(Char('_'))] }, command: Mute }, Keymap { key_sequence: KeySequence { keys: [None(Char('>'))] }, command: SeekForward }, Keymap { key_sequence: KeySequence { keys: [None(Char('<'))] }, command: SeekBackward }, Keymap { key_sequence: KeySequence { keys: [None(Enter)] }, command: ChooseSelected }, Keymap { key_sequence: KeySequence { keys: [None(Char('r'))] }, command: RefreshPlayback }, Keymap { key_sequence: KeySequence { keys: [None(Char('/'))] }, command: Search }, Keymap { key_sequence: KeySequence { keys: [None(Char('z'))] }, command: Queue }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('z'))] }, command: AddSelectedItemToQueue }, Keymap { key_sequence: KeySequence { keys: [None(Char('Z'))] }, command: AddSelectedItemToQueue }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('g'))] }, command: JumpToHighlightTrackInContext }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char(' '))] }, command: ShowActionsOnSelectedItem }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('a'))] }, command: ShowActionsOnSelectedItem }, Keymap { key_sequence: KeySequence { keys: [None(Char('a'))] }, command: ShowActionsOnCurrentTrack }, Keymap { key_sequence: KeySequence { keys: [None(Char('R'))] }, command: RestartIntegratedClient }, Keymap { key_sequence: KeySequence { keys: [None(Tab)] }, command: FocusNextWindow }, Keymap { key_sequence: KeySequence { keys: [None(BackTab)] }, command: FocusPreviousWindow }, Keymap { key_sequence: KeySequence { keys: [None(Char('T'))] }, command: SwitchTheme }, Keymap { key_sequence: KeySequence { keys: [None(Char('D'))] }, command: SwitchDevice }, Keymap { key_sequence: KeySequence { keys: [None(Char('u')), None(Char('p'))] }, command: BrowseUserPlaylists }, Keymap { key_sequence: KeySequence { keys: [None(Char('u')), None(Char('a'))] }, command: BrowseUserFollowedArtists }, Keymap { key_sequence: KeySequence { keys: [None(Char('u')), None(Char('A'))] }, command: BrowseUserSavedAlbums }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char(' '))] }, command: CurrentlyPlayingContextPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('t'))] }, command: TopTrackPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('r'))] }, command: RecentlyPlayedTrackPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('y'))] }, command: LikedTrackPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('L'))] }, command: LyricsPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('l'))] }, command: LyricsPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('l'))] }, command: LibraryPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('s'))] }, command: SearchPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('b'))] }, command: BrowsePage }, Keymap { key_sequence: KeySequence { keys: [None(Backspace)] }, command: PreviousPage }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('q'))] }, command: PreviousPage }, Keymap { key_sequence: KeySequence { keys: [None(Char('O'))] }, command: OpenSpotifyLinkFromClipboard }, Keymap { key_sequence: KeySequence { keys: [None(Char('?'))] }, command: OpenCommandHelp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('h'))] }, command: OpenCommandHelp }, Keymap { key_sequence: KeySequence { keys: [None(Char('q'))] }, command: Quit }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('c'))] }, command: Quit }, Keymap { key_sequence: KeySequence { keys: [None(Esc)] }, command: ClosePopup }, Keymap { key_sequence: KeySequence { keys: [None(Char('j'))] }, command: SelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('n'))] }, command: SelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [None(Down)] }, command: SelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [None(Char('k'))] }, command: SelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('p'))] }, command: SelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [None(Up)] }, command: SelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [None(PageUp)] }, command: PageSelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('b'))] }, command: PageSelectPreviousOrScrollUp }, Keymap { key_sequence: KeySequence { keys: [None(PageDown)] }, command: PageSelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('f'))] }, command: PageSelectNextOrScrollDown }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('g'))] }, command: SelectFirstOrScrollToTop }, Keymap { key_sequence: KeySequence { keys: [None(Home)] }, command: SelectFirstOrScrollToTop }, Keymap { key_sequence: KeySequence { keys: [None(Char('G'))] }, command: SelectLastOrScrollToBottom }, Keymap { key_sequence: KeySequence { keys: [None(End)] }, command: SelectLastOrScrollToBottom }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('t'))] }, command: SortTrackByTitle }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('a'))] }, command: SortTrackByArtists }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('A'))] }, command: SortTrackByAlbum }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('d'))] }, command: SortTrackByDuration }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('D'))] }, command: SortTrackByAddedDate }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('r'))] }, command: ReverseTrackOrder }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('l')), None(Char('a'))] }, command: SortLibraryAlphabetically }, Keymap { key_sequence: KeySequence { keys: [None(Char('s')), None(Char('l')), None(Char('r'))] }, command: SortLibraryByRecent }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('k'))] }, command: MovePlaylistItemUp }, Keymap { key_sequence: KeySequence { keys: [Ctrl(Char('j'))] }, command: MovePlaylistItemDown }, Keymap { key_sequence: KeySequence { keys: [None(Char('N'))] }, command: CreatePlaylist }, Keymap { key_sequence: KeySequence { keys: [None(Char('g')), None(Char('c'))] }, command: JumpToCurrentTrackInContext }], actions: [] }, theme_config: ThemeConfig { themes: [Theme { name: "default", palette: Palette { background: None, foreground: None, black: Color { color: Black }, blue: Color { color: Blue }, cyan: Color { color: Cyan }, green: Color { color: Green }, magenta: Color { color: Magenta }, red: Color { color: Red }, white: Color { color: Gray }, yellow: Color { color: Yellow }, bright_black: Color { color: DarkGray }, bright_white: Color { color: White }, bright_red: Color { color: LightRed }, bright_magenta: Color { color: LightMagenta }, bright_green: Color { color: LightGreen }, bright_cyan: Color { color: LightCyan }, bright_blue: Color { color: LightBlue }, bright_yellow: Color { color: LightYellow } }, component_style: ComponentStyle { block_title: None, border: None, playback_status: None, playback_track: None, playback_artists: None, playback_album: None, playback_metadata: None, playback_progress_bar: None, playback_progress_bar_unfilled: None, current_playing: None, page_desc: None, playlist_desc: None, table_header: None, selection: None, secondary_row: None, like: None, lyrics_played: None, lyrics_playing: None } }] }, cache_folder: "/home/AMBHI/.cache/spotify-player" } 2025-08-10T14:52:37.290345Z INFO spotify_player::state::data: Loading Playlists data from /home/AMBHI/.cache/spotify-player/Playlists_cache.json... 2025-08-10T14:52:37.290413Z INFO spotify_player::state::data: Successfully loaded Playlists data! 2025-08-10T14:52:37.290422Z INFO spotify_player::state::data: Loading FollowedArtists data from /home/AMBHI/.cache/spotify-player/FollowedArtists_cache.json... 2025-08-10T14:52:37.290484Z INFO spotify_player::state::data: Successfully loaded FollowedArtists data! 2025-08-10T14:52:37.290488Z INFO spotify_player::state::data: Loading SavedShows data from /home/AMBHI/.cache/spotify-player/SavedShows_cache.json... 2025-08-10T14:52:37.290505Z INFO spotify_player::state::data: Successfully loaded SavedShows data! 2025-08-10T14:52:37.290509Z INFO spotify_player::state::data: Loading SavedAlbums data from /home/AMBHI/.cache/spotify-player/SavedAlbums_cache.json... 2025-08-10T14:52:37.290533Z INFO spotify_player::state::data: Successfully loaded SavedAlbums data! 2025-08-10T14:52:37.290537Z INFO spotify_player::state::data: Loading SavedTracks data from /home/AMBHI/.cache/spotify-player/SavedTracks_cache.json... 2025-08-10T14:52:37.291623Z INFO spotify_player::state::data: Successfully loaded SavedTracks data! 2025-08-10T14:52:37.322961Z INFO spotify_player::auth: Using cached credentials 2025-08-10T14:52:37.322988Z INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name: "spotify-player", device_type: Speaker, is_group: false, initial_volume: Some(45875), has_volume_ctrl: true } 2025-08-10T14:52:37.323006Z INFO librespot_playback::mixer::softmixer: Mixing with softvol and volume control: Log(60.0) 2025-08-10T14:52:37.323028Z INFO spotify_player::streaming: Initializing a new integrated player with device_id=5c8387ff-6471-4ffa-85bb-3742cdaeb715 2025-08-10T14:52:37.323131Z INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spirc protocol 2025-08-10T14:52:37.323185Z INFO librespot_playback::convert: Converting with ditherer: tpdf 2025-08-10T14:52:37.323201Z INFO librespot_playback::audio_backend::pulseaudio: Using PulseAudioSink with format: S16 2025-08-10T14:52:37.499326Z WARN librespot_core::apresolve: Failed to resolve all access points, using fallbacks 2025-08-10T14:52:37.499344Z WARN librespot_core::apresolve: Resolve access points error: Service unavailable { client error (Connect) } 2025-08-10T14:52:37.499356Z INFO librespot_core::session: Connecting to AP "ap.spotify.com:443" 2025-08-10T14:52:37.927483Z INFO librespot_core::session: Authenticated as '31zbffzshn42gqca36pvksayklhu' ! 2025-08-10T14:52:37.927713Z INFO librespot_core::session: Country: "IN" 2025-08-10T14:52:37.927781Z INFO spotify_player::streaming: New streaming connection has been established! 2025-08-10T14:52:37.927786Z INFO spotify_player::client: Used a new session for Spotify client. 2025-08-10T14:52:37.927795Z INFO spotify_player::token: Getting a new authentication token... 2025-08-10T14:52:38.138199Z INFO spotify_player::token: Got new token: Token { access_token: "BQB-r09Z_GCFZxOO0FMdof_6-MsfMBdxLzfrTmhhV5ZIu24WuMKKcpYwYSgg6Y3cp6DywhxQB1Ia7Hle9wtQgzPCdVcWCVKAcF12PCR_CQfA8DcumAAdJydqj2G5-XJ4zT5frC2rwp_rlkeDSTnaOiF_JReMwaHNyRONXgxqOQXKqMK0_uxcid7YUXugoQR2F1QuLbTk21Sy0qtQQGTqujbpgRh2lnhPUerjyHTj0LPkjTc1IOao4oud8xwCQPeywP1P8_i19q8UrX3tuiEOEnL7ExOFXOkLZeH5jFyFweCdeSJagJDoPG2JvtOJq72UpmtZk3L8kBjc82Aaq7eANbsG4DjvZr-zNq03ruV0fcriVEZPLlHohvmu4cqCj4HfTNBZgZy1koK1YO2XxOGcZBSRHooUrw", expires_in: TimeDelta { secs: 3600, nanos: 0 }, expires_at: Some(2025-08-10T15:52:38.138193614Z), refresh_token: None, scopes: {} } 2025-08-10T14:52:38.138262Z INFO spotify_player: Starting a client socket at 127.0.0.1:8080 2025-08-10T14:52:38.138643Z INFO spotify_player::media_control: Initializing application's media control event watcher... 2025-08-10T14:52:38.301802Z INFO client_request{request=GetCurrentUser}: spotify_player::client: Successfully handled the client request, took: 163ms 2025-08-10T14:52:38.385316Z INFO client_request{request=GetUserSavedShows}: spotify_player::client: Successfully handled the client request, took: 246ms 2025-08-10T14:52:38.417400Z INFO client_request{request=GetUserPlaylists}: spotify_player::client: Successfully handled the client request, took: 278ms 2025-08-10T14:52:38.417744Z INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: Successfully handled the client request, took: 279ms 2025-08-10T14:52:39.449934Z INFO client_request{request=GetUserFollowedArtists}: spotify_player::client: Successfully handled the client request, took: 1311ms 2025-08-10T14:52:39.473875Z WARN spotify_player::client: No device found. Please make sure you already setup Spotify Connect support as described in https://github.com/aome510/spotify-player#spotify-connect. 2025-08-10T14:52:39.473912Z INFO spotify_player::client: Trying to connect to device (id=5c8387ff-6471-4ffa-85bb-3742cdaeb715) 2025-08-10T14:52:39.578257Z WARN spotify_player::client: No device found. Please make sure you already setup Spotify Connect support as described in https://github.com/aome510/spotify-player#spotify-connect. 2025-08-10T14:52:39.578297Z INFO spotify_player::client: Trying to connect to device (id=5c8387ff-6471-4ffa-85bb-3742cdaeb715) 2025-08-10T14:52:39.663778Z WARN librespot_core::apresolve: Failed to resolve all access points, using fallbacks 2025-08-10T14:52:39.663823Z WARN librespot_core::apresolve: Resolve access points error: Service unavailable { client error (Connect) } 2025-08-10T14:52:39.663840Z INFO librespot_core::spclient: Resolved "spclient.wg.spotify.com:443" as spclient access point 2025-08-10T14:52:39.664086Z WARN librespot_core::apresolve: Failed to resolve all access points, using fallbacks 2025-08-10T14:52:39.664101Z WARN librespot_core::apresolve: Resolve access points error: Service unavailable { client error (Connect) } 2025-08-10T14:52:39.664114Z INFO librespot_core::spclient: Resolved "spclient.wg.spotify.com:443" as spclient access point 2025-08-10T14:52:39.666556Z INFO spotify_player::client: Connection succeeded (device_id=5c8387ff-6471-4ffa-85bb-3742cdaeb715)! 2025-08-10T14:52:39.794246Z INFO spotify_player::client: Connection succeeded (device_id=5c8387ff-6471-4ffa-85bb-3742cdaeb715)! 2025-08-10T14:52:39.827072Z INFO librespot_playback::player: Loading <RATATATA> with Spotify URI <spotify:track:14WYmNQWvR2TTWoRp8t9Ml> 2025-08-10T14:52:39.828210Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) } 2025-08-10T14:52:39.932283Z WARN librespot_core::cdn_url: Cannot parse CDN URL expiry timestamp 'verify=1754923959-yH0AOMor9%2FPy0UIB9UThxi5H8kWrfjxOFTsEpGJY8NQ%3D' from 'https://audio-cf.spotifycdn.com/audio/3a98f766cb6cf388cabacf1ad1bb1652ccf1d33c?verify=1754923959-yH0AOMor9%2FPy0UIB9UThxi5H8kWrfjxOFTsEpGJY8NQ%3D' 2025-08-10T14:52:39.936840Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) } 2025-08-10T14:52:39.950474Z INFO librespot_playback::player: Loading <RATATATA> with Spotify URI <spotify:track:14WYmNQWvR2TTWoRp8t9Ml> 2025-08-10T14:52:39.960992Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 1822ms 2025-08-10T14:52:40.068264Z WARN librespot_core::cdn_url: Cannot parse CDN URL expiry timestamp 'verify=1754923960-B%2BkY7GIj2S%2BMp5PmjHS0%2B%2FW49iSp2TVdIetX518iOlM%3D' from 'https://audio-cf.spotifycdn.com/audio/3a98f766cb6cf388cabacf1ad1bb1652ccf1d33c?verify=1754923960-B%2BkY7GIj2S%2BMp5PmjHS0%2B%2FW49iSp2TVdIetX518iOlM%3D' 2025-08-10T14:52:40.830468Z ERROR spotify_player::client: Encountered an error when updating the playback state: The name is not activatable 2025-08-10T14:52:41.253586Z INFO librespot_playback::player: <RATATATA> (216428 ms) loaded 2025-08-10T14:52:41.253789Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("14WYmNQWvR2TTWoRp8t9Ml")) } 2025-08-10T14:52:41.253834Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("14WYmNQWvR2TTWoRp8t9Ml")), position_ms: 127177 } 2025-08-10T14:52:41.341459Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 198ms 2025-08-10T14:52:41.657595Z INFO librespot_playback::player: <RATATATA> (216428 ms) loaded 2025-08-10T14:52:52.416183Z INFO client_request{request=GetLyrics { track_id: TrackId("14WYmNQWvR2TTWoRp8t9Ml") }}: spotify_player::client: Successfully handled the client request, took: 116ms 2025-08-10T14:53:19.192836Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2025-08-10T14:53:20.386639Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 1822ms 2025-08-10T14:53:45.230872Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-top-tracks", kind: "Top Tracks" }))), update the context state 2025-08-10T14:53:48.371547Z ERROR client_request{request=GetUserTopTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/top/tracks?offset=350&limit=50: {"error": {"status": 502, "message": "Error while loading resource" } } ` <img width="1890" height="1025" alt="Image" src="https://github.com/user-attachments/assets/39923058-7085-4884-ba53-522cd9171278" />
Author
Owner

@ashes00 commented on GitHub (Aug 11, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

worked for me on Ubuntu 24.04.03
Strange that null routing that DNS fixes the issue. Owell. Thanks for the info!

<!-- gh-comment-id:3174786599 --> @ashes00 commented on GitHub (Aug 11, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' worked for me on Ubuntu 24.04.03 Strange that null routing that DNS fixes the issue. Owell. Thanks for the info!
Author
Owner

@mwillfox commented on GitHub (Aug 11, 2025):

I can confirm that adding 0.0.0.0 apresolve.spotify.com to /etc/hosts works for me as well on Arch.

<!-- gh-comment-id:3176652331 --> @mwillfox commented on GitHub (Aug 11, 2025): I can confirm that adding `0.0.0.0 apresolve.spotify.com` to `/etc/hosts` works for me as well on Arch.
Author
Owner

@tdayn3s commented on GitHub (Aug 11, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Also fixes it for raspberry pi os for those many who are wondering.

<!-- gh-comment-id:3176887116 --> @tdayn3s commented on GitHub (Aug 11, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' Also fixes it for raspberry pi os for those many who are wondering.
Author
Owner

@carlos-reyes93 commented on GitHub (Aug 11, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

It works. Thank you!

<!-- gh-comment-id:3176970727 --> @carlos-reyes93 commented on GitHub (Aug 11, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' It works. Thank you!
Author
Owner

@ninjada commented on GitHub (Aug 12, 2025):

works great macos, thanks for the fix!

<!-- gh-comment-id:3177788299 --> @ninjada commented on GitHub (Aug 12, 2025): works great macos, thanks for the fix!
Author
Owner

@haras-unicorn commented on GitHub (Aug 12, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

slay

nixos version :)

    networking.extraHosts = "0.0.0.0 apresolve.spotify.com";
<!-- gh-comment-id:3178474257 --> @haras-unicorn commented on GitHub (Aug 12, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' slay nixos version :) ```nix networking.extraHosts = "0.0.0.0 apresolve.spotify.com"; ```
Author
Owner

@krunder commented on GitHub (Aug 12, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

Worked for me as well

<!-- gh-comment-id:3178961793 --> @krunder commented on GitHub (Aug 12, 2025): > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' Worked for me as well
Author
Owner

@dbaird1 commented on GitHub (Aug 12, 2025):

Hi .. I have Archlinux .. same problem . This work for me:

sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

this doesn't get me anywhere on debian 12, will update if i work out my issue

EDIT: Tied the hotfix too, no dice

<!-- gh-comment-id:3179764837 --> @dbaird1 commented on GitHub (Aug 12, 2025): > Hi .. I have Archlinux .. same problem . This work for me: >sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' this doesn't get me anywhere on debian 12, will update if i work out my issue EDIT: Tied the hotfix too, no dice
Author
Owner

@haras-unicorn commented on GitHub (Aug 12, 2025):

i swear this worked for like 2 hours for me and now it stopped working wtffff

Hi .. I have Archlinux .. same problem . This work for me:
sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

slay

nixos version :)

networking.extraHosts = "0.0.0.0 apresolve.spotify.com";
<!-- gh-comment-id:3179816117 --> @haras-unicorn commented on GitHub (Aug 12, 2025): i swear this worked for like 2 hours for me and now it stopped working wtffff > > Hi .. I have Archlinux .. same problem . This work for me: > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' > > slay > > nixos version :) > > networking.extraHosts = "0.0.0.0 apresolve.spotify.com";
Author
Owner

@ashes00 commented on GitHub (Aug 12, 2025):

Beware I think there is another issue with the Spotify service as it pertains to 3rd party apps such as this, and libspot. spotify_player stuck at loading on a few different machines. I believe spotify is moving api functionality yet have not proof to offer.

<!-- gh-comment-id:3180375627 --> @ashes00 commented on GitHub (Aug 12, 2025): Beware I think there is another issue with the Spotify service as it pertains to 3rd party apps such as this, and libspot. spotify_player stuck at loading on a few different machines. I believe spotify is moving api functionality yet have not proof to offer.
Author
Owner

@diegoulloao commented on GitHub (Aug 23, 2025):

works great macos, thanks for the fix!

didn't work for me :(

<!-- gh-comment-id:3216221242 --> @diegoulloao commented on GitHub (Aug 23, 2025): > works great macos, thanks for the fix! didn't work for me :(
Author
Owner

@szaffarano commented on GitHub (Aug 23, 2025):

i swear this worked for like 2 hours for me and now it stopped working wtffff

Hi .. I have Archlinux .. same problem . This work for me:
sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts'

slay
nixos version :)

networking.extraHosts = "0.0.0.0 apresolve.spotify.com";

the /etc/hosts workaround stopped worked, check this comment with a working overlay

<!-- gh-comment-id:3216242739 --> @szaffarano commented on GitHub (Aug 23, 2025): > i swear this worked for like 2 hours for me and now it stopped working wtffff > > > > Hi .. I have Archlinux .. same problem . This work for me: > > > sudo sh -c 'printf "\n0.0.0.0 apresolve.spotify.com\n" >> /etc/hosts' > > > > > > slay > > nixos version :) > > ``` > > networking.extraHosts = "0.0.0.0 apresolve.spotify.com"; > > ``` the /etc/hosts workaround stopped worked, check [this comment](https://github.com/aome510/spotify-player/issues/802#issuecomment-3191659178) with a working overlay
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/spotify-player#469
No description provided.