File: example_config

package info (click to toggle)
mserv 0.35-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,012 kB
  • ctags: 551
  • sloc: sh: 8,309; ansic: 7,846; perl: 1,346; makefile: 52
file content (53 lines) | stat: -rw-r--r-- 1,632 bytes parent folder | download | duplicates (3)
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
50
51
52
53
# 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/mserv.log
path_tracks=/wherever/you/keep/mp3/tracks
path_trackinfo=trackinfo
path_playout=/var/log/mserv/player.out
path_idea=idea
path_mixer=/dev/mixer
path_language=/usr/share/mserv/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_mpg321=/usr/bin/mpg321
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
prog_music123=/usr/bin/music123

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

# And a default player value
player=prog_music123

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

# 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