summaryrefslogtreecommitdiffstats
path: root/src/interfaces/org.mpris.MediaPlayer2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/org.mpris.MediaPlayer2.xml')
-rw-r--r--src/interfaces/org.mpris.MediaPlayer2.xml143
1 files changed, 143 insertions, 0 deletions
diff --git a/src/interfaces/org.mpris.MediaPlayer2.xml b/src/interfaces/org.mpris.MediaPlayer2.xml
new file mode 100644
index 0000000..12d1099
--- /dev/null
+++ b/src/interfaces/org.mpris.MediaPlayer2.xml
@@ -0,0 +1,143 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<!-- GDBus 2.40.0 -->
+<node>
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Get">
+ <arg type="s" name="interface_name" direction="in"/>
+ <arg type="s" name="property_name" direction="in"/>
+ <arg type="v" name="value" direction="out"/>
+ </method>
+ <method name="GetAll">
+ <arg type="s" name="interface_name" direction="in"/>
+ <arg type="a{sv}" name="properties" direction="out"/>
+ </method>
+ <method name="Set">
+ <arg type="s" name="interface_name" direction="in"/>
+ <arg type="s" name="property_name" direction="in"/>
+ <arg type="v" name="value" direction="in"/>
+ </method>
+ <signal name="PropertiesChanged">
+ <arg type="s" name="interface_name"/>
+ <arg type="a{sv}" name="changed_properties"/>
+ <arg type="as" name="invalidated_properties"/>
+ </signal>
+ </interface>
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <method name="Introspect">
+ <arg type="s" name="xml_data" direction="out"/>
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus.Peer">
+ <method name="Ping"/>
+ <method name="GetMachineId">
+ <arg type="s" name="machine_uuid" direction="out"/>
+ </method>
+ </interface>
+ <interface name="org.mpris.MediaPlayer2">
+ <method name="Raise">
+ </method>
+ <method name="Quit">
+ </method>
+ <property type="b" name="CanQuit" access="read">
+ </property>
+ <property type="b" name="CanRaise" access="read">
+ </property>
+ <property type="b" name="HasTrackList" access="read">
+ </property>
+ <property type="s" name="Identity" access="read">
+ </property>
+ <property type="s" name="DesktopEntry" access="read">
+ </property>
+ <property type="as" name="SupportedUriSchemes" access="read">
+ </property>
+ <property type="as" name="SupportedMimeTypes" access="read">
+ </property>
+ </interface>
+ <interface name="org.mpris.MediaPlayer2.Playlists">
+ <method name="ActivatePlaylist">
+ <arg type="o" name="PlaylistId" direction="in">
+ </arg>
+ </method>
+ <method name="GetPlaylists">
+ <arg type="u" name="Index" direction="in">
+ </arg>
+ <arg type="u" name="MaxCount" direction="in">
+ </arg>
+ <arg type="s" name="Order" direction="in">
+ </arg>
+ <arg type="b" name="ReverseOrder" direction="in">
+ </arg>
+ <arg type="a(oss)" name="arg_4" direction="out">
+ </arg>
+ </method>
+ <property type="u" name="PlaylistCount" access="read">
+ </property>
+ <property type="as" name="Orderings" access="read">
+ </property>
+ <property type="(b(oss))" name="ActivePlaylist" access="read">
+ </property>
+ </interface>
+ <interface name="org.mpris.MediaPlayer2.Player">
+ <method name="Next">
+ </method>
+ <method name="Previous">
+ </method>
+ <method name="Pause">
+ </method>
+ <method name="PlayPause">
+ </method>
+ <method name="Stop">
+ </method>
+ <method name="Play">
+ </method>
+ <method name="Seek">
+ <arg type="x" name="Offset" direction="in">
+ </arg>
+ </method>
+ <method name="SetPosition">
+ <arg type="o" name="TrackId" direction="in">
+ </arg>
+ <arg type="x" name="Position" direction="in">
+ </arg>
+ </method>
+ <method name="OpenUri">
+ <arg type="s" name="Uri" direction="in">
+ </arg>
+ </method>
+ <signal name="Seeked">
+ <arg type="x" name="Position">
+ </arg>
+ </signal>
+ <property type="s" name="PlaybackStatus" access="read">
+ </property>
+ <property type="s" name="LoopStatus" access="readwrite">
+ </property>
+ <property type="d" name="Rate" access="readwrite">
+ </property>
+ <property type="b" name="Shuffle" access="readwrite">
+ </property>
+ <property type="a{sv}" name="Metadata" access="read">
+ </property>
+ <property type="d" name="Volume" access="readwrite">
+ </property>
+ <property type="x" name="Position" access="read">
+ </property>
+ <property type="d" name="MinimumRate" access="read">
+ </property>
+ <property type="d" name="MaximumRate" access="read">
+ </property>
+ <property type="b" name="CanGoNext" access="read">
+ </property>
+ <property type="b" name="CanGoPrevious" access="read">
+ </property>
+ <property type="b" name="CanPlay" access="read">
+ </property>
+ <property type="b" name="CanPause" access="read">
+ </property>
+ <property type="b" name="CanSeek" access="read">
+ </property>
+ <property type="b" name="CanControl" access="read">
+ </property>
+ </interface>
+</node>