Skip to content

Commit

Permalink
fix: do not start playing queue on context transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Feb 9, 2024
1 parent bdba4a1 commit 84342c8
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 @@ -173,7 +173,7 @@ func (p *AppPlayer) handlePlayerCommand(req dealer.RequestPayload) error {
for _, track := range transferState.Queue.Tracks {
ctxTracks.AddToQueue(track)
}
ctxTracks.SetPlayingQueue(true)
ctxTracks.SetPlayingQueue(transferState.Queue.IsPlayingQueue)

p.state.tracks = ctxTracks
p.state.player.Track = ctxTracks.CurrentTrack()
Expand Down

0 comments on commit 84342c8

Please sign in to comment.