Skip to content
Commit 06913fc2 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[media controller applet] Support MPRIS services where CanPause==false

Summary:
Currently the media controller only works with MPRIS services which support
the PlayPause command. By the MPRIS spec this is an optional feature though.
While most players out there support this, the MPRIS support in Gwenview
currently worked on does not (would need some more rewrite of internals).
Which makes the Media controller applet and/or Gwenview look broken :)

To keep the current design with a central Play/Not Play button, this patch
changes its behaviour depending on the CanPause flag:
CanPause=true ->  show either Play or Pause
CanPause=false -> show Play enabled/disabled

Reviewers: broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10973
parent d62c50d5
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