X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/f446d4af1ed844684e34cc0672edb2d5ccf4ea88..07bc035e2ec3e4fb109fb36ad5f1fd751a960e70:/examples/config.sample.in diff --git a/examples/config.sample.in b/examples/config.sample.in index 5648b43..324f230 100644 --- a/examples/config.sample.in +++ b/examples/config.sample.in @@ -12,19 +12,28 @@ player *.ogg execraw disorder-decode player *.wav execraw disorder-decode player *.flac execraw disorder-decode +# Track length calculators +# +# If you add new formats then can add a plugin module to calculate the +# length of a track. See disorder(3) for the interface. +tracklength *.mp3 disorder-tracklength +tracklength *.ogg disorder-tracklength +tracklength *.wav disorder-tracklength +tracklength *.flac disorder-tracklength + # Use the fs module to list files under /export/mp3. The encoding # is ISO-8859-1. collection fs ISO-8859-1 /export/mp3 -# Don't leave a gap between tracks. -gap 0 - # Scratch tracks. You can add your own tracks here. scratch pkgdatadir/slap.ogg scratch pkgdatadir/scratch.ogg # Trust the web user and root. Trusted users can stop the server or # pretend to be other users. +# +# This line can be removed after upgrade to 2.1 or later, or if the initial +# install is of 2.1 or later. trust www-data root # Run as user jukebox. This must exist in /etc/passwd! @@ -35,13 +44,3 @@ user jukebox mixer /dev/mixer # The channel to control channel pcm - -# URL of the web interface -url http://jukebox.anjou.terraraq.org.uk/ - -# Stopwords (i.e. ignored words) for the track search facility. -stopword 01 02 03 04 05 06 07 08 09 10 -stopword 1 2 3 4 5 6 7 8 9 -stopword 11 12 13 14 15 16 17 18 19 20 -stopword 21 22 23 24 25 26 27 28 29 30 -stopword the a an and to too in on of we i am as im for is