The following commands are currently implemented by acd, the automatic cinema daemon.

PLATO NET API:

1. main action:
quit
quit the server
help
show this help screen
*reset
reset the state of the server
dump
dump all variables

2. project handling:
getProjects
Lists all availble projects.
setProject[:ProjectName or ProjectId]
Sets the project by name or id. Can also be set by the commandline.
getActiveProject
Displays the actual configured project.

3. show handling:
getShows[:ProjectName or ProjectId]
Lists all availble shows for a certain project (or the actual project if empty).
setShow[:Name or Id]
Sets the show by name or id.
getActiveShow
Displays the actual configured show.

4. channel handling:
getChannels
Lists all channels available.
addChannel:ChannelName[ or ChannelId]
Adds a channel to the serverstack for this client.
listChannels
Lists the channels configured by this.
removeChannel:ChannelName[ or ChannelId]
Removes a channel for this client from the serverstack.

5. narration handling:
getMaterial[:parametrical]
gets all available material. if parametrical is set, keywords
are returned instead of material ids.
getStyles[:parametrical]
gets all available styles. if parametrical is set, parameternames, -type
and legends are returned.
setEnd:commandline
defines an endpoint. Is necessary to start a show.
setStyle:commandline
sets the style of a show. commandline is either a valid id of a certain
style or a parametrical setting: paramname/id 1<:>value 1...value x<;>paramname/id 2<:>value 1...value x<;>.
getActiveEnd
returns the id or the parametrical setting of the actual end.
getActiveStyle
returns the id or the parametrical setting of the actual style.

6. playback handling:
*playbackInit
sends a init broadcast to all clients
*playbackEnd
sends a finish broadcast to all clients
playback[:npfl]
gets the id for the (n)ext/(p)revious/(f)irst/(l)ast material
whereas n(next) is assumed if the parameters are omitted.
playbackSource
gets the material: urls for binaries, cdata for ascii.
playbackDump
gets all the ids for the channel up to the ending point.

*) functions do trigger broadcasts