MPRIS2 TrackList interface is claimed but missing

Bug #1355526 reported by Dirk F on 2014-08-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME MPlayer
Unknown
Unknown
gnome-mplayer (Ubuntu)
Undecided
Unassigned

Bug Description

According to author kdekorte, http://kdekorte.blogspot.co.uk/2012/05/mpris2-support-in-gnome-mplayer.html, gnome-mplayer supports the MPRIS2 remote control interface since 1.0.7. This interface is useful eg to implement vendor-specific media player keys.

MPRIS2 comprises 4 interfaces, http://specifications.freedesktop.org/mpris-spec/latest/:

    org.mpris.MediaPlayer2
    org.mpris.MediaPlayer2.Player
optionally
    org.mpris.MediaPlayer2.TrackList
optionally
    org.mpris.MediaPlayer2.Playlists

In the version under test (Lubuntu 14.04, gnome-mplayer 1.0.8) the 2 required interfaces are supported. The HasTracklist property of interface org.mpris.MediaPlayer2 is returned as True. This means that the interface org.mpris.MediaPlayer2.TrackList ought to be supported, but it isn't, as shown in this output from a command-line MPRIS2 client.

Traceback (most recent call last):
  File "./mpris2-remote", line 749, in <module>
    for chunk in output_generator:
  File "./mpris2-remote", line 422, in trackinfo
    self.tracklist.GetTracksMetadata(['/org/mpris/MediaPlayer2/TrackList/' + track])
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetTracksMetadata" with signature "ao" on interface "org.mpris.MediaPlayer2.TrackList" doesn't exist

On checking the source file https://code.google.com/p/gnome-mplayer/source/browse/trunk/src/mpris-interface.c (r2452, latest), it becomes clear that the implementation of org.mpris.MediaPlayer2.TrackList is missing.

Consequently line 421 of the above file must be changed to, eg
                    b_val = FALSE; // change this to TRUE if the Tracklist interface is ever implemented

Then, and better, the Tracklist interface should be implemented.

Dirk F (fieldhouse) wrote :

Upstream bug at https://code.google.com/p/gnome-mplayer/issues/detail?id=721.

Apparently code.google .com is unknown to launchpad.

Ross Gammon (rosco2) wrote :

With a quick search, I was not able to find an installable MPRIS2 aware client. Which one are you using?

Changed in gnome-mplayer (Ubuntu):
status: New → Incomplete
Dirk F (fieldhouse) on 2017-01-14
Changed in gnome-mplayer (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.