Commit becb0deb authored by Alex Merry's avatar Alex Merry
Browse files

Fix playback status for MPRIS2 interface

Make use of the playbackStatusChanged EngineController signal to find
when we should update the playback status property, otherwise we set it
too early and get the wrong value.

BUG: 268282
FIXED-IN: 2.4.1
parent abe077f6
......@@ -82,6 +82,8 @@ VERSION 2.4.1
* Fixed issue with TagDialog that make metadata fields stay editable if multiple
streams opened. (BR 177400)
* Fixed missing equals-sign ('=') in filter string of bookmarks. (BR 245759)
* Fixed reporting of playback status for MPRIS (both versions).
(BR 268282)
VERSION 2.4.0
......
......@@ -99,11 +99,7 @@ namespace Amarok
EngineController *engine = The::engineController();
connect( engine, SIGNAL( stopped( qint64, qint64 ) ),
this, SLOT( updatePlaybackStatusProperty() ) );
connect( engine, SIGNAL( paused() ),
this, SLOT( updatePlaybackStatusProperty() ) );
connect( engine, SIGNAL( trackPlaying( Meta::TrackPtr ) ),
connect( engine, SIGNAL( playbackStateChanged() ),
this, SLOT( updatePlaybackStatusProperty() ) );
connect( engine, SIGNAL( trackChanged( Meta::TrackPtr ) ),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment