diff --git a/src/queue/PlaylistControl.cxx b/src/queue/PlaylistControl.cxx index daaa45b78..8db0cda7d 100644 --- a/src/queue/PlaylistControl.cxx +++ b/src/queue/PlaylistControl.cxx @@ -124,7 +124,7 @@ playlist::PlayNext(PlayerControl &pc, Error &error) if (!playing) { error.Set(playlist_domain, int(PlaylistResult::NOT_PLAYING), "Not playing"); - return true; + return false; } assert(!queue.IsEmpty()); @@ -176,7 +176,7 @@ playlist::PlayPrevious(PlayerControl &pc, Error &error) if (!playing) { error.Set(playlist_domain, int(PlaylistResult::NOT_PLAYING), "Not playing"); - return true; + return false; } assert(!queue.IsEmpty());