comparison 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
comparison
equal deleted inserted replaced
2765:313ac85816bb 2766:ea20b1e92411
52 CMD_PL_WIN_TOGGLE 52 CMD_PL_WIN_TOGGLE
53 CMD_EQ_WIN_TOGGLE 53 CMD_EQ_WIN_TOGGLE
54 CMD_MAIN_WIN_TOGGLE 54 CMD_MAIN_WIN_TOGGLE
55 CMD_QUIT 55 CMD_QUIT
56 CMD_EJECT 56 CMD_EJECT
57 CMD_GET_INFO
58 CMD_PLAYLIST_GET_TUPLE_DATA
57 59
58 60
59 Remaining: 61 Remaining:
60 CMD_PLAYLIST_ADD 62 CMD_PLAYLIST_ADD
61 CMD_GET_SKIN 63 CMD_GET_SKIN
85 CMD_PLAYQUEUE_CLEAR 87 CMD_PLAYQUEUE_CLEAR
86 CMD_PLAYQUEUE_IS_QUEUED 88 CMD_PLAYQUEUE_IS_QUEUED
87 CMD_PLAYQUEUE_GET_POS 89 CMD_PLAYQUEUE_GET_POS
88 CMD_PLAYQUEUE_GET_QPOS 90 CMD_PLAYQUEUE_GET_QPOS
89 CMD_PLAYLIST_ENQUEUE_TO_TEMP 91 CMD_PLAYLIST_ENQUEUE_TO_TEMP
90 CMD_PLAYLIST_GET_TUPLE_DATA
91 --> 92 -->
92 93
93 <node name="/"> 94 <node name="/">
94 <!-- Audacious General Information --> 95 <!-- Audacious General Information -->
95 <interface name="org.atheme.audacious"> 96 <interface name="org.atheme.audacious">
180 <!-- Return the status as a string: --> 181 <!-- Return the status as a string: -->
181 <!-- one of {"playing" "paused" "stopped"} --> 182 <!-- one of {"playing" "paused" "stopped"} -->
182 <arg type="s" direction="out" name="status"/> 183 <arg type="s" direction="out" name="status"/>
183 </method> 184 </method>
184 185
186 <!-- What is the bitrate, frequency, and number of channels of the -->
187 <!-- current audio format? -->
188 <method name="Info">
189 <arg type="i" direction="out" name="rate"/>
190 <arg type="i" direction="out" name="freq"/>
191 <arg type="i" direction="out" name="nch"/>
192 </method>
193
185 <!-- What is the current output position? --> 194 <!-- What is the current output position? -->
186 <method name="Time"> 195 <method name="Time">
187 <!-- Position of song, in ms --> 196 <!-- Position of song, in ms -->
188 <arg type="i" direction="out" name="time"/> 197 <arg type="u" direction="out" name="time"/>
189 </method> 198 </method>
190 199
191 <!-- Seek to some absolute position in the current song --> 200 <!-- Seek to some absolute position in the current song -->
192 <method name="Seek"> 201 <method name="Seek">
193 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> 202 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
194 <!-- Position of song, in ms, to seek to --> 203 <!-- Position of song, in ms, to seek to -->
195 <arg type="i" name="pos"/> 204 <arg type="u" name="pos"/>
196
197 <!-- Return true on success, or false if position out of range? -->
198 <!-- <arg type="b" direction="out"/> -->
199 </method> 205 </method>
200 206
201 <!-- What is the playback volume? --> 207 <!-- What is the playback volume? -->
202 <method name="Volume"> 208 <method name="Volume">
203 <!-- Volume of the left channel --> 209 <!-- Volume of the left channel -->
223 229
224 <!-- Playlist Information/Manipulation --> 230 <!-- Playlist Information/Manipulation -->
225 <!-- Playlist position --> 231 <!-- Playlist position -->
226 <method name="Position"> 232 <method name="Position">
227 <!-- Return position of current song in current playlist --> 233 <!-- Return position of current song in current playlist -->
228 <arg type="i" direction="out" name="pos"/> 234 <arg type="u" direction="out" name="pos"/>
229 </method> 235 </method>
230 236
231 <!-- Skip ahead one song in the current playlist --> 237 <!-- Skip ahead one song in the current playlist -->
232 <method name="Advance"> 238 <method name="Advance">
233 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> 239 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
245 </method> 251 </method>
246 252
247 <!-- Get a song's title --> 253 <!-- Get a song's title -->
248 <method name="SongTitle"> 254 <method name="SongTitle">
249 <!-- Song position in the playlist --> 255 <!-- Song position in the playlist -->
250 <arg type="i" name="pos"/> 256 <arg type="u" name="pos"/>
251 257
252 <!-- Return title of desired song --> 258 <!-- Return title of desired song -->
253 <arg type="s" direction="out" name="title"/> 259 <arg type="s" direction="out" name="title"/>
254 </method> 260 </method>
255 261
256 <!-- Get a song's filename --> 262 <!-- Get a song's filename -->
257 <method name="SongFilename"> 263 <method name="SongFilename">
258 <!-- Song position in the playlist --> 264 <!-- Song position in the playlist -->
259 <arg type="i" name="pos"/> 265 <arg type="u" name="pos"/>
260 266
261 <!-- Return filename of desired song --> 267 <!-- Return filename of desired song -->
262 <arg type="s" direction="out" name="filename"/> 268 <arg type="s" direction="out" name="filename"/>
263 </method> 269 </method>
264 270
265 <!-- Get the length of some song, in seconds --> 271 <!-- Get the length of some song, in seconds -->
266 <method name="SongLength"> 272 <method name="SongLength">
267 <!-- Song position in the playlist --> 273 <!-- Song position in the playlist -->
268 <arg type="i" name="pos"/> 274 <arg type="u" name="pos"/>
269 275
270 <!-- Return length, in seconds, of desired song --> 276 <!-- Return length, in seconds, of desired song -->
271 <arg type="i" direction="out" name="length"/> 277 <arg type="i" direction="out" name="length"/>
272 </method> 278 </method>
273 279
274 <!-- Get the length of some song, in frames --> 280 <!-- Get the length of some song, in frames -->
275 <method name="SongFrames"> 281 <method name="SongFrames">
276 <!-- Song position in the playlist --> 282 <!-- Song position in the playlist -->
277 <arg type="i" name="pos"/> 283 <arg type="u" name="pos"/>
278 284
279 <!-- Return length, in frames, of desired song --> 285 <!-- Return length, in frames, of desired song -->
280 <arg type="i" direction="out" name="length"/> 286 <arg type="i" direction="out" name="length"/>
281 </method> 287 </method>
282 288
289 <!-- Get the value of a tuple field of some song -->
290 <method name="SongTuple">
291 <!-- Song position in the playlist -->
292 <arg type="u" name="pos"/>
293
294 <!-- Tuple name -->
295 <arg type="s" name="tuple"/>
296
297 <!-- Return tuple value -->
298 <arg type="v" direction="out" name="value"/>
299 </method>
300
283 <!-- Jump to some position in the playlist --> 301 <!-- Jump to some position in the playlist -->
284 <method name="Jump"> 302 <method name="Jump">
285 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> 303 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
286 <!-- Song position to jump to --> 304 <!-- Song position to jump to -->
287 <arg type="i" name="pos"/> 305 <arg type="u" name="pos"/>
306 </method>
307
308 <!-- Add some file to the current playlist -->
309 <method name="Add">
310 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
311 <!-- File to add -->
312 <arg type="s" name="file"/>
288 </method> 313 </method>
289 314
290 <!-- Add some URL to the current playlist --> 315 <!-- Add some URL to the current playlist -->
291 <method name="AddUrl"> 316 <method name="AddUrl">
292 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> 317 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
296 321
297 <!-- Delete some song from the playlist --> 322 <!-- Delete some song from the playlist -->
298 <method name="Delete"> 323 <method name="Delete">
299 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> 324 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
300 <!-- Position of song to delete --> 325 <!-- Position of song to delete -->
301 <arg type="i" name="pos"/> 326 <arg type="u" name="pos"/>
302 </method> 327 </method>
303 328
304 <!-- Clear the playlist --> 329 <!-- Clear the playlist -->
305 <method name="Clear"> 330 <method name="Clear">
306 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> 331 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>