mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[PR #106] [MERGED] fix: update PlaybackSpeed when changing the IsPaused flag #212
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:fix-PlaybackSpeed📝 Commits (1)
1ff1029fix: 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.