view src/audacious/mpris_tracklist.xml @ 2704:7d9139b393ce trunk

[svn] - define mpris /TrackList object in XML.
author nenolod
date Mon, 07 May 2007 17:56:35 -0700
parents src/audacious/mpris_root.xml@fa67680f3a29
children 4585019eb82e
line wrap: on
line source

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

<!--
 - Audacious: A cross-platform multimedia player
 - Copyright (c) 2007 William Pitcock
 -
 - 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 2 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, write to the Free Software
 - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 - 02110-1301, USA.
 -->

<node name="/TrackList">
    <interface name="org.freedesktop.MediaPlayer">
        <method name="GetMetadata">
            <arg type="i" direction="in" />
            <arg type="a{sv}" direction="out" />
        </method>
        <method name="GetCurrentTrack">
            <arg type="i" direction="out" />
        </method>
        <method name="GetLength">
            <arg type="i" direction="out" />
        </method>
        <method name="AddTrack">
            <arg type="s" direction="in" />
            <arg type="b" direction="in" />
        </method>
        <method name="DelTrack">
            <arg type="i" direction="in" />
        </method>
        <method name="Loop">
            <arg type="b" direction="in" />
        </method>
        <method name="Shuffle">
            <arg type="b" direction="in" />
        </method>
    </interface>
</node>