From dffc46551e85e0ebdb039522729d6675baaf82c7 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 19 Apr 2019 12:38:01 +0200 Subject: [PATCH] Fix mpris2 CanPlay --- src/core/mpris2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mpris2.cpp b/src/core/mpris2.cpp index 18b47740..0d4bbb1d 100644 --- a/src/core/mpris2.cpp +++ b/src/core/mpris2.cpp @@ -426,7 +426,7 @@ bool Mpris2::CanGoPrevious() const { } bool Mpris2::CanPlay() const { - return app_->playlist_manager()->active() && app_->playlist_manager()->active()->rowCount() != 0 && !(app_->player()->GetState() == Engine::Playing); + return app_->playlist_manager()->active() && app_->playlist_manager()->active()->rowCount() != 0; } // This one's a bit different than MPRIS 1 - we want this to be true even when the song is already paused or stopped.