source: roaraudio/doc/man1/roarctl.1 @ 5838:52ca1a88734e

Last change on this file since 5838:52ca1a88734e was 5838:52ca1a88734e, checked in by phi, 11 years ago

handle setting of server name in connection object in a better way. also added new command "servername" to roarctl to debug this a bit. This is one little step needed by ##337

File size: 6.0 KB
Line 
1.\" roard.1:
2
3.TH "roarctl" "1" "July 2008" "RoarAudio" "System Manager's Manual: roard"
4
5.SH NAME
6
7roarctl \- RoarAudio sound server controll tool
8
9.SH SYNOPSIS
10
11roarcat [OPTIONS]... COMMAND [OPTS] [COMMAND [OPTS] [COMMAND [OPTS] [...]]]
12
13.SH "DESCRIPTION"
14This tool controlls the RoarAudio's sound server.
15This is done by sending commands to the server. See \fBCOMMANDS\fR for a list.
16
17.SH "GENERAL OPTIONS"
18.TP
19\fB--help\fR
20Print some help text.
21
22.TP
23\fB--verbose\fR, \fB\-v\fR
24Be verbose. May be used multiple times.
25
26.TP
27\fB--list-libstandards\fR
28Similar to serverstandards, reports the list of standard libroar supports.
29
30.TP
31\fB--list-aiprofiles\fR
32Show audio info profiles and exit.
33
34.TP
35\fB--enum-servers\fR
36List servers found on the network.
37Depending on the build options of libroar this includes results from many tests
38like standard server locations, OpenSLP located servers, X11 located servers,
39DECnet's neighbor and IP's ARP table and other sources.
40
41.SH "NETWORK OPTIONS"
42.TP
43\fB--server SERVER\fR
44The server to connect to
45
46.SH "BASIC COMMANDS"
47.TP
48\fBhelp\fR
49Same as \fB--help\fR.
50
51.TP
52\fBlistaiprofiles\fR
53List audio info profiles.
54
55.TP
56\fBaiprofileget PROFILE\fR
57Display a the given audio info profile.
58
59.TP
60\fBsleep TIME\fR
61Sleeps for TIME seconds.
62
63.TP
64\fBping NUM\fR
65Pings the server NUM times. This is done by sending NOOP commands to the server.
66The response time as well as as a small statistics section is printed.
67
68This is not supported on all platforms.
69
70.TP
71\fBservername\fR
72This command shows the server address of the server currently connected to.
73This can be diffrent from what has given e.g. in case of special server
74names like +fork.
75
76.TP
77\fBwhoami\fR
78Report client ID of roarctl on the current server.
79
80.TP
81\fBstandby\fR, \fBoff\fR, \fBresume\fR, \fBon\fR
82Brings the server into standby mode or back into achtive (operating mode).
83
84.TP
85\fBstandbymode\fR
86Tells if the server is in standby mode or not.
87
88.TP
89\fBexit\fR
90Quits the server.
91
92.TP
93\fBterminate\fR
94Terminates the server as soon as all clients disconnected and all streams reaches EOF.
95
96
97.SH "STREAM COMMANDS"
98.TP
99\fBvolume STREAMID CHANNELS VOL0 VOL1 VOL2...\fR
100Sets the mixing level for a stream with id \fISTREAMID\fR.
101
102\fICHANNELS\fR is the nummber of channels to set volume.
103This should be the number of channels of the stream or a symbolic name.
104Currently the symbolic names \fBmono\fR and \fBstereo\fR are allowed.
105If you use \fBmono\fR all channels will get the level you give as
106\fIVOL0\fR. If you use \fBstereo\fR it will try to set the mixing levels
107as you are used from stereo setups even if the setup is not in stereo.
108
109The parameters \fIVOL0\fR ... \fIVOLn\fR and the number of them depends
110on what you gave as \fICHANNELS\fR. You have to give exactly \fICHANNELS\fR
111parameters.
112
113If you give a numerical (not symbolic) value for \fICHANNELS\fR and
114the stream does have a diffrent number of channels the behavor is undefined.
115In the current implementation only the first \fICHANNELS\fR channels will be updated.
116This behavor may change in the future.
117
118.TP
119\fBkick TYPE ID\fR
120Kicks an object of \fITYPE\fR with id \fIID\fR.
121Possible types are: \fBclient stream sample source\fR
122
123You can get the \fIID\fR via \fBlist*\fR (see bellow).
124
125.TP
126\fBnewvirtual P D E R B C\fR
127Adds a new virtual (child) stream.
128This is used with container formats such as RAUM, Ogg and Matroska.
129
130
131Parameters:
132.RS
133.TP
134\fBP\fR
135Stream ID of \fBP\fRarent stream.
136.TP
137\fBD\fR
138Stream \fBD\fRirection.
139.TP
140\fBE\fR
141Stream cod\fBE\fRc.
142.TP
143\fBR\fR
144Sample \fBR\fRate.
145.TP
146\fBB\fR
147\fBB\fRits per sample.
148.TP
149\fBC\fR
150Number of \fBC\fRhannels.
151.RE
152
153.TP
154\fBflag ID FLAGS\fR, \fBunflag ID FLAGS\fR, \fBtoogleflag ID FLAGS\fR
155Sets, removes or toggles flags on a stream. ID is the stream id.
156FLAGS is a comma separated list of flags.
157
158It is not possible to set all kinds of flags at runtime.
159
160.TP
161\fBprotectflag ID FLAGS\fR
162Protects flags on a stream. ID is the stream id.
163FLAGS is a comma separated list of flags.
164
165Protected flags can not be changed anymore after the they got protected.
166
167.SH "META DATA COMMANDS"
168.TP
169\fBrole ID ROLE\fR
170Set stream role ROLE on stream ID.
171
172.TP
173\fBmetaget ID TYPE\fR
174Read meta date of type TYPE from stream ID.
175
176.TP
177\fBmetasave ID FILE\fR
178Saves the meta data of stream ID to file FILE.
179The Format is one KEY=Value pair per line.
180The same format is used by Xiph's tools.
181
182.TP
183\fBmetaload ID FILE\fR
184Load meta data from file FILE into stream ID. The format is the same
185as for \fBmetasave\fR.
186
187.SH "SERVER INFO COMMANDS"
188.TP
189\fBserverinfo\fR
190Gets general information about the server.
191This includes software vendor and version.
192
193.TP
194\fBservertime\fR
195Reports the server's system time.
196
197.TP
198\fBserverstandards\fR
199Report a list of standards the server supports.
200
201.TP
202\fBlibstandards\fR
203Similar to serverstandards, reports the list of standard libroar supports.
204Same as \fB--list-libstandards\fR.
205
206.TP
207\fBserveroinfo\fR
208Gets Information about server output.
209
210.TP
211\fBserveroinfo2 DIR\fR
212Gets Information about server output for a given direction.
213
214.SH "LISTING COMMANDS"
215.TP
216\fBlistclients\fR
217Gets Information about clients.
218
219.TP
220\fBclientinfo ID\fR
221Gets Information about client ID.
222
223.TP
224\fBliststreams\fR
225Gets Information about streams.
226
227.TP
228\fBstreaminfo ID\fR
229Gets Information about stream ID.
230
231.TP
232\fBallinfo\fR
233Same as "\fBserveroinfo\fR \fBlistclients\fR \fBliststreams\fR".
234
235.SH "ENVIRONMENT VARIABLES"
236Bellow only the basic environment varibales are listend.
237For a complete list see \fBlibroar\fR(7).
238
239.TP
240\fBHOME\fR
241The users home directory.
242
243.TP
244\fBROAR_SERVER\fR
245The address of the listening server. This may be in form of host:port for TCP/IP connections
246and /path/to/sock for UNIX Domain Sockets.
247This is the same as the \fB--server\fR option.
248
249.SH "BUGS"
2501) Make the meta data commands api-fixed and list them here.
251
2522) more often check if the user gave us enough arguments.
253
254.SH "SEE ALSO"
255\fBroarvorbis\fR(1),
256\fBroarfish\fR(1),
257\fBroarbaseclients\fR(1),
258\fBroartestclients\fR(1),
259\fBlibroar\fR(7),
260\fBRoarAudio\fR(7).
261
262.SH "HISTORY"
263
264For history information see \fBRoarAudio\fR(7).
265
266.\" ll
Note: See TracBrowser for help on using the repository browser.