<!ENTITY dhemail "kaliko@azylum.org">
<!ENTITY dhusername "&dhsurname;">
<!ENTITY dhpackage "mpd-sima">
- <!ENTITY release "0.16.0">
+ <!ENTITY release "0.16.1">
<!-- TITLE should be something like "User commands" or similar (see
http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
<!ENTITY dhtitle "&dhpackage; &release; User Manual">
.\" Title: mpd_sima.cfg
.\" Author: kaliko <kaliko@azylum.org>
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 12/15/2020
-.\" Manual: mpd-sima 0.16.0 User Manual
+.\" Date: 12/16/2020
+.\" Manual: mpd-sima 0.16.1 User Manual
.\" Source: mpd-sima
.\" Language: English
.\"
-.TH "MPD_SIMA\&.CFG" "5" "12/15/2020" "mpd-sima" "mpd-sima 0.16.0 User Manual"
+.TH "MPD_SIMA\&.CFG" "5" "12/16/2020" "mpd-sima" "mpd-sima 0.16.1 User Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.PP
In addition to supported tags above you can use an MPD filter\&. Please refer to MPD protocol documentation for more\&.
.PP
-All entries in this section are ANDed as a single MPD filter to look for titles in the library\&. Moreover, with tags, comma separated values are also ANDed\&.
+All entries in this section are ANDed as a single MPD filter to look for titles in the library\&. Moreover, with tags, comma separated values are also ORed\&.
.br
For instance setting "\fBgenre=rock\fR" and "\fBdate=1982,1983,1984,1985,1986,1987,1988,1989\fR" will end up looking for track tagged with genre
Using an MPD filter to replace
\fBdate\fR
-you can achieve the same with the following setting: "\fBgenre=rock\fR" and "\fBfilter=(date =~ \*(Aq198[2\-9]\*(Aq)\fR" (provided your MPD server was compiled with libpcre)\&.
+you can achieve the same with the following setting: "\fBgenre=rock\fR" and "\fBfilter=(date =~ \*(Aq198[2\-9]+\*(Aq)\fR" (provided your MPD server was compiled with libpcre)\&.
.PP
\fB[tags]\fR
.RS 4
If set to "false", caching is still done but in memory.
</p></dd><dt><span class="term"><code class="option">priority=</code><em class="replaceable"><code>100</code></em></span></dt><dd><p>
Plugin priority
- </p></dd></dl></div></div><div class="refsect2"><a name="tags"></a><h3>Tags section</h3><p>Tags plugin's configuration. There is no default configuration for this plugin, it does not work out of the box.</p><p>
- This plugin permits offline autoqueuing based on files tags only. Supported tags are
- <code class="option">'comment'</code>, <code class="option">'date'</code>, <code class="option">'genre'</code>, <code class="option">'label'</code> and
- <code class="option">'originaldate'</code>. It currently supports single track queuing only, no album mode for this plugin.
- </p><p>
- In addition to supported tags above you can use an MPD filter. Please refer to MPD protocol documentation for more.
- </p><p>
- All entries in this section are ANDed as a single MPD filter to look for titles
- in the library. Moreover, with tags, comma separated values are also ANDed.<br>
+ </p></dd></dl></div></div><div class="refsect2"><a name="tags"></a><h3>Tags section</h3><p>Tags plugin's configuration. There is no default configuration for this plugin,
+ it does not work out of the box.</p><p> This plugin permits offline autoqueuing based on files tags only. Supported tags are
+ <code class="option">'comment'</code>, <code class="option">'date'</code>, <code class="option">'genre'</code>,
+ <code class="option">'label'</code> and <code class="option">'originaldate'</code>. It currently
+ supports single track queuing only, no album mode for this plugin.</p><p>In addition to supported tags above you can use an MPD filter. Please refer to
+ MPD protocol documentation for more.</p><p>All entries in this section are ANDed as a single MPD filter to look for titles
+ in the library. Moreover, with tags, comma separated values are also ORed.<br>
For instance setting "<code class="option">genre=rock</code>" and
"<code class="option">date=1982,1983,1984,1985,1986,1987,1988,1989</code>"
will end up looking for track tagged with genre <code class="option">rock</code>
and date within 1985 through 1990.<br>
Using an MPD filter to replace <code class="option">date</code> you can achieve
the same with the following setting: "<code class="option">genre=rock</code>" and
- "<code class="option">filter=(date =~ '198[2-9]')</code>" (provided your MPD server
+ "<code class="option">filter=(date =~ '198[2-9]+')</code>" (provided your MPD server
was compiled with libpcre).
</p><dt><span class="term"><code class="option">[tags]</code></span></dt><dd></dd><dt><span class="term"><code class="option">filter=</code></span></dt><dd><p>You can use here any valid MPD filter as defined in MPD protocol documentation.</p></dd><dt><span class="term"><code class="option">comment=</code></span></dt><dd></dd><dt><span class="term"><code class="option">date=</code></span></dt><dd></dd><dt><span class="term"><code class="option">genre=</code></span></dt><dd></dd><dt><span class="term"><code class="option">label=</code></span></dt><dd></dd><dt><span class="term"><code class="option">priority=</code><em class="replaceable"><code>80</code></em></span></dt><dd><p>
Plugin priority
</refsect2>
<refsect2 id="tags">
<title>Tags section</title>
- <para>Tags plugin's configuration. There is no default configuration for this plugin, it does not work out of the box.</para>
- <para>
- This plugin permits offline autoqueuing based on files tags only. Supported tags are
- <option>'comment'</option>, <option>'date'</option>, <option>'genre'</option>, <option>'label'</option> and
- <option>'originaldate'</option>. It currently supports single track queuing only, no album mode for this plugin.
- </para>
- <para>
- In addition to supported tags above you can use an MPD filter. Please refer to MPD protocol documentation for more.
- </para>
- <para>
- All entries in this section are ANDed as a single MPD filter to look for titles
- in the library. Moreover, with tags, comma separated values are also ANDed.<sbr />
+ <para>Tags plugin's configuration. There is no default configuration for this plugin,
+ it does not work out of the box.</para>
+ <para> This plugin permits offline autoqueuing based on files tags only. Supported tags are
+ <option>'comment'</option>, <option>'date'</option>, <option>'genre'</option>,
+ <option>'label'</option> and <option>'originaldate'</option>. It currently
+ supports single track queuing only, no album mode for this plugin.</para>
+ <para>In addition to supported tags above you can use an MPD filter. Please refer to
+ MPD protocol documentation for more.</para>
+ <para>All entries in this section are ANDed as a single MPD filter to look for titles
+ in the library. Moreover, with tags, comma separated values are also ORed.<sbr />
For instance setting "<option>genre=rock</option>" and
"<option>date=1982,1983,1984,1985,1986,1987,1988,1989</option>"
will end up looking for track tagged with genre <option>rock</option>
and date within 1985 through 1990.<sbr />
Using an MPD filter to replace <option>date</option> you can achieve
the same with the following setting: "<option>genre=rock</option>" and
- "<option>filter=(date =~ '198[2-9]')</option>" (provided your MPD server
+ "<option>filter=(date =~ '198[2-9]+')</option>" (provided your MPD server
was compiled with libpcre).
</para>
<varlistentry> <!-- tags -->