subsonic-tui/vendor/github.com/quarckster/go-mpris-server/internal/spec.xml
Sagi Dayan 48661005be
initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-09-01 16:30:56 +03:00

185 lines
7.9 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/mpris/MediaPlayer2">
<interface name="org.mpris.MediaPlayer2">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
<method name="Raise"/>
<method name="Quit"/>
<property name="CanQuit" type="b" access="read"/>
<property name="Fullscreen" type="b" access="readwrite">
<annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
</property>
<property name="CanSetFullscreen" type="b" access="read">
<annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
</property>
<property name="CanRaise" type="b" access="read"/>
<property name="HasTrackList" type="b" access="read"/>
<property name="Identity" type="s" access="read"/>
<property name="DesktopEntry" type="s" access="read">
<annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
</property>
<property name="SupportedUriSchemes" type="as" access="read"/>
<property name="SupportedMimeTypes" type="as" access="read"/>
</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 direction="in" type="x" name="Offset" />
</method>
<method name="SetPosition">
<arg direction="in" type="o" name="TrackId"/>
<arg direction="in" type="x" name="Position"/>
</method>
<method name="OpenUri">
<arg direction="in" type="s" name="Uri"/>
</method>
<property name="PlaybackStatus" type="s" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="LoopStatus" type="s" access="readwrite">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
<annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
</property>
<property name="Rate" type="d" access="readwrite">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="Shuffle" type="b" access="readwrite">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
<annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
</property>
<property name="Metadata" type="a{sv}" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="Volume" type="d" access="readwrite">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="Position" type="x" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
</property>
<property name="MinimumRate" type="d" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="MaximumRate" type="d" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="CanGoNext" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="CanGoPrevious" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="CanPlay" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="CanPause" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="CanSeek" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="CanControl" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
</property>
<signal name="Seeked">
<arg name="Position" type="x"/>
</signal>
</interface>
<interface name="org.mpris.MediaPlayer2.Playlists">
<method name="ActivatePlaylist">
<arg direction="in" name="PlaylistId" type="o"/>
</method>
<method name="GetPlaylists">
<arg direction="in" name="Index" type="u"/>
<arg direction="in" name="MaxCount" type="u"/>
<arg direction="in" name="Order" type="s"/>
<arg direction="in" name="ReverseOrder" type="b"/>
<arg direction="out" name="Playlists" type="a(oss)"/>
</method>
<property name="PlaylistCount" type="u" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="Orderings" type="as" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<property name="ActivePlaylist" type="(b(oss))" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<signal name="PlaylistChanged">
<arg name="Playlist" type="(oss)"/>
</signal>
</interface>
<interface name="org.mpris.MediaPlayer2.TrackList">
<method name="GetTracksMetadata">
<arg direction="in" name="TrackIds" type="ao"/>
<arg direction="out" type="aa{sv}" name="Metadata"/>
</method>
<method name="AddTrack">
<arg direction="in" type="s" name="Uri"/>
<arg direction="in" type="o" name="AfterTrack"/>
<arg direction="in" type="b" name="SetAsCurrent"/>
</method>
<method name="RemoveTrack">
<arg direction="in" type="o" name="TrackId"/>
</method>
<method name="GoTo">
<arg direction="in" type="o" name="TrackId"/>
</method>
<property name="Tracks" type="ao" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="invalidates"/>
</property>
<property name="CanEditTracks" type="b" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
</property>
<signal name="TrackListReplaced">
<arg name="Tracks" type="ao"/>
<arg name="CurrentTrack" type="o"/>
</signal>
<signal name="TrackAdded">
<arg type="a{sv}" name="Metadata"/>
<arg type="o" name="AfterTrack"/>
</signal>
<signal name="TrackRemoved">
<arg type="o" name="TrackId"/>
</signal>
<signal name="TrackMetadataChanged">
<arg type="o" name="TrackId"/>
<arg type="a{sv}" name="Metadata"/>
</signal>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="out" direction="out" type="s"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Peer">
<method name="Ping"/>
<method name="GetMachineId">
<arg name="machine_uuid" type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface" type="s" direction="in"></arg>
<arg name="property" type="s" direction="in"></arg>
<arg name="value" type="v" direction="out"></arg>
</method>
<method name="GetAll">
<arg name="interface" type="s" direction="in"></arg>
<arg name="properties" type="a{sv}" direction="out"></arg>
</method>
<method name="Set">
<arg name="interface" type="s" direction="in"></arg>
<arg name="property" type="s" direction="in"></arg>
<arg name="value" type="v" direction="in"></arg>
</method>
<signal name="PropertiesChanged">
<arg name="interface" type="s"></arg>
<arg name="changed_properties" type="a{sv}"></arg>
<arg name="invalidated_properties" type="as"></arg>
</signal>
</interface>
</node>