+
.\"
.\" Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell
.\"
.B home \fIDIRECTORY\fR
The home directory for state files. Defaults to
.IR pkgstatedir .
+The server will create this directory on startup if it does not exist.
.TP
.B plugin \fIPATH\fR
Adds a directory to the plugin path. (This is also used by the web
.IP
The default is \fB{/artist}{/album}{/title}{ext}\fR.
.TP
+.B authorization_algorthm \fIALGORITHM\fR
+Defines the algorithm used to authenticate clients. The valid options
+are sha1 (the default), sha256, sha384 and sha512. See
+.BR disorder_protocol (5)
+for more details.
+.TP
.B broadcast \fIADDRESS\fR \fIPORT\fR
Transmit sound data to \fIADDRESS\fR using UDP port \fIPORT\fR. This implies
\fBspeaker_backend network\fR.
Set the recan subprocess priority. The default is 10.
.IP
(Note that higher values mean the process gets less CPU time; UNIX priority
-values are the backwards.)
+values are backwards.)
.TP
.B nice_server \fIPRIORITY\fR
Set the server priority. This is applied to the server at startup time (and
timely scheduling. If you have limited CPU then it might help to set this to a
small negative value. The default is 0.
.TP
+.B noticed_history
+The maximum days that a track can survive in the database of newly added
+tracks. The default is 31.
+.TP
.B player \fIPATTERN\fR \fIMODULE\fR [\fIOPTIONS.. [\fB--\fR]] \fIARGS\fR...
Specifies the player for files matching the glob \fIPATTERN\fR. \fIMODULE\fR
specifies which plugin module to use.
.PP
The default is
.BR 16/44100/2 .
+.PP
+With the
+.B network
+backend the sample format is forced to
+.B 16b/44100/2
+and with the
+.B coreaudio
+backend it is forced to
+.BR 16/44100/2 ,
+in both cases regardless of what is specified in the configuration file.
.RE
.TP
.B signal \fINAME\fR
Use the ALSA API. This is only available on Linux systems, on which it is the
default.
.TP
+.B coreaudio
+Use Apple Core Audio. This only available on OS X systems, on which it is the
+default.
+.TP
+.B oss
+Use the OSS (/dev/dsp) API. Not available on all platforms. Not well
+maintained at the moment.
+.TP
.B command
Execute a command. This is the default if
.B speaker_command
-is specified, or (currently) on non-Linux systems.
+is specified, or if no native is available.
.TP
.B network
Transmit audio over the network. This is the default if
.I pkgconfdir/config.private
Should be readable only by the jukebox group, and contain \fBallow\fR
commands for authorised users.
+.IP
+If this file does not exist at startup then the server will create it with a
+randomly chosen password for the root user.
.TP
.I pkgconfdir/config.\fRUSER
Per-user system-controlled client configuration. Optional but if it
Provides a front end to \fBchoose.html\fR which allows subsets of the top level
directories to be selected by initial letter.
.TP
+.B new.html
+Lists newly added tracks.
+.TP
.B playing.html
The "front page", which usually shows the currently playing tracks and
the queue.
.B credits.html
Included at the end of the main content \fB<DIV>\fR element.
.TP
-.B sidebar.html
-Included at the start of the \fB<BODY>\fR element.
+.B topbar.html
+Included at the start of the \fB<BODY>\fR element. (This supplants
+\fBsidebar.html\fR, though the latter is still available; override label
+\fBmenu\fR to choose between them.)
.TP
.B stdhead.html
Included in the \fB<HEAD>\fR element.
Expands to \fBtrue\fR if this is the last repetition of a \fITEMPLATE\fR in a
loop, otherwise to \fBfalse\fR.
.TP
+.B @isnew@
+Expands to \fBtrue\fR if the newly added tracks list has any tracks in it,
+otherwise to \fBfalse\fR.
+.TP
.B @isplaying@
Expands to \fBtrue\fR if a track is playing, otherwise to \fBfalse\fR.
.TP
.B @ne{\fIA\fB}{\fIB\fB}
Expands to \fBtrue\fR if \fIA\fR and \fIB\fR differ, otherwise to \fBfalse\fR.
.TP
+.B @new{\fITEMPLATE\fB}
+Expands \fITEMPLATE\fR for each track in the newly added tracks list, starting
+with the most recent. Used in \fBnew.html\fR.
+.TP
.B @nfiles@
Expands to the number of files from \fB@files\fR (above).
.TP