Project

General

Profile

Feature #900

Add MPRIS support (SupportedUriSchemes and SupportedMimeTypes) to restore KDE Plasma compatibility

Added by Louis Cornell 11 days ago. Updated 9 days ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
core
Target version:
Start date:
September 05, 2019
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

Please add SupportedUriSchemes and SupportedMimeTypes properties on the MediaPlayer interface, which are mandatory for MPRIS implementation in KDE.

The was previously not required, but KDE's last plasma update made its media controller more strict to protect against "fishy" DBus traffic. The result: Media control in the current version of plasma (5.16.4-1) no longer works with Audacious.

Given the widespread use of KDE, I hope this can be prioritized.

SupportedUriSchemes — as

Read only
When this property changes, the org.freedesktop.DBus.Properties.PropertiesChanged signal is emitted with the new value.
The URI schemes supported by the media player.
This can be viewed as protocols supported by the player in almost all cases. Almost every media player will include support for the "file" scheme. Other common schemes are "http" and "rtsp".
Note that URI schemes should be lower-case.

SupportedMimeTypes — as

Read only
When this property changes, the org.freedesktop.DBus.Properties.PropertiesChanged signal is emitted with the new value.
The mime-types supported by the media player.
Mime-types should be in the standard format (eg: audio/mpeg or application/ogg).

https://specifications.freedesktop.org/mpris-spec/2.0/Media_Player.html#Property:SupportedUriSchemes

https://specifications.freedesktop.org/mpris-spec/2.0/Media_Player.html#Property:SupportedMimeTypes

History

#1 Updated by 3ndymion _ 11 days ago

Hi. To add a little voice to this, Audacious worked perfect with KDE's media player before they made it more strict. There were no usability problems at all between the 2 programs. It sure would be nice to have it working again. : )

#2 Updated by John Lindgren 9 days ago

KDE ought to consider what they break when they make changes like this. This is not trivial to implement, it will likely remain broken now for quite some time.

#3 Updated by William Pitcock 9 days ago

Sigh, I will work on it.

#4 Updated by William Pitcock 9 days ago

Latest git has enough of this implemented to pacify KDE 5.16.4. Please try it and reopen if you are still having problems.

#5 Updated by William Pitcock 9 days ago

  • Status changed from New to Closed

Also available in: Atom PDF