chiark / gitweb /
disobedience more robust against server restart
[disorder] / debian / disorder.config
CommitLineData
460b9539 1# player programs
2player *.mp3 execraw mpg321 -q -o disorder
3player *.ogg execraw ogg123 -q -d disorder -o fragile:1
4player *.wav shell play
5
6# don't leave a gap between tracks
7gap 0
8
9# trust the web user and root
10trust www-data root
11
12# run as user jukebox
13user jukebox
14
15# volume control
16mixer /dev/mixer
17channel pcm
18
19# stopwords (i.e. ignored words) for the track search facility
20stopword 01 02 03 04 05 06 07 08 09 10
21stopword 1 2 3 4 5 6 7 8 9
22stopword 11 12 13 14 15 16 17 18 19 20
23stopword 21 22 23 24 25 26 27 28 29 30
24stopword the a an and to too in on of we i am as im for is
25
26# namepart and transform are now filled in by default if you do not supply
27# them. However if you supply any namepart directives then you will not
28# get any defaults at all, so you must supply the full set. Similarly,
29# if you supply any transform directives then you must supply the full set.
30
31# Parsing of track names for the currently playing track, the recently
32# played list and the queue.
33#namepart title "/([0-9]+:)?([^/]+)\\.[a-zA-Z0-9]+$" "$2" display
34#namepart title "/([^/]+)\\.[a-zA-Z0-9]+$" "$1" sort
35#namepart album "/([^/]+)/[^/]+$" "$1" *
36#namepart artist "/([^/]+)/[^/]+/[^/]+$" "$1" *
37# used in alias construction
38#namepart ext "(\\.[a-zA-Z0-9]+)$" "$1" *
39
40# Transformations of directory and filenames for the track choice screen
41#transform track "^.*/([0-9]+:)?([^/]+)\\.[a-zA-Z0-9]+$" "$2" display
42#transform track "^.*/([^/]+)\\.[a-zA-Z0-9]+$" "$1" sort
43
44#transform dir "^.*/([^/]+)$" "$1" *
45#transform dir "^(the) ([^/]*)" "$2, $1" sort i
46#transform dir "[[:punct:]]" "" sort g
47
48# include debconf configuration
49include /etc/disorder/conf.debconf