summaryrefslogtreecommitdiff
blob: 95afad8522d6e4043131e60cd8e89c12480be4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Mserv configuration file for 0.33 and later

# File locations, / at start is absolute, otherwise relative to mserv root
path_acl=/etc/mserv/acl
path_webacl=/etc/mserv/webacl
path_logfile=/var/log/mserv.log
path_tracks=/usr/local/share/tracks
path_trackinfo=/var/lib/mserv/trackinfo
path_playout=/var/spool/mserv/player.out
path_idea=idea
path_mixer=/dev/mixer
path_language=/usr/share/english.lang

# Define player invokation methods
# mservplay is our special wrapper, the first parameter is a 'nice' level
# play is part of sox
prog_mpg123=/usr/bin/mpg123 -b 1024
prog_freeamp=/usr/bin/freeamp -ui mpg123
prog_mservplay=/usr/bin/mservplay 0 mpg123 -b 1024
prog_play=/usr/bin/play
prog_ogg123=/usr/bin/ogg123

# Set players for each file extension we want to support, unknown extensions
# are ignored by mserv
player_mp3=prog_mpg123
player_wav=prog_play
player_au=prog_play
player_ogg=prog_ogg

# Set default random mode, either on or off.  You must still tell mserv to
# start playing (PLAY).
random=off

# Set whether or not you would like play to start as soon as mserv has loaded.
play=off

# Set default random factor, 0.5 is completely random, 0.6 is less random
# and takes into account your ratings, 0.4 plays your worst tunes. 0.99 max.
factor=0.60

# Set default filter, leave blank for off.  Example: "!classical" to
# not play classical genre, or "year>=1980&year<1990" to only play
# 80's songs.
filter=

# Set gap between songs, in seconds.  0 to start the next song as quick as
# possible.
gap=1