Previous | Table of Content | Next |
A program like m3w can be configured to fit many different situations by means of parameters. A complete list of the different parameters appears below. There are many different ways to specify a value for a parameter: It can receive a default value, it can receive a value from the command line, it can get a value from a configuration file, or it can be set in a Dialog Window.
This is the complete sequence of actions:
Now here is a list of all the parameters, their names, their significance, and their admissible values. For a more detailed description of the meaning of all these options, consult the appropriate section on Dialog Windows. Some Parameters, like for example the soundcard or the genre of an ID3 tag, have as a value a number which is just some internal quantity. The best way to find out what the appropriate number will be is to use the m3w program and the dialog windows to set the parameter to the desired value and then store the setting in a configuration file. This, by the way, is the reason why these internal quantities are included among the command line parameters: to be able to save all the settings, be it as a commandline or a configuration file, and restart m3w at a later time with exactly the same settings.
Notice that for all parameters there are two names, a short one and a long one. The long one is used in configuration files and, if used on the command line must be prefixed by two hyphens, the short one can be used only on the command line and is then preceded by a single hyphen.
server
short: s
m3w -s nonexistent.yahoo.com
m3w --server sound.alternative.de
port
short: p
m3w -p 8000
m3w --port 8001
mountpoint
short: m
m3w -m dietcoke
m3w --mountpoint fanta
password
short: P
m3w -P 1Uif56juTt
(good password)
m3w --password Marilyn
(bad password)
user
short: F
m3w -F source
m3w --user cnn
logintype
short: C
m3w -C 1
m3w --logintype 2
private
m3w --private
autoreconnect
short: X
m3w -X
m3w --autoreconnect
rcidelay
m3w --rcidelay 0
rcdelay
m3w --rcdely 360
rccount
m3w --rccount 100000
bitrate
short: B
m3w -B 1280000
m3w --bitrate 56000
min
m3w --min 24000
max
m3w --max 128000
bitmode
short: M
m3w -M 2
m3w --bitmode 1
append
m3w --append
autoname
m3w --autoname
autosave
m3w --autosave
autosavetime
m3w --autosavetime 120
absolute
m3w --absolute
overwrite
m3w --overwrite
presetvalue
m3w --presetvalue 6000
name
short: n
m3w -n
"pepsi cola is the best
"
m3w --name
"just kidding
"
genre
m3w --genre top
url
m3w --url http://localhost
description
short: D
m3w -D "top of the line"
m3w --description crap
remotedump
short: d
m3w -d backup/all.mp3
m3w --remotedump /dev/null
recordfile
short: r
m3w -r C:\\Temp\record.mp3
m3w --recordfile A:\\test.mp3
inbuffer
m3w --inbuffer 3600
outbuffer
short: o
m3w -o 10
m3w --outbuffer 120
copyflag
short: c
m3w -c
m3w --copyflag
crcflag
m3w --crcflag
copyright
m3w --copyright
downsampleflag
m3w --downsampleflag
reservoirflag
m3w --reservoirflag
quality
short: q
m3w -q 2
m3w --quality 8
encoderquality
short: E
m3w -E 2
m3w --encoderquality 7
stereo
short: t
m3w -t
m3w --stereo
tagyear
short: Y
m3w -Y 1866
m3w --tagyear 2001
tagtrack
short: T
m3w -T 49
m3w --tagtrack 2
taggenre
short: G
m3w -G 7
some internal number use m3w to set it
m3w --taggenre 22
same
tagtitle
short: H
m3w -H "Sinfonie No. 9"
m3w --tagtitle "Serenade in b"
tagartist
short: A
m3w -A "Mickey Mouse"
m3w --tagartist "Donald Guess-Who"
tagalbum
short: U
m3w -U "The Best of IT"
m3w --tagalbum "Can't get worse"
tagcomment
short: O
m3w -O "hear me?"
m3w --tagcomment "Listen carefull"
soundcard
short: N
m3w -N 1
m3w --soundcard 0
soundformat
short: Q
m3w -Q 3
m3w --soundformat 5
inputfile
short: I
m3w -I pause.mp3
m3w --inputfile all\in\one.mp3
repeat
m3w --repeat
minimized
short: x
m3w -x
m3w --minimized
recording
m3w --recording
broadcasting
m3w --broadcasting
playing
m3w --playing
listening
m3w --listening
linearscale
m3w --linearscale
inputscale
m3w --inputscale
autogain
m3w --autogain
silence
short: z
m3w --silence -50
lowlevel
m3w --lowlevel -40
highlevel
m3w -J 95
m3w --highlevel 70
steplevel
m3w --steplevel 8
noerror
m3w --noerror
detachmeter
m3w --detachmeter
help
short: ?
m3w -?
m3w --help
configfile
short: f
m3w -f default.m3w
m3w --configfile test.txt
#m3w configfile: C:\home\m3w\test.m3w
#the server where to send the request
server someplace.some.where.com
#the port where to send the request
port 8000
#the mountpoint
mountpoint global
#the password
password Idontknow
#to make the stream private
#private not set since the leading # makes it a comment
#the stream bitrate
bitrate 96000
#the stream minimum bitrate
min 8000
#the stream maximum bitrate
max 256000
#the stream name
name the stream name
#the stream genre
genre experimental
#the place where to get information
url http://www.info.com
#a description for the stream
description This is the description
#filename for a remote dump
#remotedump /dev/null not set since the leading # makes it a comment
#filename for a local recording
recordfile test.mp3
#maximum time to buffer soundcard
inbuffer 5
#maximum time to buffer network
outbuffer 40