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

<!--
 * mpris_tracklist.xml
 * Copyright 2007 William Pitcock and Ben Tucker
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions, and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions, and the following disclaimer in the documentation
 *    provided with the distribution.
 *
 * This software is provided "as is" and without any warranty, express or
 * implied. In no event shall the authors be liable for any damages arising from
 * the use of this software.
 -->

<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="Random">
            <arg type="b" direction="in" />
        </method>

        <signal name="TrackListChange">
            <arg type="i" />
        </signal>
    </interface>
</node>
