Académique Documents
Professionnel Documents
Culture Documents
html
The following common types of placeholders are used in the rest of this document:
<field>
A reference to a tag field. This can be either a plain field name or a title formatting expression. See
Notes for details.
<number>
An integer value.
<string>
A text value that may be enclosed in double quotation marks. See Notes for details.
<time>
A time value or a title formatting expression that evaluates to a time value. See Time Expressions for
details.
<expression>
A query expression in a composed query. This has to follow the rules described under Advanced
Search below.
Simple Search
The simple search mode does not use any keywords.
<any string>
Returns only items that have all words from specified string in their metadata or file path.
When using the simple search, any latin characters are matched regardless of their accents, e.g. “foo”
will match “foo” as well as “föö” or “fóo”.
Advanced Search
The advanced search allows the construction of more complex queries. It offers several keywords to
perform specific types of comparisons and to combine multiple query expressions.
Text Expressions
1 di 4 09/11/2010 18:35
Query Syntax Help file:///C:/Users/Domenico/Desktop/foobar2000/Query Syntax Help.html
Numeric Expressions
Perform integral number comparison between the value of a <field> and a <number>, e.g.
”%rating% GREATER 3”.
Metadata Expressions
<field> MISSING
Returns only items that don't have a metadata field named <field>.
Example: genre MISSING
<field> PRESENT
Returns only items that have a metadata field named <field>.
Example: genre PRESENT
Time Expressions
Composed Queries
Sorting Results
2 di 4 09/11/2010 18:35
Query Syntax Help file:///C:/Users/Domenico/Desktop/foobar2000/Query Syntax Help.html
You can put a SORT BY operator at the end of your search expression to produce search results sorted
by the specified title formatting pattern.
Notes
<field> and <string> in HAS and IS expressions should be enclosed in double quotation marks (”) if
they include spaces or parentheses.
If <field> in HAS, IS, GREATER, LESS, EQUAL includes at least one of #$% characters, it will be
treated as a title formatting string.
Example: %codec% IS MP3
If <field> in HAS, IS, GREATER, LESS, EQUAL does not include any of #$% characters, it will be
treated as a metadata field.
Example: artist IS Radiohead
Note that you can't access technical information (such as codec specifications) or component-
provided information (playback statistics and such) this way.
Using title formatting strings instead of simple field names will decrease search speed on large
libraries and break multiple field value handling in the IS operator - for example, a track with two
artist names: “name1” and “name2”, will be found by artist IS name1 query, but not by %artist% IS
name1.
To control the evaluation order of composed queries, enclose the individual expressions in
parentheses.
Example: ( (artist IS blah) AND (title HAS blah) ) OR (%rating% GREATER 3)
All search expressions are not case-sensitive. All keywords must be uppercase.
Operator Summary
3 di 4 09/11/2010 18:35
Query Syntax Help file:///C:/Users/Domenico/Desktop/foobar2000/Query Syntax Help.html
4 di 4 09/11/2010 18:35