foo. bar. baz. quux.
Foobar2000:foo tcp interface
From WikiBazQuux
(Difference between revisions)
| Revision as of 15:31, 21 February 2008 Cwbowron (Talk | contribs) (→Commands) ← Previous diff |
Revision as of 15:33, 21 February 2008 Cwbowron (Talk | contribs) (→Responses) Next diff → |
||
| Line 27: | Line 27: | ||
| === Responses === | === Responses === | ||
| - | * "unknown" => unknown command | + | * '''unknown''' => unknown command |
| - | * "ok" => command completed relatively successfully | + | * '''ok''' => command completed relatively successfully |
| - | * "fail" => command failed | + | * '''fail''' => command failed |
| - | * "bad" => invalid arguments | + | * '''bad''' => invalid arguments |
| - | * "start" => begin of a list | + | * '''start''' => begin of a list |
| - | * "end" => end of list | + | * '''end''' => end of list |
Revision as of 15:33, 21 February 2008
foo_tcp_interface is a private module being developed. It allows you to control a foobar2000 instance via commands set over a tcp connection. If you are a developer who would like to develop client applications or would like to help build the server, please contact me.
Commands
- shutdown
- mainmenu command-string
- now_playing
- format track-handle format-string
- playlist_active
- playlist_playing
- playlist_set_active playlist-index
- playlist_set_playing playlist-index
- playlist_rename playlist-index playlist-name
- playlist_remove playlist-index
- playlist_find playlist-name
- playlist_find_or_create playlist-name
- playlist_context playlist-index context-command-string
- playlist_clear playlist-index
- playlist_add playlist-index track-handle
- playlist_contents
- handle_length track-handle
- handle_size track-handle
- handle_path track-handle
- handle_index track-handle
- retrieve [auto-playlist-string]
Responses
- unknown => unknown command
- ok => command completed relatively successfully
- fail => command failed
- bad => invalid arguments
- start => begin of a list
- end => end of list
