chiark / gitweb /
config files note that "trust" can be removed
[disorder] / debian / etc.disorder.config
CommitLineData
f446d4af
RK
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)
b864f34d 17player *.mp3 execraw disorder-decode
18player *.ogg execraw disorder-decode
ce6c36be 19player *.wav execraw disorder-decode
75db8354 20player *.flac execraw disorder-decode
460b9539 21
62dc3748
RK
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.
26tracklength *.mp3 disorder-tracklength
27tracklength *.ogg disorder-tracklength
28tracklength *.wav disorder-tracklength
29tracklength *.flac disorder-tracklength
30
f446d4af 31# Don't leave a gap between tracks.
460b9539 32gap 0
33
f446d4af
RK
34# Trust the web user and root. Trusted users can stop the server or
35# pretend to be other users.
ce91299d
RK
36#
37# This line can be removed after upgrade to 2.1 or later, or if the initial
38# install is of 2.1 or later.
460b9539 39trust www-data root
40
f446d4af 41# Run as user jukebox.
460b9539 42user jukebox
43
f446d4af
RK
44# Volume control settings.
45# The device name to use
460b9539 46mixer /dev/mixer
f446d4af 47# The channel to control
460b9539 48channel pcm
49
460b9539 50# include debconf configuration
51include /etc/disorder/conf.debconf