Mercurial > audlegacy
diff src/audacious/objects.xml @ 2766:ea20b1e92411 trunk
[svn] Added CMD_GET_INFO and CMD_PLAYLIST_GET_TUPLE_DATA replacements; Changed some formatting and used unsigned numbers where appropriate.
author | magma |
---|---|
date | Sun, 13 May 2007 02:31:11 -0700 |
parents | cf080b11c3fa |
children | bf2d80abf76e |
line wrap: on
line diff
--- a/src/audacious/objects.xml Sun May 13 01:29:56 2007 -0700 +++ b/src/audacious/objects.xml Sun May 13 02:31:11 2007 -0700 @@ -54,6 +54,8 @@ CMD_MAIN_WIN_TOGGLE CMD_QUIT CMD_EJECT + CMD_GET_INFO + CMD_PLAYLIST_GET_TUPLE_DATA Remaining: @@ -87,7 +89,6 @@ CMD_PLAYQUEUE_GET_POS CMD_PLAYQUEUE_GET_QPOS CMD_PLAYLIST_ENQUEUE_TO_TEMP - CMD_PLAYLIST_GET_TUPLE_DATA --> <node name="/"> @@ -182,20 +183,25 @@ <arg type="s" direction="out" name="status"/> </method> + <!-- What is the bitrate, frequency, and number of channels of the --> + <!-- current audio format? --> + <method name="Info"> + <arg type="i" direction="out" name="rate"/> + <arg type="i" direction="out" name="freq"/> + <arg type="i" direction="out" name="nch"/> + </method> + <!-- What is the current output position? --> <method name="Time"> <!-- Position of song, in ms --> - <arg type="i" direction="out" name="time"/> + <arg type="u" direction="out" name="time"/> </method> <!-- Seek to some absolute position in the current song --> <method name="Seek"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> <!-- Position of song, in ms, to seek to --> - <arg type="i" name="pos"/> - - <!-- Return true on success, or false if position out of range? --> - <!-- <arg type="b" direction="out"/> --> + <arg type="u" name="pos"/> </method> <!-- What is the playback volume? --> @@ -225,7 +231,7 @@ <!-- Playlist position --> <method name="Position"> <!-- Return position of current song in current playlist --> - <arg type="i" direction="out" name="pos"/> + <arg type="u" direction="out" name="pos"/> </method> <!-- Skip ahead one song in the current playlist --> @@ -247,7 +253,7 @@ <!-- Get a song's title --> <method name="SongTitle"> <!-- Song position in the playlist --> - <arg type="i" name="pos"/> + <arg type="u" name="pos"/> <!-- Return title of desired song --> <arg type="s" direction="out" name="title"/> @@ -256,7 +262,7 @@ <!-- Get a song's filename --> <method name="SongFilename"> <!-- Song position in the playlist --> - <arg type="i" name="pos"/> + <arg type="u" name="pos"/> <!-- Return filename of desired song --> <arg type="s" direction="out" name="filename"/> @@ -265,7 +271,7 @@ <!-- Get the length of some song, in seconds --> <method name="SongLength"> <!-- Song position in the playlist --> - <arg type="i" name="pos"/> + <arg type="u" name="pos"/> <!-- Return length, in seconds, of desired song --> <arg type="i" direction="out" name="length"/> @@ -274,17 +280,36 @@ <!-- Get the length of some song, in frames --> <method name="SongFrames"> <!-- Song position in the playlist --> - <arg type="i" name="pos"/> + <arg type="u" name="pos"/> <!-- Return length, in frames, of desired song --> <arg type="i" direction="out" name="length"/> </method> + <!-- Get the value of a tuple field of some song --> + <method name="SongTuple"> + <!-- Song position in the playlist --> + <arg type="u" name="pos"/> + + <!-- Tuple name --> + <arg type="s" name="tuple"/> + + <!-- Return tuple value --> + <arg type="v" direction="out" name="value"/> + </method> + <!-- Jump to some position in the playlist --> <method name="Jump"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> <!-- Song position to jump to --> - <arg type="i" name="pos"/> + <arg type="u" name="pos"/> + </method> + + <!-- Add some file to the current playlist --> + <method name="Add"> + <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> + <!-- File to add --> + <arg type="s" name="file"/> </method> <!-- Add some URL to the current playlist --> @@ -298,7 +323,7 @@ <method name="Delete"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> <!-- Position of song to delete --> - <arg type="i" name="pos"/> + <arg type="u" name="pos"/> </method> <!-- Clear the playlist -->