The status repeat, shuffle, vol, and device definition line keeps flashing

Author: ecabigtingCreated Jul 21, 2026Updated Jul 21, 2026
Labelsbug

Describe the bug When you open the app in any terminal, the line where it say repeat:, shuffle:, volume:, device:, keeps flashing

To Reproduce

  1. Open spotify player in any terminal
  2. Select a playback device
  3. Play a song

Expected behaviour The line should not be flashing

Log and backtrace

2026-07-21T15:36:17.791712Z  INFO librespot_playback::player: <Breakfast at Tiffany's (Acoustic Cover)> (235075 ms) loaded
2026-07-21T15:36:19.067998Z ERROR client_request{request=Player(Repeat)}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden
2026-07-21T15:36:20.562024Z  INFO client_request{request=Player(Repeat)}: spotify_player::client: Successfully handled the client request, took: 487ms
2026-07-21T15:36:24.328044Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 401 Unauthorized
2026-07-21T15:36:46.727806Z  INFO spotify_player::streaming: Got a new player event: EndOfTrack { playable_id: Track(TrackId("5qBQ6oIhJ1TTKqYJc39LCn")) }
2026-07-21T15:36:46.727960Z  INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("5qBQ6oIhJ1TTKqYJc39LCn")) }
2026-07-21T15:36:46.728005Z  INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("5qBQ6oIhJ1TTKqYJc39LCn")), position_ms: 0 }
2026-07-21T15:36:47.388823Z  INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 302ms
2026-07-21T15:36:47.404942Z  INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 218ms
2026-07-21T15:36:47.524511Z  INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 238ms
2026-07-21T15:36:47.710224Z  INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 323ms
2026-07-21T15:36:49.161101Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 401 Unauthorized
2026-07-21T15:36:51.767873Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 401 Unauthorized

Please refer to this URL for more details.

Screenshots

https://github.com/user-attachments/assets/a3da943a-b229-4013-ac00-d1c2a511c0e0

Environment

  • OS: EndeavourOS
  • Application version: spotify_player 0.24.1
  • Application features: cargo install spotify_player --no-default-features --features pulseaudio-backend,streaming,media-control,notify

Additional context Add any other context about the problem here.