** Description changed:

  * Metadata property from org.mpris.MediaPlayer2.Player is not exported
  (see service_skeleton.cpp)
  
- * Some DBus calls make media-hub-server crash, like:
+ * Some DBus calls to object /org/mpris/MediaPlayer2 do not return
+ anything, like:
  
  dbus-send --print-reply --type=method_call
  --dest=core.ubuntu.media.Service /org/mpris/MediaPlayer2
  org.freedesktop.DBus.Properties.GetAll
+ string:org.mpris.MediaPlayer2.TrackList
+ 
+ Others are not answered, like:
  
  dbus-send --print-reply --type=method_call
- --dest=core.ubuntu.media.Service
- /core/ubuntu/media/Service/sessions/0/TrackList
- org.freedesktop.DBus.Properties.Get string:Tracks
+ --dest=core.ubuntu.media.Service /org/mpris/MediaPlayer2
+ org.freedesktop.DBus.Properties.Get
+ string:org.mpris.MediaPlayer2.TrackList string:Tracks
  
- This happens because the MPRIS interface is not fully implemented.
+ Note that MPRIS specification [1] says that the implementations *must*
+ use "/org/mpris/MediaPlayer2" as object path. However, we are using
+ "/core/ubuntu/media/Service/sessions/<number>" and
+ "/core/ubuntu/media/Service/sessions/<number>/TrackList" for most
+ signals and methods.
  
  * Also, we do not return an error in the DBus call if DBus calls Next or
  Previous fail due to an empty track list (see
  media::TrackListSkeleton::next() and
  media::TrackListSkeleton::previous())
+ 
+ [1] http://specifications.freedesktop.org/mpris-spec/latest/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1498962

Title:
  MPRIS is only partially implemented

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/1498962/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to