view src/audacious/mpris_player.xml @ 3319:d4f6507cded3 trunk

added a system that allows input plugins to signal to the core (actually, they MUST do it) that they're ready for playback and it's safe to call their stop function; this fixes a nasty race condition that triggered on fast track-switching
author Giacomo Lozito <james@develia.org>
date Fri, 10 Aug 2007 21:58:19 +0200
parents 8af43e099cce
children 904c58081f0a
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" ?>

<!--
 - Audacious: A cross-platform multimedia player
 - Copyright (c) 2007 William Pitcock
 - Copyright (c) 2007 Ben Tucker
 -
 - This program is free software; you can redistribute it and/or modify
 - it under the terms of the GNU General Public License as published by
 - the Free Software Foundation; under version 3 of the License.
 -
 - This program is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 - GNU General Public License for more details.
 -
 - You should have received a copy of the GNU General Public License
 - along with this program.  If not, see <http://www.gnu.org/licenses>.
 -->

<node name="/Player">
    <interface name="org.freedesktop.MediaPlayer">
        <method name="Next">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="Prev">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="Pause">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="Stop">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="Play">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="Repeat">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
            <arg type="b" direction="in" />
        </method>
        <method name="Quit">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="Disconnect">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
        </method>
        <method name="GetStatus">
            <arg type="i" direction="out" />
        </method>
        <method name="GetMetadata">
            <arg type="a{sv}" direction="out" />
        </method>
        <method name="GetCaps">
            <arg type="i" direction="out" />
        </method>
        <method name="VolumeSet">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
            <arg type="i" direction="in" />
        </method>
        <method name="VolumeGet">
            <arg type="i" direction="out" />
        </method>
        <method name="PositionSet">
            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
            <arg type="i" direction="in" />
        </method>
        <method name="PositionGet">
            <arg type="i" direction="out" />
        </method>

        <signal name="TrackChange">
            <arg type="a{sv}" />
        </signal>
        <signal name="StatusChange">
            <arg type="i" />
        </signal>
        <signal name="CapsChange">
            <arg type="i" />
        </signal>
		<signal name="Disconnected" />
    </interface>
</node>