player/control: unpause in Play()
Fix regression by commit 45f6129a
See http://bugs.musicpd.org/view.php?id=4477
This commit is contained in:
parent
bf65a9732c
commit
e5c6fe1bb2
@ -56,6 +56,11 @@ PlayerControl::Play(DetachedSong *song)
|
||||
|
||||
const ScopeLock protect(mutex);
|
||||
SeekLocked(song, SongTime::zero(), IgnoreError());
|
||||
|
||||
if (state == PlayerState::PAUSE)
|
||||
/* if the player was paused previously, we need to
|
||||
unpause it */
|
||||
PauseLocked();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user