/src/libtomahawk/infosystem/infoplugins/unix/mprispluginplayeradaptor.xml

http://github.com/tomahawk-player/tomahawk · XML · 41 lines · 41 code · 0 blank · 0 comment · 0 complexity · e376ab1be46f519383debb2330dff3ab MD5 · raw file

  1. <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
  2. <node>
  3. <interface name="org.mpris.MediaPlayer2.Player">
  4. <method name="Next"/>
  5. <method name="Previous"/>
  6. <method name="Pause"/>
  7. <method name="PlayPause"/>
  8. <method name="Stop"/>
  9. <method name="Play"/>
  10. <method name="Seek">
  11. <arg type="x" name="Offset" direction="in" />
  12. </method>
  13. <method name="SetPosition">
  14. <arg type="o" name="TrackId" direction="in" />
  15. <arg type="x" name="Position" direction="in" />
  16. </method>
  17. <method name="OpenUri">
  18. <arg type="s" name="Uri" direction="in" />
  19. </method>
  20. <signal name="Seeked">
  21. <arg type="x" name="Position" direction="out" />
  22. </signal>
  23. <property name="PlaybackStatus" type="s" access="read"/>
  24. <property name="LoopStatus" type="s" access="readwrite"/>
  25. <property name="Rate" type="d" access="readwrite"/>
  26. <property name="Shuffle" type="b" access="readwrite"/>
  27. <property name="Metadata" type="a{sv}" access="read">
  28. <annotation name="com.trolltech.QtDBus.QtTypeName" value="QVariantMap"/>
  29. </property>
  30. <property name="Volume" type="d" access="readwrite"/>
  31. <property name="Position" type="x" access="read"/>
  32. <property name="MinimumRate" type="d" access="read"/>
  33. <property name="MaximumRate" type="d" access="read"/>
  34. <property name="CanGoNext" type="b" access="read"/>
  35. <property name="CanGoPrevious" type="b" access="read"/>
  36. <property name="CanPlay" type="b" access="read"/>
  37. <property name="CanPause" type="b" access="read"/>
  38. <property name="CanSeek" type="b" access="read"/>
  39. <property name="CanControl" type="b" access="read"/>
  40. </interface>
  41. </node>