Support MPRIS stop
ClosedPublic

Authored by nicolasfella on Jun 24 2018, 8:13 PM.

Details

Summary

Fixes T9070

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Jun 24 2018, 8:13 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptJun 24 2018, 8:13 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
nicolasfella requested review of this revision.Jun 24 2018, 8:13 PM
nicolasfella edited the summary of this revision. (Show Details)Jun 24 2018, 8:19 PM

Such an obscure use case :P

Shouldn't we have a isStopAllowed() the same way we have isPlayAllowed(), isPauseAllowed(), etc? So the button is enabled/disabled depending on the player support for it (eg: Spotify only has pause).

albertvaka accepted this revision.Jul 26 2018, 6:04 PM

This can be merged anyway and implement the change when you have time.

This revision is now accepted and ready to land.Jul 26 2018, 6:04 PM

MPRIS does not have a canStop property. I guess we can extend the Spotify hack, but for other players I guess we can't do much

This revision was automatically updated to reflect the committed changes.