source: roaraudio/doc/man1/roarctl.1 @ 4818:3bee704d266e

Last change on this file since 4818:3bee704d266e was 4818:3bee704d266e, checked in by phi, 13 years ago

Added commands clientinfo and streaminfo to roarctl.

File size: 3.8 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-v\fR
24Be verbose. May be used multiple times.
25
26.SH "NETWORK OPTIONS"
27.TP
28\fB--server SERVER\fR
29The server to connect to
30
31.SH "BASIC COMMANDS"
32.TP
33\fBhelp\fR
34Same as \fB--help\fR.
35
36.TP
37\fBsleep TIME\fR
38Sleeps for TIME seconds.
39
40.TP
41\fBstandby\fR, \fBoff\fR, \fBresume\fR, \fBon\fR
42Brings the server into standby mode or back into achtive (operating mode).
43
44.TP
45\fBstandbymode\fR
46Tells if the server is in standby mode or not.
47
48.TP
49\fBexit\fR
50Quits the server.
51
52.TP
53\fBterminate\fR
54Terminates the server as soon as all clients disconnected and all streams reaches EOF.
55
56
57.SH "STREAM COMMANDS"
58.TP
59\fBvolume STREAMID CHANNELS VOL0 VOL1 VOL2...\fR
60Sets the mixing level for a stream with id \fISTREAMID\fR.
61
62\fICHANNELS\fR is the nummber of channels to set volume.
63This should be the number of channels of the stream or a symbolic name.
64Currently the symbolic names \fBmono\fR and \fBstereo\fR are allowed.
65If you use \fBmono\fR all channels will get the level you give as
66\fIVOL0\fR. If you use \fBstereo\fR it will try to set the mixing levels
67as you are used from stereo setups even if the setup is not in stereo.
68
69The parameters \fIVOL0\fR ... \fIVOLn\fR and the number of them depends
70on what you gave as \fICHANNELS\fR. You have to give exactly \fICHANNELS\fR
71parameters.
72
73If you give a numerical (not symbolic) value for \fICHANNELS\fR and
74the stream does have a diffrent number of channels the behavor is undefined.
75In the current implementation only the first \fICHANNELS\fR channels will be updated.
76This behavor may change in the future.
77
78.TP
79\fBkick TYPE ID\fR
80Kicks an object of \fITYPE\fR with id \fIID\fR.
81Possible types are: \fBclient stream sample source\fR
82
83You can get the \fIID\fR via \fBlist*\fR (see bellow).
84
85.TP
86\fBflag ID FLAGS\fR, \fBunflag ID FLAGS\fR
87Sets or removes flags from a stream. ID is the stream id.
88FLAGS is a comma separated list of flags.
89
90It is not possible to set all kinds of flags at runtime.
91
92.SH "META DATA COMMANDS"
93.TP
94\fBmetasave ID FILE\fR
95Saves the meta data of stream ID to file FILE.
96The Format is one KEY=Value pair per line.
97The same format is used by Xiph's tools.
98
99.TP
100\fBmetaload ID FILE\fR
101Load meta data from file FILE into stream ID. The format is the same
102as for \fBmetasave\fR.
103
104.SH "LISTING COMMANDS"
105.TP
106\fBserveroinfo\fR
107Gets Information about server output.
108
109.TP
110\fBserveroinfo2 DIR\fR
111Gets Information about server output for a given direction.
112
113.TP
114\fBlistclients\fR
115Gets Information about clients.
116
117.TP
118\fBclientinfo ID\fR
119Gets Information about client ID.
120
121.TP
122\fBliststreams\fR
123Gets Information about streams.
124
125.TP
126\fBstreaminfo ID\fR
127Gets Information about stream ID.
128
129.TP
130\fBallinfo\fR
131Same as "\fBserveroinfo\fR \fBlistclients\fR \fBliststreams\fR".
132
133.SH "ENVIRONMENT VARIABLES"
134Bellow only the basic environment varibales are listend.
135For a complete list see \fBlibroar\fR(7).
136
137.TP
138\fBHOME\fR
139The users home directory.
140
141.TP
142\fBROAR_SERVER\fR
143The address of the listening server. This may be in form of host:port for TCP/IP connections
144and /path/to/sock for UNIX Domain Sockets.
145This is the same as the \fB--server\fR option.
146
147.SH "BUGS"
1481) Make the meta data commands api-fixed and list them here.
149
1502) more often check if the user gave us enough arguments.
151
152.SH "SEE ALSO"
153\fBroarvorbis\fR(1),
154\fBroarfish\fR(1),
155\fBroarbaseclients\fR(1),
156\fBroartestclients\fR(1),
157\fBlibroar\fR(7),
158\fBRoarAudio\fR(7).
159
160.SH "HISTORY"
161
162For history information see \fBRoarAudio\fR(7).
163
164.\" ll
Note: See TracBrowser for help on using the repository browser.