chiark / gitweb /
-liconv where needed
[disorder] / examples / config.sample.in
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 --wait-for-device play
5
6# use the fs module to list files under /export/mp3. The encoding
7# is ISO-8859-1.
8collection fs ISO-8859-1 /export/mp3
9
10# don't leave a gap between tracks
11gap 0
12
13# scratch tracks
14scratch pkgdatadir/slap.ogg
15scratch pkgdatadir/scratch.mp3
16
17# trust the web user and root
18trust www-data root
19
20# run as user jukebox
21user jukebox
22
23# volume control
24mixer /dev/mixer
25channel pcm
26
27# URL of the web interface
28url http://jukebox.anjou.terraraq.org.uk/
29
30# stopwords (i.e. ignored words) for the track search facility
31stopword 01 02 03 04 05 06 07 08 09 10
32stopword 1 2 3 4 5 6 7 8 9
33stopword 11 12 13 14 15 16 17 18 19 20
34stopword 21 22 23 24 25 26 27 28 29 30
35stopword the a an and to too in on of we i am as im for is
36
37# namepart and transform are now filled in by default if you do not supply
38# them. However if you supply any namepart directives then you will not
39# get any defaults at all, so you must supply the full set. Similarly,
40# if you supply any transform directives then you must supply the full set.
41
42# Parsing of track names for the currently playing track, the recently
43# played list and the queue.
44#namepart title "/([0-9]+:)?([^/]+)\\.[a-zA-Z0-9]+$" "$2" display
45#namepart title "/([^/]+)\\.[a-zA-Z0-9]+$" "$1" sort
46#namepart album "/([^/]+)/[^/]+$" "$1" *
47#namepart artist "/([^/]+)/[^/]+/[^/]+$" "$1" *
48# used in alias construction
49#namepart ext "(\\.[a-zA-Z0-9]+)$" "$1" *
50
51# Transformations of directory and filenames for the track choice screen
52#transform track "^.*/([0-9]+:)?([^/]+)\\.[a-zA-Z0-9]+$" "$2" display
53#transform track "^.*/([^/]+)\\.[a-zA-Z0-9]+$" "$1" sort
54
55#transform dir "^.*/([^/]+)$" "$1" *
56#transform dir "^(the) ([^/]*)" "$2, $1" sort i
57#transform dir "[[:punct:]]" "" sort g