Skip to content

Commit

Permalink
Refine check
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Nov 13, 2024
1 parent d9ae9a6 commit adb5aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/daemon/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (p *AppPlayer) handlePlayerCommand(req dealer.RequestPayload) error {

// options
p.state.player.Options = transferState.Options
pause := transferState.Playback.IsPaused && req.Command.Options.RestorePaused == "pause"
pause := transferState.Playback.IsPaused && req.Command.Options.RestorePaused != "resume"
// playback
// Note: this sets playback speed to 0 or 1 because that's all we're
// capable of, depending on whether the playback is paused or not.
Expand Down

0 comments on commit adb5aa9

Please sign in to comment.