Fix MPRIS pause
ClosedPublic

Authored by nicolasfella on Mar 4 2018, 3:34 PM.

Details

Reviewers
astippich
Group Reviewers
Elisa
Commits
R255:6e4f63227aff: Fix MPRIS pause
Summary

BUG: 390010

According to the MPRIS spec (https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html) the value of canPause should not depend on whether the track is currently paused. This patch makes Elisa behave
according to the specification and makes it controllable via KDE Connect

Test Plan

Inspect via DBus Viewer and KDE Connect

Diff Detail

Repository
R255 Elisa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella requested review of this revision.Mar 4 2018, 3:34 PM
nicolasfella created this revision.
astippich accepted this revision.Mar 4 2018, 4:09 PM
astippich added a subscriber: astippich.

Thanks! Coincidentally, I was looking into the same thing today. Reading the specification, this is the correct fix and mine wasn't entirely correct.

Please add the bug to the summary before pushing

BUG: 390010

This revision is now accepted and ready to land.Mar 4 2018, 4:09 PM
nicolasfella edited the summary of this revision. (Show Details)Mar 4 2018, 4:12 PM
This revision was automatically updated to reflect the committed changes.