Document smartplaylist sorting behavior.

This commit is contained in:
Bruno Cauet 2015-03-18 19:00:44 +01:00
parent bcd57bd2b5
commit 86443c076d
2 changed files with 13 additions and 1 deletions

View file

@ -23,7 +23,7 @@ extlinks = {
}
# Options for HTML output
html_theme = 'classic'
html_theme = 'default'
htmlhelp_basename = 'beetsdoc'
# Options for LaTeX output

View file

@ -44,6 +44,18 @@ You can also gather the results of several queries by putting them in a list.
- name: 'BeatlesUniverse.m3u'
query: ['artist:beatles', 'genre:"beatles cover"']
Note that since beets query syntax is in effect, you can also use sorting
directives::
- name: 'Chronological Beatles'
query: 'artist:Beatles year+'
- name: 'Mixed Rock'
query: ['artist:Beatles year+', 'artist:"Led Zeppelin" bitrate+']
The former case behaves as expected, however please note that in the latter the
sorts will be merged: ``year+ bitrate+`` will apply to both the Beatles and Led
Zeppelin. If that bothers you, please get in touch.
For querying albums instead of items (mainly useful with extensible fields),
use the ``album_query`` field. ``query`` and ``album_query`` can be used at the
same time. The following example gathers single items but also items belonging