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