[GH-ISSUE #192] When playing music using spotcast the music plays but spotify client does not update #125

Closed
opened 2026-02-28 14:25:36 +03:00 by kerem · 3 comments
Owner

Originally created by @ironcrafter54 on GitHub (Aug 13, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/192

Sometimes when using spotcast to start music playback spotify will not update to show that music is playing over the go-librespot source.

the only logs present are:

daemon-1  | time="2025-08-13T20:56:18Z" level=info msg="authenticated Login5" username="x8*********************0a"
daemon-1  | time="2025-08-13T20:56:31Z" level=info msg="loaded track \"Feel Real Pretty\" (paused: false, position: 0ms, duration: 183127ms, prefetched: false)" uri="spotify:track:3RcoIYZ9HOJ8nhKLRV9c4e"
Originally created by @ironcrafter54 on GitHub (Aug 13, 2025). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/192 Sometimes when using [spotcast](https://github.com/fondberg/spotcast) to start music playback spotify will not update to show that music is playing over the go-librespot source. the only logs present are: ``` daemon-1 | time="2025-08-13T20:56:18Z" level=info msg="authenticated Login5" username="x8*********************0a" daemon-1 | time="2025-08-13T20:56:31Z" level=info msg="loaded track \"Feel Real Pretty\" (paused: false, position: 0ms, duration: 183127ms, prefetched: false)" uri="spotify:track:3RcoIYZ9HOJ8nhKLRV9c4e" ```
kerem 2026-02-28 14:25:36 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ironcrafter54 commented on GitHub (Aug 14, 2025):

To reproduce my issue:

  1. use go-librespot in interactive auth mode
  2. restart go librespot
  3. Trigger playback of a specific track using the Start/Resume playback web api request https://developer.spotify.com/documentation/web-api/reference/start-a-users-playback (this is the api spotcast causes and is the root issue)
  4. Notice how the audio should start playing but the spotify desktop or mobile app fails to reflect that spotify is playing on go-librespot, the problem is only resolved if you start playing manually then select the go-librespot source.
<!-- gh-comment-id:3186384162 --> @ironcrafter54 commented on GitHub (Aug 14, 2025): To reproduce my issue: 1. use go-librespot in interactive auth mode 2. restart go librespot 3. Trigger playback of a specific track using the Start/Resume playback web api request https://developer.spotify.com/documentation/web-api/reference/start-a-users-playback (this is the api spotcast causes and is the root issue) 4. Notice how the audio should start playing but the spotify desktop or mobile app fails to reflect that spotify is playing on go-librespot, the problem is only resolved if you start playing manually then select the go-librespot source.
Author
Owner

@devgianlu commented on GitHub (Aug 14, 2025):

Should be fixed. The device was not setting itself as the active playback device.

<!-- gh-comment-id:3188763105 --> @devgianlu commented on GitHub (Aug 14, 2025): Should be fixed. The device was not setting itself as the active playback device.
Author
Owner

@ironcrafter54 commented on GitHub (Aug 14, 2025):

Wow that was so fast, Thank you so much! I regret spending 2 hours setting up the original librespot instance back up last night lol

<!-- gh-comment-id:3188877251 --> @ironcrafter54 commented on GitHub (Aug 14, 2025): Wow that was so fast, Thank you so much! I regret spending 2 hours setting up the original librespot instance back up last night lol
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/go-librespot#125
No description provided.