2 caption = list of server commands
3 aux_info_prefix = Permissions:
6 The server process listens on a network socket and accepts connections
7 from para_client or para_audiod. For the connection to succeed the
8 connecting peer must authenticate as one of the users stored in the
9 user table of para_server. Each entry of the user table contains the
10 set of permission bits that are granted to the user. Authenticated
11 users may execute one of the commands below if the set of permission
12 bits of the command is a subset of the permission bits that are
17 purpose = jump N seconds forward or backward
19 aux_info = VSS_READ | VSS_WRITE
21 This sets the 'R' (reposition request) bit of the vss status flags
22 which enqueues a request to jump n seconds forwards or backwards.
28 jumps 30 seconds backwards.
33 purpose = list available commands or print command-specific help
34 non-opts-name = [command]
35 aux_info = NO_PERMISSION_REQUIRED
37 Without any arguments, help prints a list of available commands. When
38 called with a command name as first argument, it prints the description
43 purpose = reload config file, log file and user list
46 Reread the config file and the user list file, close and reopen the log
47 file, and ask the afs process to do the same. Sending the HUP signal
48 to the server process has the same effect as running this command.
52 purpose = reposition the current stream
54 aux_info = VSS_READ | VSS_WRITE
56 Set the 'R' (reposition request) bit of the vss status flags and
57 enqueue a request to jump to n% of the current audio file, where 0 <=
62 purpose = close the stream and start to stream the next audio file
63 aux_info = VSS_READ | VSS_WRITE
65 Set the 'N' (next audio file) bit of the vss status flags. This
66 instructs the server to close the current stream, if any. The 'P'
67 (playing) bit is not modified by this command. If it is on, playing
68 continues with the next audio file.
70 This command is equivalent to stop if paused, and has no effect
75 purpose = stop playing after current audio file
76 aux_info = VSS_READ | VSS_WRITE
78 Set the 'O' (no more) bit of the vss status flags which asks
79 para_server to clear the 'P' (playing) bit after the 'N' (next audio
80 file) bit transitions from off to on (because the end of the current
81 audio file is reached). Use this command instead of stop if you don't
86 purpose = suspend the current stream
87 aux_info = VSS_READ | VSS_WRITE
89 Clear the 'P' (playing) bit of the vss status flags.
93 purpose = start or resume playback
94 aux_info = VSS_READ | VSS_WRITE
96 Set the 'P' (playing) bit of the vss status flags.
100 purpose = control paraslash senders
101 synopsis = [sender cmd [arguments]]
102 aux_info = VSS_READ | VSS_WRITE
104 Send a command to a specific sender. The following commands are
105 available, but not all senders support every command.
107 help, on, off, add, delete, allow, deny, status.
109 The help command prints the help text of the given sender. If no
110 command is given the list of available senders is shown.
114 para_client sender http help
119 purpose = print server info
120 aux_info = NO_PERMISSION_REQUIRED
122 Show server and afs PID, number of connections, uptime and more.
126 purpose = print information about the current audio file
130 summary = number of times to show the status info
131 arg_info = required_arg
135 Exit after the status information has been shown num times. If this
136 option is not given, the command runs in an endless loop.
138 [option parser-friendly]
140 summary = enable parser-friendly output
142 Show status item identifiers as numerical values and prefix each
143 status item with its size in bytes.
147 purpose = stop playback
148 aux_info = VSS_READ | VSS_WRITE
150 Clear the 'P' (playing) bit and set the 'N' (next audio file) bit of
151 the vss status flags, effectively stopping playback.
155 purpose = list active server tasks
156 aux_info = NO_PERMISSION_REQUIRED
158 For each task, print ID, status and name. This is mostly useful
163 purpose = ask the server to terminate
164 aux_info = VSS_READ | VSS_WRITE
166 Shut down the server. Instead of this command, you can also send
167 SIGINT or SIGTERM to the para_server process. It should never be
168 necessary to send SIGKILL.
172 purpose = print the git version string of para_server
173 aux_info = NO_PERMISSION_REQUIRED
176 summary = print detailed (multi-line) version text