Add support for MPRIS2 "Metadata" request

Bug #1440191 reported by moma on 2015-04-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ANoise
Undecided
Unassigned

Bug Description

Would you please add support for Metadata request.
Ref: http://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html

Test with:

$ dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.anoise /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'

$ dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'PlaybackStatus'

F.ex audio-recorder would need Metadata.
https://launchpad.net/~audio-recorder

Thanks for a great ambient player.

moma (osmoma) wrote :

Fixing a typo. The player should be anoise (not rhythmbox).

$ dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.anoise /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'

$ dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.anoise /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'PlaybackStatus'

Obrigado. Boa noite.

costales (costales) wrote :

Hi! Thanks a lot for your feedback! :)

Uhm... I'm not sure, but it appears to use that (?)

costales@netbook:~$ dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.anoise /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'PlaybackStatus'
method return sender=:1.63 -> dest=:1.72 reply_serial=2
   variant string "Paused"
costales@netbook:~$ dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'PlaybackStatus'
method return sender=:1.64 -> dest=:1.73 reply_serial=2
   variant string "Paused"
costales@netbook:~$

ANoise is only using the basic states :O

Best regards!

Changed in anoise:
status: New → Triaged
costales (costales) on 2017-06-12
Changed in anoise:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers