[PR #106] [MERGED] fix: update PlaybackSpeed when changing the IsPaused flag #212

Closed
opened 2026-02-28 14:26:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/devgianlu/go-librespot/pull/106
Author: @aykevl
Created: 10/1/2024
Status: Merged
Merged: 10/1/2024
Merged by: @devgianlu

Base: masterHead: fix-PlaybackSpeed


📝 Commits (1)

  • 1ff1029 fix: update PlaybackSpeed when changing the IsPaused flag

📊 Changes

3 files changed (+22 additions, -15 deletions)

View changed files

📝 cmd/daemon/controls.go (+6 -6)
📝 cmd/daemon/player.go (+4 -9)
📝 cmd/daemon/state.go (+12 -0)

📄 Description

The PlaybackSpeed field must be set to 0 when paused. Otherwise Spotify Android will correctly show the stream as paused but will still move the playback position when redrawing the UI (and for a very short time when resuming playback).

Fixes #104


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/devgianlu/go-librespot/pull/106 **Author:** [@aykevl](https://github.com/aykevl) **Created:** 10/1/2024 **Status:** ✅ Merged **Merged:** 10/1/2024 **Merged by:** [@devgianlu](https://github.com/devgianlu) **Base:** `master` ← **Head:** `fix-PlaybackSpeed` --- ### 📝 Commits (1) - [`1ff1029`](https://github.com/devgianlu/go-librespot/commit/1ff1029416dfdce1438a8603c4e415b4d9a402e7) fix: update PlaybackSpeed when changing the IsPaused flag ### 📊 Changes **3 files changed** (+22 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `cmd/daemon/controls.go` (+6 -6) 📝 `cmd/daemon/player.go` (+4 -9) 📝 `cmd/daemon/state.go` (+12 -0) </details> ### 📄 Description The PlaybackSpeed field must be set to 0 when paused. Otherwise Spotify Android will correctly show the stream as paused but will still move the playback position when redrawing the UI (and for a very short time when resuming playback). Fixes #104 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:26:16 +03:00
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#212
No description provided.