Mercurial > audlegacy
comparison src/audacious/objects.xml @ 2694:c2b82432c1b6 trunk
[svn] Added basic DBus support, disabled by default with a configuration option to enable it. The general and playback information/manipulation methods are currently the only ones implemented. That is version, play, pause, stop, playing, paused, stopped, status, and seek. There are stubs for many unimplemented methods.
| author | magma |
|---|---|
| date | Sat, 05 May 2007 15:37:54 -0700 |
| parents | |
| children | 4c4c8b294287 |
comparison
equal
deleted
inserted
replaced
| 2693:b47f5577bea0 | 2694:c2b82432c1b6 |
|---|---|
| 1 <?xml version="1.0" encoding="UTF-8" ?> | |
| 2 | |
| 3 <!-- | |
| 4 Defined: | |
| 5 CMD_GET_VERSION | |
| 6 CMD_PLAY | |
| 7 CMD_PAUSE | |
| 8 CMD_STOP | |
| 9 CMD_IS_PLAYING | |
| 10 CMD_GET_PLAYLIST_POS | |
| 11 CMD_SET_PLAYLIST_POS | |
| 12 CMD_GET_PLAYLIST_LENGTH | |
| 13 CMD_PLAYLIST_CLEAR | |
| 14 CMD_GET_OUTPUT_TIME | |
| 15 CMD_JUMP_TO_TIME | |
| 16 CMD_GET_PLAYLIST_FILE | |
| 17 CMD_GET_PLAYLIST_TITLE | |
| 18 CMD_GET_PLAYLIST_TIME | |
| 19 CMD_PLAYLIST_PREV | |
| 20 CMD_PLAYLIST_NEXT | |
| 21 CMD_TOGGLE_REPEAT | |
| 22 CMD_TOGGLE_SHUFFLE | |
| 23 CMD_PLAYLIST_ADD_URL_STRING | |
| 24 CMD_PLAYLIST_DELETE | |
| 25 CMD_IS_REPEAT | |
| 26 CMD_IS_SHUFFLE | |
| 27 | |
| 28 | |
| 29 Remaining: | |
| 30 CMD_PLAYLIST_ADD | |
| 31 CMD_GET_VOLUME | |
| 32 CMD_SET_VOLUME | |
| 33 CMD_GET_SKIN | |
| 34 CMD_SET_SKIN | |
| 35 CMD_GET_INFO | |
| 36 CMD_GET_EQ_DATA | |
| 37 CMD_SET_EQ_DATA | |
| 38 CMD_PL_WIN_TOGGLE | |
| 39 CMD_EQ_WIN_TOGGLE | |
| 40 CMD_SHOW_PREFS_BOX | |
| 41 CMD_TOGGLE_AOT | |
| 42 CMD_SHOW_ABOUT_BOX | |
| 43 CMD_EJECT | |
| 44 CMD_PING? | |
| 45 CMD_GET_BALANCE | |
| 46 CMD_MAIN_WIN_TOGGLE | |
| 47 CMD_IS_EQ_WIN | |
| 48 CMD_IS_PL_WIN | |
| 49 CMD_IS_MAIN_WIN | |
| 50 CMD_GET_EQ | |
| 51 CMD_GET_EQ_PREAMP | |
| 52 CMD_GET_EQ_BAND | |
| 53 CMD_SET_EQ | |
| 54 CMD_SET_EQ_PREAMP | |
| 55 CMD_SET_EQ_BAND | |
| 56 CMD_QUIT | |
| 57 CMD_PLAYLIST_INS_URL_STRING | |
| 58 CMD_PLAYLIST_INS | |
| 59 CMD_PLAY_PAUSE | |
| 60 CMD_PLAYQUEUE_ADD | |
| 61 CMD_GET_PLAYQUEUE_LENGTH | |
| 62 CMD_PLAYQUEUE_REMOVE | |
| 63 CMD_TOGGLE_ADVANCE | |
| 64 CMD_IS_ADVANCE | |
| 65 CMD_ACTIVATE | |
| 66 CMD_SHOW_JTF_BOX | |
| 67 CMD_PLAYQUEUE_CLEAR | |
| 68 CMD_PLAYQUEUE_IS_QUEUED | |
| 69 CMD_PLAYQUEUE_GET_POS | |
| 70 CMD_PLAYQUEUE_GET_QPOS | |
| 71 CMD_PLAYLIST_ENQUEUE_TO_TEMP | |
| 72 CMD_PLAYLIST_GET_TUPLE_DATA | |
| 73 --> | |
| 74 | |
| 75 <node name="/org/audacious"> | |
| 76 <!-- Audacious General Information --> | |
| 77 <interface name="org.audacious.general"> | |
| 78 <!-- Audacious version --> | |
| 79 <method name="Version"> | |
| 80 <arg type="s" direction="out" name="version"/> | |
| 81 </method> | |
| 82 </interface> | |
| 83 | |
| 84 <!-- Playback Information/Manipulation --> | |
| 85 <interface name="org.audacious.playback"> | |
| 86 <!-- Begin or resume playback --> | |
| 87 <method name="Play"/> | |
| 88 | |
| 89 <!-- Pause playback --> | |
| 90 <method name="Pause"/> | |
| 91 | |
| 92 <!-- Stop playback --> | |
| 93 <method name="Stop"/> | |
| 94 | |
| 95 <!-- Is playback playing? --> | |
| 96 <method name="Playing"> | |
| 97 <!-- Return true if playing, false otherwise --> | |
| 98 <arg type="b" direction="out" name="is_playing"/> | |
| 99 </method> | |
| 100 | |
| 101 <!-- Is playback paused? --> | |
| 102 <method name="Paused"> | |
| 103 <!-- Return true if paused, false otherwise --> | |
| 104 <arg type="b" direction="out" name="is_paused"/> | |
| 105 </method> | |
| 106 | |
| 107 <!-- Is playback stopped? --> | |
| 108 <method name="Stopped"> | |
| 109 <!-- Return true if stopped, false otherwise --> | |
| 110 <arg type="b" direction="out" name="is_stopped"/> | |
| 111 </method> | |
| 112 | |
| 113 <!-- What is the playback status? --> | |
| 114 <method name="Status"> | |
| 115 <!-- Return the status as a string: --> | |
| 116 <!-- one of {"playing" "paused" "stopped"} --> | |
| 117 <arg type="s" direction="out" name="status"/> | |
| 118 </method> | |
| 119 | |
| 120 <!-- Seek to some absolute position in the current song --> | |
| 121 <method name="Seek"> | |
| 122 <!-- Position of song, in ms, to seek to --> | |
| 123 <arg type="i" name="pos"/> | |
| 124 | |
| 125 <!-- Return true on success, or false if position out of range? --> | |
| 126 <!-- <arg type="b" direction="out"/> --> | |
| 127 </method> | |
| 128 </interface> | |
| 129 | |
| 130 <!-- Playlist Information/Manipulation --> | |
| 131 <interface name="org.audacious.playlist"> | |
| 132 <!-- Playlist position --> | |
| 133 <method name="Position"> | |
| 134 <!-- Return position of current song in current playlist --> | |
| 135 <arg type="i" direction="out" name="pos"/> | |
| 136 </method> | |
| 137 | |
| 138 <!-- Skip ahead one song in the current playlist --> | |
| 139 <method name="Advance"/> | |
| 140 | |
| 141 <!-- Skip backwards one song in the current playlist --> | |
| 142 <method name="Reverse"/> | |
| 143 | |
| 144 <!-- Playlist length --> | |
| 145 <method name="Length"> | |
| 146 <!-- Return length of current playlist --> | |
| 147 <arg type="i" direction="out" name="length"/> | |
| 148 </method> | |
| 149 | |
| 150 <!-- Get a song's title --> | |
| 151 <method name="SongTitle"> | |
| 152 <!-- Song position in the playlist --> | |
| 153 <arg type="i" name="pos"/> | |
| 154 | |
| 155 <!-- Return title of desired song --> | |
| 156 <arg type="s" direction="out" name="title"/> | |
| 157 </method> | |
| 158 | |
| 159 <!-- Get a song's filename --> | |
| 160 <method name="SongFilename"> | |
| 161 <!-- Song position in the playlist --> | |
| 162 <arg type="i" name="pos"/> | |
| 163 | |
| 164 <!-- Return filename of desired song --> | |
| 165 <arg type="s" direction="out" name="filename"/> | |
| 166 </method> | |
| 167 | |
| 168 <!-- Get the length of some song, in seconds --> | |
| 169 <method name="SongLength"> | |
| 170 <!-- Song position in the playlist --> | |
| 171 <arg type="i" name="pos"/> | |
| 172 | |
| 173 <!-- Return length, in seconds, of desired song --> | |
| 174 <arg type="i" direction="out" name="length"/> | |
| 175 </method> | |
| 176 | |
| 177 <!-- Get the length of some song, in frames --> | |
| 178 <method name="SongFrames"> | |
| 179 <!-- Song position in the playlist --> | |
| 180 <arg type="i" name="pos"/> | |
| 181 | |
| 182 <!-- Return length, in frames, of desired song --> | |
| 183 <arg type="i" direction="out" name="length"/> | |
| 184 </method> | |
| 185 | |
| 186 <!-- Jump to some position in the playlist --> | |
| 187 <method name="Jump"> | |
| 188 <!-- Song position to jump to --> | |
| 189 <arg type="i" name="pos"/> | |
| 190 </method> | |
| 191 | |
| 192 <!-- Add some URL to the current playlist --> | |
| 193 <method name="AddUrl"> | |
| 194 <!-- URL to add --> | |
| 195 <arg type="s" name="url"/> | |
| 196 </method> | |
| 197 | |
| 198 <!-- Delete some song from the playlist --> | |
| 199 <method name="Delete"> | |
| 200 <!-- Position of song to delete --> | |
| 201 <arg type="i" name="pos"/> | |
| 202 </method> | |
| 203 | |
| 204 <!-- Clear the playlist --> | |
| 205 <method name="Clear"/> | |
| 206 | |
| 207 <!-- Query repeat status --> | |
| 208 <method name="Repeating"> | |
| 209 <arg type="b" direction="out" name="is_repeating"/> | |
| 210 </method> | |
| 211 | |
| 212 <!-- Toggle repeat --> | |
| 213 <method name="Repeat"/> | |
| 214 | |
| 215 <!-- Query shuffle status --> | |
| 216 <method name="Shuffling"> | |
| 217 <arg type="b" direction="out" name="is_shuffling"/> | |
| 218 </method> | |
| 219 | |
| 220 <!-- Toggle shuffle --> | |
| 221 <method name="Shuffle"/> | |
| 222 </interface> | |
| 223 </node> |
