chiark / gitweb /
set default gap to 0
[disorder] / debian / etc.disorder.config
index 7c89a8f5bfa785dfedb7db6b31e5615d4b1f25e7..2e974223c8232266bd8d86b33fbbc14c8e0e8f85 100644 (file)
@@ -19,11 +19,20 @@ player *.ogg execraw disorder-decode
 player *.wav execraw disorder-decode
 player *.flac execraw disorder-decode
 
-# Don't leave a gap between tracks.
-gap 0
+# 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
 
 # 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.
@@ -35,12 +44,5 @@ mixer /dev/mixer
 # The channel to control
 channel pcm
 
-# 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
-
 # include debconf configuration
 include /etc/disorder/conf.debconf