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