Skip to content

Integrated playback goes on when switching to another device #811

@KUHLwasStolen

Description

@KUHLwasStolen

Describe the bug
When I play a song via the integrated client and then, while playing, switch to another device it starts playing on that device, but also keeps on playing on the integrated client.

To Reproduce

  1. Play a song on the integrated client
  2. Switch to another device (e.g. mobile app)
  3. Should hear the same song on both devices

Expected behaviour
Playback on the integrated client stops when switching devices

Log

2025-08-25T09:32:51.434475Z  INFO client_request{request=Player(TransferPlayback("42268e3d-3a70-492a-b18b-7ed0ea682877", true))}: spotify_player::client: Transferred playback to device with id=42268e3d-3a70-492a-b18b-7ed0ea682877
2025-08-25T09:32:51.434580Z  INFO client_request{request=Player(TransferPlayback("42268e3d-3a70-492a-b18b-7ed0ea682877", true))}: spotify_player::client: Successfully handled the client request, took: 330ms
2025-08-25T09:32:53.261550Z ERROR client_request{request=Player(ResumePause)}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden
2025-08-25T09:32:53.261783Z  INFO librespot_connect::spirc: device became inactive    
2025-08-25T09:32:53.368065Z  WARN librespot_connect::state::context: couldn't load context info because: context is not available. type: Default    
2025-08-25T09:32:53.487654Z ERROR librespot_connect::spirc: could not dispatch connect state update: Client specified an invalid argument { Response status code: 411 Length Required }    
2025-08-25T09:32:56.128548Z ERROR client_request{request=Player(ResumePause)}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden

Environment

  • OS: Arch
  • Application version: bd38dd0
  • Application features: pulseaudio-backend, streaming, pixelate, media-control

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions