forked from quickshell/quickshell
service/mpris: finish mpris implementation
This commit is contained in:
parent
3b6d1c3bd8
commit
4ee9ac7f7c
16 changed files with 911 additions and 578 deletions
|
|
@ -1,33 +1,24 @@
|
|||
<node>
|
||||
<interface name='org.mpris.MediaPlayer2.Player'>
|
||||
<property name='CanControl' type='b' access='read' />
|
||||
<property name='CanGoNext' type='b' access='read' />
|
||||
<property name='CanGoPrevious' type='b' access='read' />
|
||||
<property name='CanPlay' type='b' access='read' />
|
||||
<property name='CanPause' type='b' access='read'/>
|
||||
<property name='Metadata' type='a{sv}' access='read'>
|
||||
<annotation name='org.qtproject.QtDBus.QtTypeName' value='QVariantMap'/>
|
||||
</property>
|
||||
<property name='PlaybackStatus' type='s' access='read'/>
|
||||
<property name='Shuffle' type='b' access='readwrite' />
|
||||
<property name='LoopStatus' type='s' access='readwrite' />
|
||||
<property name='Rate' type='d' access='readwrite' />
|
||||
<property name='Volume' type='d' access='readwrite' />
|
||||
<property name='Position' type='x' access='read' />
|
||||
<property name='MinimumRate' type='d' access='read' />
|
||||
<property name='MaximumRate' type='d' access='read' />
|
||||
<method name='SetPosition'>
|
||||
<arg direction='in' type='o' name='TrackId'/>
|
||||
<arg direction='in' type='x' name='Position'/>
|
||||
<interface name="org.mpris.MediaPlayer2.Player">
|
||||
<method name="OpenUri">
|
||||
<arg direction="in" type="s" name="Uri"/>
|
||||
</method>
|
||||
<method name='Seek'>
|
||||
<arg direction='in' type='x' name='Offset' />
|
||||
<method name="SetPosition">
|
||||
<arg direction="in" type="o" name="TrackId"/>
|
||||
<arg direction="in" type="x" name="Position"/>
|
||||
</method>
|
||||
<method name='PlayPause' />
|
||||
<method name='Next' />
|
||||
<method name='Previous' />
|
||||
<method name='Stop' />
|
||||
<method name='Play' />
|
||||
<method name='Pause' />
|
||||
<method name="Seek">
|
||||
<arg direction="in" type="x" name="Offset"/>
|
||||
</method>
|
||||
<method name="PlayPause"/>
|
||||
<method name="Next"/>
|
||||
<method name="Previous"/>
|
||||
<method name="Stop"/>
|
||||
<method name="Play"/>
|
||||
<method name="Pause"/>
|
||||
|
||||
<signal name="Seeked">
|
||||
<arg type="x" name="Position"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue