summaryrefslogtreecommitdiff
path: root/src/player
diff options
context:
space:
mode:
Diffstat (limited to 'src/player')
-rw-r--r--src/player/Control.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player/Control.cxx b/src/player/Control.cxx
index 2f788ff44..c816c6e7f 100644
--- a/src/player/Control.cxx
+++ b/src/player/Control.cxx
@@ -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