foo. bar. baz. quux.
Foobar2000:foo tcp interface
From WikiBazQuux
(Difference between revisions)
| Revision as of 15:20, 21 February 2008 Cwbowron (Talk | contribs) ← Previous diff |
Revision as of 15:31, 21 February 2008 Cwbowron (Talk | contribs) (→Commands) Next diff → |
||
| Line 4: | Line 4: | ||
| === Commands === | === Commands === | ||
| - | * "shutdown" | + | * '''shutdown''' |
| - | * "mainmenu" | + | * '''mainmenu''' command-string |
| - | * "now_playing" | + | * '''now_playing''' |
| - | * "format" | + | * '''format''' track-handle format-string |
| - | * "playlist_active" | + | * '''playlist_active''' |
| - | * "playlist_playing" | + | * '''playlist_playing''' |
| - | * "playlist_set_active" | + | * '''playlist_set_active''' playlist-index |
| - | * "playlist_set_playing" | + | * '''playlist_set_playing''' playlist-index |
| - | * "playlist_rename" | + | * '''playlist_rename''' playlist-index playlist-name |
| - | * "playlist_remove" | + | * '''playlist_remove''' playlist-index |
| - | * "playlist_find" | + | * '''playlist_find''' playlist-name |
| - | * "playlist_find_or_create" | + | * '''playlist_find_or_create''' playlist-name |
| - | * "playlist_context" | + | * '''playlist_context''' playlist-index context-command-string |
| - | * "playlist_clear" | + | * '''playlist_clear''' playlist-index |
| - | * "playlist_add" | + | * '''playlist_add''' playlist-index track-handle |
| - | * "playlist_contents" | + | * '''playlist_contents''' |
| - | * "handle_length" | + | * '''handle_length''' track-handle |
| - | * "handle_size" | + | * '''handle_size''' track-handle |
| - | * "handle_path" | + | * '''handle_path''' track-handle |
| - | * "handle_index" | + | * '''handle_index''' track-handle |
| - | * "retrieve" | + | * '''retrieve''' [auto-playlist-string] |
| === Responses === | === Responses === | ||
Revision as of 15:31, 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
