X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=doc%2Fsource%2Fuser%2F01_configurations.rst;h=25c7e2f0d1a6996ec036977d718d04305397d9fc;hb=339492ad21180a64575742f3eb71f7bfafb3b91a;hp=6819adf00e6e3a0d61c38c3765a17c468dcc4176;hpb=f22f69c4510ccb1d32d389597939ffbc140a4178;p=mpd-sima.git diff --git a/doc/source/user/01_configurations.rst b/doc/source/user/01_configurations.rst index 6819adf..25c7e2f 100644 --- a/doc/source/user/01_configurations.rst +++ b/doc/source/user/01_configurations.rst @@ -1,3 +1,5 @@ +.. _configuration-examples: + Configuration examples ====================== @@ -41,7 +43,7 @@ Album mode One of the first request added to MPD_sima was album mode. It allows to queue whole album instead of single tracks. -Here the configuration keeps the queue plugin *Lastfm* but configure it to queue albums (``queue_mode = album``) and ask for 2 albums to be add. +Here the configuration keeps the queue plugin *Lastfm* but configures it to queue albums (``queue_mode = album``) and ask for 2 albums to be add. The configuration of MPD_sima in ``sima`` section is also modified for ``queue_length``. The value of 10 is to trigger album queueing when there are 10 tracks or less in the queue. @@ -145,8 +147,8 @@ current filter "`(date =~ '198[2-9]+')`": genre = rock filter = (date =~ '198[2-9]+') -And even go further and merge genre in the filter using "`((genre == 'rock') AND -(date =~ '198[2-9]+'))`". +And even go further and merge genre in the filter using "`(genre == 'rock') AND +(date =~ '198[2-9]+')`". .. code:: ini @@ -154,8 +156,7 @@ And even go further and merge genre in the filter using "`((genre == 'rock') AND internal = Crop, Tags [tags] - filter = (genre == 'rock' ) AND (date =~ '198[2-9]+')) - + filter = (genre == 'rock' ) AND (date =~ '198[2-9]+') Since the setup for the filter can be tricky and it can be useful to validate the syntax and have a look at what kind of artists the filter would return.