foo. bar. baz. quux.
Foobar2000:foo tcp interface
From WikiBazQuux
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
