Mercurial > audlegacy
comparison src/audacious/objects.xml @ 2711:c35913222440 trunk
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
author | magma |
---|---|
date | Wed, 09 May 2007 14:36:37 -0700 |
parents | 958d12f78138 |
children | f4a5f8fa3836 |
comparison
equal
deleted
inserted
replaced
2710:982a825992e1 | 2711:c35913222440 |
---|---|
100 </interface> | 100 </interface> |
101 | 101 |
102 <!-- Playback Information/Manipulation --> | 102 <!-- Playback Information/Manipulation --> |
103 <interface name="org.atheme.audacious.playback"> | 103 <interface name="org.atheme.audacious.playback"> |
104 <!-- Begin or resume playback --> | 104 <!-- Begin or resume playback --> |
105 <method name="Play"/> | 105 <method name="Play"> |
106 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
107 </method> | |
106 | 108 |
107 <!-- Pause playback --> | 109 <!-- Pause playback --> |
108 <method name="Pause"/> | 110 <method name="Pause"> |
111 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
112 </method> | |
109 | 113 |
110 <!-- Stop playback --> | 114 <!-- Stop playback --> |
111 <method name="Stop"/> | 115 <method name="Stop"> |
116 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
117 </method> | |
112 | 118 |
113 <!-- Is playback playing? --> | 119 <!-- Is playback playing? --> |
114 <method name="Playing"> | 120 <method name="Playing"> |
115 <!-- Return true if playing, false otherwise --> | 121 <!-- Return true if playing, false otherwise --> |
116 <arg type="b" direction="out" name="is_playing"/> | 122 <arg type="b" direction="out" name="is_playing"/> |
133 <!-- Return the status as a string: --> | 139 <!-- Return the status as a string: --> |
134 <!-- one of {"playing" "paused" "stopped"} --> | 140 <!-- one of {"playing" "paused" "stopped"} --> |
135 <arg type="s" direction="out" name="status"/> | 141 <arg type="s" direction="out" name="status"/> |
136 </method> | 142 </method> |
137 | 143 |
144 <!-- What is the current output position? --> | |
145 <method name="Time"> | |
146 <!-- Position of song, in ms --> | |
147 <arg type="i" direction="out" name="time"/> | |
148 </method> | |
149 | |
138 <!-- Seek to some absolute position in the current song --> | 150 <!-- Seek to some absolute position in the current song --> |
139 <method name="Seek"> | 151 <method name="Seek"> |
152 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
140 <!-- Position of song, in ms, to seek to --> | 153 <!-- Position of song, in ms, to seek to --> |
141 <arg type="i" name="pos"/> | 154 <arg type="i" name="pos"/> |
142 | 155 |
143 <!-- Return true on success, or false if position out of range? --> | 156 <!-- Return true on success, or false if position out of range? --> |
144 <!-- <arg type="b" direction="out"/> --> | 157 <!-- <arg type="b" direction="out"/> --> |
158 </method> | |
159 | |
160 <!-- What is the playback volume? --> | |
161 <method name="Volume"> | |
162 <!-- Volume of the left channel --> | |
163 <arg type="i" direction="out" name="vl"/> | |
164 <!-- Volume of the right channel --> | |
165 <arg type="i" direction="out" name="vr"/> | |
166 </method> | |
167 | |
168 <!-- Set the playback volume --> | |
169 <method name="SetVolume"> | |
170 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
171 <!-- Volume of the left channel --> | |
172 <arg type="i" name="vl"/> | |
173 <!-- Volume of the right channel --> | |
174 <arg type="i" name="vr"/> | |
175 </method> | |
176 | |
177 <!-- Get the playback balance --> | |
178 <method name="Balance"> | |
179 <!-- Balance between left and right channels --> | |
180 <arg type="i" direction="out" name="balance"/> | |
145 </method> | 181 </method> |
146 </interface> | 182 </interface> |
147 | 183 |
148 <!-- Playlist Information/Manipulation --> | 184 <!-- Playlist Information/Manipulation --> |
149 <interface name="org.atheme.audacious.playlist"> | 185 <interface name="org.atheme.audacious.playlist"> |
152 <!-- Return position of current song in current playlist --> | 188 <!-- Return position of current song in current playlist --> |
153 <arg type="i" direction="out" name="pos"/> | 189 <arg type="i" direction="out" name="pos"/> |
154 </method> | 190 </method> |
155 | 191 |
156 <!-- Skip ahead one song in the current playlist --> | 192 <!-- Skip ahead one song in the current playlist --> |
157 <method name="Advance"/> | 193 <method name="Advance"> |
194 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
195 </method> | |
158 | 196 |
159 <!-- Skip backwards one song in the current playlist --> | 197 <!-- Skip backwards one song in the current playlist --> |
160 <method name="Reverse"/> | 198 <method name="Reverse"> |
199 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
200 </method> | |
161 | 201 |
162 <!-- Playlist length --> | 202 <!-- Playlist length --> |
163 <method name="Length"> | 203 <method name="Length"> |
164 <!-- Return length of current playlist --> | 204 <!-- Return length of current playlist --> |
165 <arg type="i" direction="out" name="length"/> | 205 <arg type="i" direction="out" name="length"/> |
201 <arg type="i" direction="out" name="length"/> | 241 <arg type="i" direction="out" name="length"/> |
202 </method> | 242 </method> |
203 | 243 |
204 <!-- Jump to some position in the playlist --> | 244 <!-- Jump to some position in the playlist --> |
205 <method name="Jump"> | 245 <method name="Jump"> |
246 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
206 <!-- Song position to jump to --> | 247 <!-- Song position to jump to --> |
207 <arg type="i" name="pos"/> | 248 <arg type="i" name="pos"/> |
208 </method> | 249 </method> |
209 | 250 |
210 <!-- Add some URL to the current playlist --> | 251 <!-- Add some URL to the current playlist --> |
211 <method name="AddUrl"> | 252 <method name="AddUrl"> |
253 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
212 <!-- URL to add --> | 254 <!-- URL to add --> |
213 <arg type="s" name="url"/> | 255 <arg type="s" name="url"/> |
214 </method> | 256 </method> |
215 | 257 |
216 <!-- Delete some song from the playlist --> | 258 <!-- Delete some song from the playlist --> |
217 <method name="Delete"> | 259 <method name="Delete"> |
260 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
218 <!-- Position of song to delete --> | 261 <!-- Position of song to delete --> |
219 <arg type="i" name="pos"/> | 262 <arg type="i" name="pos"/> |
220 </method> | 263 </method> |
221 | 264 |
222 <!-- Clear the playlist --> | 265 <!-- Clear the playlist --> |
223 <method name="Clear"/> | 266 <method name="Clear"> |
267 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
268 </method> | |
224 | 269 |
225 <!-- Query repeat status --> | 270 <!-- Query repeat status --> |
226 <method name="Repeating"> | 271 <method name="Repeating"> |
227 <arg type="b" direction="out" name="is_repeating"/> | 272 <arg type="b" direction="out" name="is_repeating"/> |
228 </method> | 273 </method> |
229 | 274 |
230 <!-- Toggle repeat --> | 275 <!-- Toggle repeat --> |
231 <method name="Repeat"/> | 276 <method name="Repeat"> |
277 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
278 </method> | |
232 | 279 |
233 <!-- Query shuffle status --> | 280 <!-- Query shuffle status --> |
234 <method name="Shuffling"> | 281 <method name="Shuffling"> |
235 <arg type="b" direction="out" name="is_shuffling"/> | 282 <arg type="b" direction="out" name="is_shuffling"/> |
236 </method> | 283 </method> |
237 | 284 |
238 <!-- Toggle shuffle --> | 285 <!-- Toggle shuffle --> |
239 <method name="Shuffle"/> | 286 <method name="Shuffle"> |
287 <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> | |
288 </method> | |
240 </interface> | 289 </interface> |
241 </node> | 290 </node> |