| 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) |
| 10 | player *.mp3 execraw disorder-decode |
| 11 | player *.ogg execraw disorder-decode |
| 12 | player *.wav execraw disorder-decode |
| 13 | player *.flac execraw disorder-decode |
| 14 | |
| 15 | # Use the fs module to list files under /export/mp3. The encoding |
| 16 | # is ISO-8859-1. |
| 17 | collection fs ISO-8859-1 /export/mp3 |
| 18 | |
| 19 | # Don't leave a gap between tracks. |
| 20 | gap 0 |
| 21 | |
| 22 | # Scratch tracks. You can add your own tracks here. |
| 23 | scratch pkgdatadir/slap.ogg |
| 24 | scratch pkgdatadir/scratch.ogg |
| 25 | |
| 26 | # Trust the web user and root. Trusted users can stop the server or |
| 27 | # pretend to be other users. |
| 28 | trust www-data root |
| 29 | |
| 30 | # Run as user jukebox. This must exist in /etc/passwd! |
| 31 | user jukebox |
| 32 | |
| 33 | # Volume control settings. |
| 34 | # The device name to use |
| 35 | mixer /dev/mixer |
| 36 | # The channel to control |
| 37 | channel pcm |
| 38 | |
| 39 | # URL of the web interface |
| 40 | url http://jukebox.anjou.terraraq.org.uk/ |
| 41 | |
| 42 | # Stopwords (i.e. ignored words) for the track search facility. |
| 43 | stopword 01 02 03 04 05 06 07 08 09 10 |
| 44 | stopword 1 2 3 4 5 6 7 8 9 |
| 45 | stopword 11 12 13 14 15 16 17 18 19 20 |
| 46 | stopword 21 22 23 24 25 26 27 28 29 30 |
| 47 | stopword the a an and to too in on of we i am as im for is |