mood: Do not handle events if no mood is active.
[paraslash.git] / server.cmd
1 OF: server_command_list
2 SF: command.c
3 HC: prototypes for the server command handlers
4 CC: array of server commands
5 AT: server_command
6 IN: para error string afh afs server list user_list
7 SN: list of server commands
8 ---
9 N: ff
10 P: VSS_READ | VSS_WRITE
11 D: Jump amount of time forwards or backwards in current audio file.
12 U: ff n[-]
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.
16 H:
17 H: EXAMPLE
18 H:
19 H:      ff 30-
20 H:
21 H: jumps 30 seconds backwards.
22 ---
23 N: help
24 P: 0
25 D: Print online help.
26 U: help [command]
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
29 H: for that command.
30 ---
31 N: hup
32 P: VSS_WRITE
33 D: Force reload of config file, log file and user list.
34 U: hup
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.
37 ---
38 N: jmp
39 P: VSS_READ | VSS_WRITE
40 D: Jump to given position in current audio file.
41 U: jmp [n]
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.
45 ---
46 N: next
47 P: VSS_READ | VSS_WRITE
48 D: Skip rest of the current audio file.
49 U: next
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.
53 ---
54 N: nomore
55 P: VSS_READ | VSS_WRITE
56 D: Stop playing after current audio file.
57 U: nomore
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
62 H: sudden endings.
63 ---
64 N: pause
65 P: VSS_READ | VSS_WRITE
66 D: Pause current audio file.
67 U: pause
68 H: Clear the 'P' (playing) bit of the vss status flags.
69 ---
70 N: play
71 P: VSS_READ | VSS_WRITE
72 D: Start playing or resume playing when paused.
73 U: play
74 H: Set the 'P' (playing) bit of the vss status flags. This
75 H: results in starting/continuing to stream.
76 ---
77 N: sender
78 P: VSS_READ | VSS_WRITE
79 D: Control paraslash internal senders.
80 U: sender [s cmd [arguments]]
81 H: send command cmd to sender s. cmd may be one of the following:
82 H: help, on, off, add, delete, allow, or deny. Note that not all senders
83 H: support each command. Try e.g. 'para_client sender http help' for
84 H: more information about the http sender. If no argument is given,
85 H: print out a list of all senders that are compiled in.
86 ---
87 N: si
88 P: 0
89 D: Print server info.
90 U: si
91 H: Print server uptime and other information.
92 ---
93 N: stat
94 P: VSS_READ
95 D: Print status info for current audio file.
96 U: stat [n]
97 H: Without any arguments, stat continuously prints status messages
98 H: about the audio file being streamed. Use the optional number n
99 H: to let stat exit after having displayed status n times.
100 ---
101 N: stop
102 P: VSS_READ | VSS_WRITE
103 D: Stop streaming.
104 U: stop
105 H: Clear the 'P' (play) bit and set the 'N' bit of the vss status
106 H: flags.
107 ---
108 N: term
109 P: VSS_READ | VSS_WRITE
110 D: Terminate para_server.
111 U: term
112 H: Shuts down the server. Instead of this command, you can also send
113 H: SIGINT or SIGTERM. It should never be necessary to send SIGKILL.
114 ---
115 N: version
116 P: 0
117 D: Print server's version.
118 U: version
119 H: Show version and other info