Skip to content
  • Friedrich W. H. Kossebau's avatar
    [media controller applet] Support MPRIS services where CanPause==false · 06913fc2
    Friedrich W. H. Kossebau authored
    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
    06913fc2