lua-mpris icon indicating copy to clipboard operation
lua-mpris copied to clipboard

Properties cannot properly be read with qdbus

Open CounterPillow opened this issue 10 years ago • 1 comments
trafficstars

While they show up in the qt qDBusViewer, qdbus cannot read the mpv script's properties in that they never return anything. Players, such as Amarok, implementing the same interface, work as expected; there seems to be a difference between them which I am unable to locate.

✓ fratti@archbook ~ $ qdbus org.mpris.MediaPlayer2.mpv.instance0x41266fd8 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Identity
✓ fratti@archbook ~ $ 
✓ fratti@archbook ~ $ qdbus org.mpris.MediaPlayer2.amarok /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Identity
Amarok

For scripts which rely on qdbus to work (e.g. Konversation's media script), this is a big issue.

CounterPillow avatar Sep 16 '15 18:09 CounterPillow

My guess is that the org.freedesktop.DBus.Properties and org.freedesktop.DBus.Introspectable APIs are missing. The Lua DBus library should be the thing to implement that API properly (also probably needs to implement org.freedesktop.DBus.Peer too).

mathstuf avatar Apr 06 '16 03:04 mathstuf