1 OF: server_command_list
3 HC: prototypes for the server command handlers
4 CC: array of server commands
6 IN: para error string afh afs server list user_list
7 SN: list of server commands
10 P: VSS_READ | VSS_WRITE
11 D: jump amount of time forwards or backwards in current audio file
13 H: Set the 'R' (reposition request) bit of the vss status flags
14 H: and enqueue a request to jump n seconds forwards or backwards
15 H: in the current audio file.
21 H: jumps 30 seconds backwards.
27 H: Without any arguments, help prints a list of available commands. When
28 H: issued with a command name as first argument, print out a description
33 D: force reload of config file, log file and user list
35 H: Reread the config file and the user list file, close and reopen the log
36 H: file, and tell all children to do the same.
39 P: VSS_READ | VSS_WRITE
40 D: jump to given position in current audio file
42 H: Set the 'R' (reposition request) bit of the vss status flags
43 H: and enqueue a request to jump to n% of the current audio file,
44 H: where 0 <= n <= 100.
47 P: VSS_READ | VSS_WRITE
48 D: skip rest of current audio file
50 H: Set the 'N' (next audio file) bit of the vss status flags. When
51 H: playing, change audio file immediately. Equivalent to stop
52 H: if paused, NOP if stopped.
55 P: VSS_READ | VSS_WRITE
56 D: stop playing after current audio file
58 H: Set the 'O' (no more) bit of the vss status flags. This instructs
59 H: para_server to clear the 'P' (playing) bit as soon as it encounters
60 H: the 'N' (next audio file) bit being set.
61 H: Use this command instead of stop if you don't like
65 P: VSS_READ | VSS_WRITE
66 D: pause current audio file
68 H: Clear the 'P' (playing) bit of the vss status flags.
71 P: VSS_READ | VSS_WRITE
72 D: start playing or resume playing when paused
74 H: Set the 'P' (playing) bit of the vss status flags. This
75 H: results in starting/continuing to stream.
79 D: print status bar for current audio file
81 H: Without any arguments, sb continuously prints a status bar of the
84 H: 12:34 [56:12] (56%) filename
86 H: indicating playing time, remaining time, percentage and the name of
87 H: the file being streamed. Use the optional number n to let stat exit
88 H: after having displayed the status bar n times.
92 D: print name of audio file whenever it changes
94 H: sc prints exactly one line (the filename of the audio file
95 H: being played) whenever the audio file changes. Stops after
96 H: n iterations, or never if n is not specified.
99 P: VSS_READ | VSS_WRITE
100 D: control paraslash internal senders
101 U: sender [s cmd [arguments]]
102 H: send command cmd to sender s. cmd may be one of the following:
103 H: help, on, off, add, delete, allow, or deny. Note that not all senders
104 H: support each command. Try e.g. 'para_client sender http help' for
105 H: more information about the http sender. If no argument is given,
106 H: print out a list of all senders that are compiled in.
112 H: Print server uptime and other information.
116 D: print status info for current audio file
118 H: Without any arguments, stat continuously prints status messages
119 H: about the audio file being streamed. Use the optional number n
120 H: to let stat exit after having displayed status n times.
123 P: VSS_READ | VSS_WRITE
126 H: Clear the 'P' (play) bit and set the 'N' bit of the vss status
130 P: VSS_READ | VSS_WRITE
131 D: terminate para_server
133 H: Shuts down the server. Instead of this command, you can also send
134 H: SIGINT or SIGTERM. It should never be necessary to send SIGKILL.
138 D: print server's version
140 H: Show version and other info