]> kaliko git repositories - mpd-sima.git/blobdiff - doc/source/user/01_configurations.rst
Remove vinstall.py
[mpd-sima.git] / doc / source / user / 01_configurations.rst
index 6819adf00e6e3a0d61c38c3765a17c468dcc4176..22ebe4d513ce885ca63dc6be74d759bac4862532 100644 (file)
@@ -1,3 +1,5 @@
+.. _configuration-examples:
+
 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.
 
 
 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.
 
 
 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.
 
@@ -102,7 +104,7 @@ Tag queuing
 
 This is the most complex and versatile offline mode. "Tags" plugin allows to queue track based on actual tags value.
 
 
 This is the most complex and versatile offline mode. "Tags" plugin allows to queue track based on actual tags value.
 
-Here is an example to have MPD_sima to queue only electronic music tagged with genres **electonica** or **IDM** or **glitch**:
+Here is an example to have MPD_sima to queue only electronic music tagged with genres **electronica** or **IDM** or **glitch**:
 
 .. code:: ini
 
 
 .. code:: ini
 
@@ -110,8 +112,8 @@ Here is an example to have MPD_sima to queue only electronic music tagged with g
     internal = Crop, Tags
 
     [tags]
     internal = Crop, Tags
 
     [tags]
-    # Look for files with tagged with genre "electonica" OR "IDM" OR "glitch"
-    genre = electonica, IDM, glitch
+    # Look for files with tagged with genre "electronica" OR "IDM" OR "glitch"
+    genre = electronica, IDM, glitch
 
 There are other supported tags, mainly **date**, **originaldate** or
 **comment** (cf manual for the exact list). You can use more than one, entries
 
 There are other supported tags, mainly **date**, **originaldate** or
 **comment** (cf manual for the exact list). You can use more than one, entries
@@ -145,8 +147,8 @@ current filter "`(date =~ '198[2-9]+')`":
     genre = rock
     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
 
 
 .. code:: ini
 
@@ -154,8 +156,7 @@ And even go further and merge genre in the filter using "`((genre == 'rock') AND
     internal = Crop, Tags
 
     [tags]
     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.
 
 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.