Commit | Line | Data |
---|---|---|
f446d4af RK |
1 | # Sample DisOrder config file |
2 | # | |
3 | # You WILL need to edit this from the distributed version! | |
4 | ||
5 | # Player programs | |
6 | # | |
7 | # You can add new players for other formats. For gapless and network | |
8 | # play to work, you will need a player that can use libao and DisOrder's | |
9 | # special driver - see "LIBAO driver" in disorder_config(5) | |
b864f34d | 10 | player *.mp3 execraw disorder-decode |
11 | player *.ogg execraw disorder-decode | |
ce6c36be | 12 | player *.wav execraw disorder-decode |
75db8354 | 13 | player *.flac execraw disorder-decode |
460b9539 | 14 | |
62dc3748 RK |
15 | # Track length calculators |
16 | # | |
17 | # If you add new formats then can add a plugin module to calculate the | |
18 | # length of a track. See disorder(3) for the interface. | |
19 | tracklength *.mp3 disorder-tracklength | |
20 | tracklength *.ogg disorder-tracklength | |
21 | tracklength *.wav disorder-tracklength | |
22 | tracklength *.flac disorder-tracklength | |
23 | ||
f446d4af | 24 | # Use the fs module to list files under /export/mp3. The encoding |
460b9539 | 25 | # is ISO-8859-1. |
26 | collection fs ISO-8859-1 /export/mp3 | |
27 | ||
f446d4af | 28 | # Don't leave a gap between tracks. |
460b9539 | 29 | gap 0 |
30 | ||
f446d4af | 31 | # Scratch tracks. You can add your own tracks here. |
460b9539 | 32 | scratch pkgdatadir/slap.ogg |
23e45ad9 | 33 | scratch pkgdatadir/scratch.ogg |
460b9539 | 34 | |
f446d4af RK |
35 | # Trust the web user and root. Trusted users can stop the server or |
36 | # pretend to be other users. | |
460b9539 | 37 | trust www-data root |
38 | ||
f446d4af | 39 | # Run as user jukebox. This must exist in /etc/passwd! |
460b9539 | 40 | user jukebox |
41 | ||
f446d4af RK |
42 | # Volume control settings. |
43 | # The device name to use | |
460b9539 | 44 | mixer /dev/mixer |
f446d4af | 45 | # The channel to control |
460b9539 | 46 | channel pcm |
47 | ||
48 | # URL of the web interface | |
49 | url http://jukebox.anjou.terraraq.org.uk/ | |
50 | ||
f446d4af | 51 | # Stopwords (i.e. ignored words) for the track search facility. |
460b9539 | 52 | stopword 01 02 03 04 05 06 07 08 09 10 |
53 | stopword 1 2 3 4 5 6 7 8 9 | |
54 | stopword 11 12 13 14 15 16 17 18 19 20 | |
55 | stopword 21 22 23 24 25 26 27 28 29 30 | |
56 | stopword the a an and to too in on of we i am as im for is |