You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
This exposes the package name to MPRIS and allows to raise the application to the front when clicking the MPRIS notification.
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<node>
|
|
<interface name="org.mpris.MediaPlayer2">
|
|
<method name="Raise"/>
|
|
<property name="CanRaise" type="b" access="read"/>
|
|
<property name="Identity" type="s" access="read"/>
|
|
<property name="DesktopEntry" type="s" access="read"/>
|
|
</interface>
|
|
<interface name="org.mpris.MediaPlayer2.Player">
|
|
<method name="Play"/>
|
|
<method name="Pause"/>
|
|
<method name="PlayPause"/>
|
|
<method name="Next"/>
|
|
<method name="Previous"/>
|
|
<method name="Seek">
|
|
<arg name="Offset" direction="in" type="x"/>
|
|
</method>
|
|
<method name="SetPosition">
|
|
<arg name="TrackId" direction="in" type="o"/>
|
|
<arg name="Position" direction="in" type="x"/>
|
|
</method>
|
|
<property name="CanControl" type="b" access="read"/>
|
|
<property name="CanPlay" type="b" access="read"/>
|
|
<property name="CanPause" type="b" access="read"/>
|
|
<property name="CanSeek" type="b" access="read"/>
|
|
<property name="CanGoNext" type="b" access="read"/>
|
|
<property name="CanGoPrevious" type="b" access="read"/>
|
|
<property name="Metadata" type="a{sv}" access="read"/>
|
|
<property name="PlaybackStatus" type="s" access="read"/>
|
|
<property name="Position" type="x" access="read"/>
|
|
</interface>
|
|
</node>
|