X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/bd8895a87731c72190ea2012f36583f796d4181a..b30155e30c466ce8ca8668b909a5daca7acfbfd5:/doc/disorder_config.5.in diff --git a/doc/disorder_config.5.in b/doc/disorder_config.5.in index a57a337..bf7876c 100644 --- a/doc/disorder_config.5.in +++ b/doc/disorder_config.5.in @@ -1,5 +1,5 @@ .\" -.\" Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell +.\" Copyright (C) 2004-2008 Richard Kettlewell .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -200,17 +200,20 @@ Configuration files are read in the following order: .TP .I pkgconfdir/config.private Should be readable only by the jukebox group. Not really useful any more and -may be abolished in future. -.TP -.I pkgconfdir/config.\fRUSER -Per-user system-controlled client configuration. Optional but if it -exists must be readable only by the relevant user. Would normally -contain a \fBpassword\fR directive. +will be abolished in future. .TP .I ~\fRUSER\fI/.disorder/passwd Per-user client configuration. Optional but if it exists must be readable only by the relevant user. Would normally contain a \fBpassword\fR directive. +.TP +.I pkgconfdir/config.\fRUSER +Per-user system-controlled client configuration. Optional but if it +exists must be readable only by the relevant user. Would normally +contain a \fBpassword\fR directive. +.IP +The prefererred location for per-user passwords is \fI~/.disorder/passwd\fR and +\fBdisorder authorize\fR writes there now. .SS "Global Configuration" .TP .B home \fIDIRECTORY\fR @@ -313,7 +316,8 @@ it affects all output devices. .IP You can also specify channels by number, if you know the right value. .IP -For \fBapi alsa\fR, volume setting is not currently supported. +For \fBapi alsa\fR, this is the name of the mixer control to use. The default +is \fBPCM\fR. Use \fBamixer scontrols\fR or similar to get a full list. .IP For \fBapi coreaudio\fR, volume setting is not currently supported. .TP @@ -361,7 +365,8 @@ For \fBapi alsa\fR this is the device name to use. .IP For \fBapi coreaudio\fR this is currently ignored. .IP -The default is \fBdefault\fR. +The default is \fBdefault\fR, which is intended to map to whatever the system's +default is. .TP .B gap \fISECONDS\fR Specifies the number of seconds to leave between tracks. The default @@ -390,7 +395,8 @@ The mixer device name, if it needs to be specified separately from For \fBapi oss\fR this should be the path to the mixer device and the default is \fI/dev/mixer\fR. .IP -For \fBapi alsa\fR, volume setting is not currently supported. +For \fBapi alsa\fR, this is the index of the mixer control to use. The default +is 0. .IP For \fBapi coreaudio\fR, volume setting is not currently supported. .TP @@ -439,6 +445,10 @@ namepart artist "/([^/]+)/[^/]+/[^/]+$" $1 * namepart ext "(\\.[a-zA-Z0-9]+)$" $1 * .fi .TP +.B new_max \fIMAX\fR +The maximum number of tracks to list when reporting newly noticed tracks. The +default is 100. +.TP .B nice_rescan \fIPRIORITY\fR Set the recan subprocess priority. The default is 10. .IP @@ -527,6 +537,10 @@ to 3600, i.e. one hour. The target size of the queue. If random play is enabled then randomly picked tracks will be added until the queue is at least this big. The default is 10. .TP +.B reminder_interval \fISECONDS\fR +The minimum number of seconds that must elapse between password reminders. The +default is 600, i.e. 10 minutes. +.TP .B sample_format \fIBITS\fB/\fIRATE\fB/\fICHANNELS Describes the sample format expected by the \fBspeaker_command\fR (below). The components of the format specification are as follows: @@ -908,7 +922,18 @@ The ID of the current track. If \fIBOOL\fR expands to \fBtrue\fR then expands to \fITRUEPART\fR, otherwise to \fIFALSEPART\fR (which may be omitted). .TP -.B @include:\fIPATH\fR@ +.B @image:\fINAME\fB@ +Expands to the (possibly relative) URL for image \fINAME\fR. +.IP +If there is a label \fBimages.\fINAME\fR then that will be the image base name. +Otherwise the image base name is \fINAME\fB.png\fR or just \fINAME\fR if it +alraedy has an extension. Thus labels may be defined to give images role +names. +.IP +If there is a label \fBurl.static\fR then that is the base URL for images. If +it is not defined then \fB/disorder\fR is used as a default. +.TP +.B @include:\fIPATH\fB@ Include the named file as if it were a template file. If \fIPATH\fR starts with a \fB/\fR then it is used as-is; otherwise, ".html" is appended and the template path is searched. @@ -1158,6 +1183,9 @@ URL-quote \fISTRING\fR. .B @user@ The current username. This will be "guest" if nobody is logged in. .TP +.B @userinfo{\fIPROPERTY\fB}@ +Look up a property of the logged-in user. +.TP .B @version@ Expands to \fBdisorder.cgi\fR's version string. .TP