MPRIS: Got everything necessary working. (I think.)
This commit is contained in:
parent
f23530628c
commit
1f149a25a3
10 changed files with 333 additions and 58 deletions
76
wobuzz/mpris/introspection.xml
Normal file
76
wobuzz/mpris/introspection.xml
Normal file
|
@ -0,0 +1,76 @@
|
|||
<node>
|
||||
<interface name="org.freedesktop.DBus.Introspectable">
|
||||
<method name="Introspect">
|
||||
<arg name="data" type="s" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.DBus.Properties">
|
||||
<method name="Get">
|
||||
<arg name="interface_name" type="s" direction="in"/>
|
||||
<arg name="property_name" type="s" direction="in"/>
|
||||
<arg name="value" type="v" direction="out"/>
|
||||
</method>
|
||||
<method name="GetAll">
|
||||
<arg name="interface_name" type="s" direction="in"/>
|
||||
<arg name="properties" type="a{sv}" direction="out"/>
|
||||
</method>
|
||||
<!--
|
||||
<method name="Set">
|
||||
<arg name="interface_name" type="s" direction="in"/>
|
||||
<arg name="property_name" type="s" direction="in"/>
|
||||
<arg name="value" type="v" direction="in"/>
|
||||
</method>
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="interface_name" type="s"/>
|
||||
<arg name="changed_properties" type="a{sv}"/>
|
||||
<arg name="invalidated_properties" type="as"/>
|
||||
</signal>
|
||||
</interface>
|
||||
<interface name="org.mpris.MediaPlayer2">
|
||||
<method name="Raise"/>
|
||||
<method name="Quit"/>
|
||||
<property name="CanQuit" access="read" type="b"/>
|
||||
<property name="Fullscreen" access="read" type="b"/>
|
||||
<property name="CanSetFullscreen" access="read" type="b"/>
|
||||
<property name="CanRaise" access="read" type="b"/>
|
||||
<property name="HasTrackList" access="read" type="b"/>
|
||||
<property name="Identity" access="read" type="s"/>
|
||||
<property name="DesktopEntry" access="read" type="s"/>
|
||||
<property name="SupportedUriSchemes" access="read" type="as"/>
|
||||
<property name="SupportedMimeTypes" access="read" type="as"/>
|
||||
</interface>
|
||||
<interface name="org.mpris.MediaPlayer2.Player">
|
||||
<method name="Next"/>
|
||||
<method name="Previous"/>
|
||||
<method name="Pause"/>
|
||||
<method name="PlayPause"/>
|
||||
<method name="Stop"/>
|
||||
<method name="Play"/>
|
||||
<method name="Seek">
|
||||
<arg name="Offset" type="x" direction="in"/>
|
||||
</method>
|
||||
<method name="SetPosition">
|
||||
<arg name="TrackId" type="o" direction="in"/>
|
||||
<arg name="Position" type="x" direction="in"/>
|
||||
</method>
|
||||
<method name="OpenUri">
|
||||
<arg name="Uri" type="s" direction="in"/>
|
||||
</method>
|
||||
<property name="PlaybackStatus" access="read" type="s"/>
|
||||
<property name="LoopStatus" access="read" type="s"/>
|
||||
<property name="Rate" access="read" type="d"/>
|
||||
<property name="Shuffle" access="read" type="b"/>
|
||||
<property name="Metadata" access="read" type="a{sv}"/>
|
||||
<property name="Volume" access="read" type="d"/>
|
||||
<property name="Position" access="read" type="x"/>
|
||||
<property name="MinimumRate" access="read" type="d"/>
|
||||
<property name="MaximumRate" access="read" type="d"/>
|
||||
<property name="CanGoNext" access="read" type="b"/>
|
||||
<property name="CanGoPrevious" access="read" type="b"/>
|
||||
<property name="CanPlay" access="read" type="b"/>
|
||||
<property name="CanPause" access="read" type="b"/>
|
||||
<property name="CanSeek" access="read" type="b"/>
|
||||
<property name="CanControl" access="read" type="b"/>
|
||||
</interface>
|
||||
</node>
|
Loading…
Add table
Add a link
Reference in a new issue