| 1 | # Debian DisOrder config file |
| 2 | # |
| 3 | # You can use 'dpkg-reconfigure disorder' to adjust the following items: |
| 4 | # - track collections |
| 5 | # - scratch tracks |
| 6 | # - the hostname to use in the web interface |
| 7 | # - the port number for the server to use |
| 8 | # |
| 9 | # For anything else, you will need to edit this file. |
| 10 | # |
| 11 | |
| 12 | # Player programs |
| 13 | # |
| 14 | # You can add new players for other formats. For gapless and network |
| 15 | # play to work, you will need a player that can use libao and DisOrder's |
| 16 | # special driver - see "LIBAO driver" in disorder_config(5) |
| 17 | player *.mp3 execraw disorder-decode |
| 18 | player *.ogg execraw disorder-decode |
| 19 | player *.wav execraw disorder-decode |
| 20 | player *.flac execraw disorder-decode |
| 21 | |
| 22 | # Track length calculators |
| 23 | # |
| 24 | # If you add new formats then can add a plugin module to calculate the |
| 25 | # length of a track. See disorder(3) for the interface. |
| 26 | tracklength *.mp3 disorder-tracklength |
| 27 | tracklength *.ogg disorder-tracklength |
| 28 | tracklength *.wav disorder-tracklength |
| 29 | tracklength *.flac disorder-tracklength |
| 30 | |
| 31 | # Don't leave a gap between tracks. |
| 32 | gap 0 |
| 33 | |
| 34 | # Trust the web user and root. Trusted users can stop the server or |
| 35 | # pretend to be other users. |
| 36 | trust www-data root |
| 37 | |
| 38 | # Run as user jukebox. |
| 39 | user jukebox |
| 40 | |
| 41 | # Volume control settings. |
| 42 | # The device name to use |
| 43 | mixer /dev/mixer |
| 44 | # The channel to control |
| 45 | channel pcm |
| 46 | |
| 47 | # Stopwords (i.e. ignored words) for the track search facility. |
| 48 | stopword 01 02 03 04 05 06 07 08 09 10 |
| 49 | stopword 1 2 3 4 5 6 7 8 9 |
| 50 | stopword 11 12 13 14 15 16 17 18 19 20 |
| 51 | stopword 21 22 23 24 25 26 27 28 29 30 |
| 52 | stopword the a an and to too in on of we i am as im for is |
| 53 | |
| 54 | # include debconf configuration |
| 55 | include /etc/disorder/conf.debconf |