X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/fdf98378d2d8c8550661f657d30ec5186ff642f1..938d815790a53407a3113b183319b985135e1d1d:/doc/disorder_config.5.in diff --git a/doc/disorder_config.5.in b/doc/disorder_config.5.in index 34cda6e..eeef352 100644 --- a/doc/disorder_config.5.in +++ b/doc/disorder_config.5.in @@ -636,7 +636,8 @@ transform dir "[[:punct:]]" "" sort g .TP .B url \fIURL\fR Specifies the URL of the web interface. This URL will be used in -generated web pages. +generated web pages. The default is inferred at runtime, so this option no +longer needs to be specified. .IP This must be the full URL, e.g. \fBhttp://myhost/cgi-bin/jukebox\fR and not \fB/cgi-bin/jukebox\fR. @@ -910,6 +911,10 @@ file for full documentation of the labels used by the standard templates. .B @length@ Expands to the length of the current track. .TP +.B @movable@ +Expands to \fBtrue\fR if the current track is movable, otherwise to +\fBfalse\fR. +.TP .B @navigate{\fIDIRECTORY\fB}{\fITEMPLATE\fB} Expands \fITEMPLATE\fR for each component of \fIDIRECTORY\fR in turn. Use \fB@dirname\fR and \fB@basename@\fR to get the components of the path to @@ -991,9 +996,25 @@ Expands to \fBtrue\fR if random play is currently enabled, otherwise to Expands \fITEMPLATE\fR repeatedly using the each recently played track in turn as the current track. The most recently played track comes first. .TP +.B @removable@ +Expands to \fBtrue\fR if the current track is removable, otherwise to +\fBfalse\fR. +.TP .B @resolve{\fITRACK\fB}@ Resolve aliases for \fITRACK\fR and expands to the result. .TP +.B @right{\fIRIGHT\fB}@ +Exapnds to \fBtrue\fR if the user has right \fIRIGHT\fR, otherwise to +\fBfalse\fR. +.TP +.B @right{\fIRIGHT\fB}{\fITRUEPART\fB}{\fIFALSEPART\fB}@ +Expands to \fITRUEPART\fR if the user right \fIRIGHT\fR, otherwise to +\fIFALSEPART\fR (which may be omitted). +.TP +.B @scratchable@ +Expands to \fBtrue\fR if the currently playing track is scratchable, otherwise +to \fBfalse\fR. +.TP .B @search{\fIPART\fB}\fR[\fB{\fICONTEXT\fB}\fR]\fB{\fITEMPLATE\fB}@ Expands \fITEMPLATE\fR once for each group of search results that have a common value of track part \fIPART\fR.