Difference between revisions of "Amarok/Manual/Organization/Collection/SearchInCollection"

Jump to: navigation, search
m (Edit Filter Dialog)
(added more search terms, centered and shrunk images, changed todo)
Line 1: Line 1:
 
[[Category:Amarok]]
 
[[Category:Amarok]]
 
{{Construction}}
 
{{Construction}}
{{Todo|change Appending Conditions to a table, other tables too. Much too long as is. wiki markup...}}
+
{{Todo|need 2.4 edit filter images-5 needed}}
  
The ''Search Collection'' feature makes it possible to specify complex filters to search for specific tracks in your collection. This can be done by using the edit box in the left pane or by clicking on the <menuchoice>Edit Filter</menuchoice>-button right next to the edit box.<br /><br />
+
== Search Collection Overview ==
[[File:searchincollection.png]]
+
 
 +
The ''Search Collection'' feature makes it possible to specify complex filters to search for specific tracks in your collection. This can be done by using the edit box in the ''Media Sources'' pane or by clicking on the <menuchoice>Edit Filter</menuchoice>-button right next to the edit box.<br /><br />
 +
[[File:searchincollection.png|center|250px]]
  
 
== Edit Box ==
 
== Edit Box ==
  
When you type in the input field, '''Amarok''' will search for the expression in all available tags such as artist, album and title. The view of the collection will update automatically to display only the matches of the search.<br />
+
When you type in the input field, '''Amarok''' will search for the expression in all available tags such as artist, album and title. The view of the collection will update automatically to display only the matches of the search.<br /><br />
To search in a specific tag, type '''''tag:value''''' into the search bar. Operators like <keycap><</keycap> and <keycap>></keycap> can be used to create more general conditions. Several conditions can be used together by separating them by a <keycap>space</keycap> between them.
+
To search in a specific tag, type '''''tag:value''''' into the search bar. Operators like <keycap><</keycap> and <keycap>></keycap> can be used to create more general conditions. Several conditions can be used together by separating them by a <keycap>space</keycap> between them. For time conditions, use the following abbreviations: d=day, w=week, m=month, y=year.
  
 
=== Tags ===
 
=== Tags ===
Line 28: Line 30:
 
* <menuchoice>Year</menuchoice>
 
* <menuchoice>Year</menuchoice>
 
* <menuchoice>BPM</menuchoice>
 
* <menuchoice>BPM</menuchoice>
 +
 +
=== Additional searchable fields ===
 +
 +
Along with tags, the following can also be searched:
 +
* <menuchoice>Comment</menuchoice>
 +
* <menuchoice>Filename</menuchoice>
 +
* <menuchoice>Disc number</menuchoice>
 +
* <menuchoice>Length</menuchoice>
 +
* <menuchoice>Filesize</menuchoice>
 +
* <menuchoice>Format</menuchoice>
 +
* <menuchoice>Added (to Collection)</menuchoice>
 +
* <menuchoice>First played</menuchoice>
 +
* <menuchoice>Label</menuchoice>
 +
* <menuchoice>Last modified</menuchoice>
  
 
=== Operators ===
 
=== Operators ===
Line 39: Line 55:
  
 
Without specifying a tag, '''Amarok''' will search in all important text tags:<br /><br />
 
Without specifying a tag, '''Amarok''' will search in all important text tags:<br /><br />
[[File:searchincollection_example_editbox.png]]<br /><br />
+
[[File:searchincollection_example_editbox.png|center|300px]]<br /><br />
 
More complex patterns can be used to get better results:<br /><br />
 
More complex patterns can be used to get better results:<br /><br />
[[File:searchincollection_example_editbox2.png]]
+
[[File:searchincollection_example_editbox2.png|center|300px]]
  
 
== Edit Filter Dialog ==
 
== Edit Filter Dialog ==
Line 51: Line 67:
 
By clicking on <menuchoice>Undo</menuchoice> the last action will be removed.<br />
 
By clicking on <menuchoice>Undo</menuchoice> the last action will be removed.<br />
 
<menuchoice>Clear</menuchoice> deletes the complete search pattern.<br /><br />
 
<menuchoice>Clear</menuchoice> deletes the complete search pattern.<br /><br />
[[File:searchincollection_simple.png|600px]]
+
[[File:searchincollection_simple.png|center|300px]]
 +
 
 +
{{todo: 2.4 edit filter dialog image needed here}}
  
 
=== Appending Condition ===
 
=== Appending Condition ===
Line 108: Line 126:
 
Album: Greatest Hits <br />
 
Album: Greatest Hits <br />
 
We'll search for the track with that conditions in that order. Here again the result when the edit box is used: <br /><br />
 
We'll search for the track with that conditions in that order. Here again the result when the edit box is used: <br /><br />
[[File:searchincollection_example_editbox.png]]<br /><br />
+
[[File:searchincollection_example_editbox.png|center|300px]]<br /><br />
 
Now click on the <menuchoice>Edit Filters</menuchoice>-button next to the edit box. Choose <menuchoice>Title</menuchoice> in the combobox and click the <menuchoice>Append</menuchoice>-button.<br /><br />
 
Now click on the <menuchoice>Edit Filters</menuchoice>-button next to the edit box. Choose <menuchoice>Title</menuchoice> in the combobox and click the <menuchoice>Append</menuchoice>-button.<br /><br />
[[File:searchincollection_example_editfilters1.png|600px]]<br /><br />
+
[[File:searchincollection_example_editfilters1.png|center|300px]]<br /><br />
 
'''Amarok''' already updates the view in the background. But to get a non-ambiguous result we need the other filters. Adding the filters for artist and album work the same way. Use <menuchoice>AND</menuchoice> to connect the conditions, because the track needs to fulfill all requirements.<br /><br />
 
'''Amarok''' already updates the view in the background. But to get a non-ambiguous result we need the other filters. Adding the filters for artist and album work the same way. Use <menuchoice>AND</menuchoice> to connect the conditions, because the track needs to fulfill all requirements.<br /><br />
[[File:searchincollection_example_editfilters2.png|600px]]<br />
+
[[File:searchincollection_example_editfilters2.png|center|300px]]<br />
[[File:searchincollection_example_editfilters3.png|600px]]
+
[[File:searchincollection_example_editfilters3.png|center|300px]]
 +
 
 +
{{todo|more 2.4 edit filter images needed above}}
  
 
{{Prevnext2
 
{{Prevnext2

Revision as of 10:18, 29 January 2011

Under construction.png
Under Construction
This is a new page, currently under construction!
noframe
TODO
need 2.4 edit filter images-5 needed


Search Collection Overview

The Search Collection feature makes it possible to specify complex filters to search for specific tracks in your collection. This can be done by using the edit box in the Media Sources pane or by clicking on the Edit Filter-button right next to the edit box.

Searchincollection.png

Edit Box

When you type in the input field, Amarok will search for the expression in all available tags such as artist, album and title. The view of the collection will update automatically to display only the matches of the search.

To search in a specific tag, type tag:value into the search bar. Operators like < and > can be used to create more general conditions. Several conditions can be used together by separating them by a space between them. For time conditions, use the following abbreviations: d=day, w=week, m=month, y=year.

Tags

The following tags can be searched:

  • Album
  • Artist
  • Bitrate
  • Composer
  • AlbumArtist
  • Genre
  • Playcount
  • Rating
  • Sample Rate
  • Score
  • Title
  • Track
  • Year
  • BPM

Additional searchable fields

Along with tags, the following can also be searched:

  • Comment
  • Filename
  • Disc number
  • Length
  • Filesize
  • Format
  • Added (to Collection)
  • First played
  • Label
  • Last modified

Operators

Numerical tags can use the following operators to create a condition:

  • Equal: :
  • Less than: <
  • Larger than: >

Examples

Without specifying a tag, Amarok will search in all important text tags:

Searchincollection example editbox.png



More complex patterns can be used to get better results:

Searchincollection example editbox2.png

Edit Filter Dialog

Note: The UI of this dialog has changed in version 2.4. The functionality is the same.

A more complex interface to specify search patterns is provided by the Edit Filter dialog.
The Append button adds the current condition to the existing one with the specified connection in the Appending Condition.
By clicking on Undo the last action will be removed.
Clear deletes the complete search pattern.

Searchincollection simple.png

Template:Todo: 2.4 edit filter dialog image needed here

Appending Condition

Several conditions can be connected to form a complex search expression.

Condition Meaning
AND Choose this if you want the get tracks that apply to the new as well as to the previous condition.
OR Choose this if you want the get tracks that apply to the new or to the previous condition.
Invert Condition Negates the defined filter condition.
Simple The simple search mode acts like the edit box and searches through all tags.

Filter Action

Furthermore, the matching of simple conditions can be configured.

Filter Action Meaning
Match All Words Tracks must contain all words that are in the Simple Search edit box.
Match Any Word Tracks must contain at least one of the words that are in the Simple Search edit box.
Exact Match Tracks must contain exactly the same words that are in the Simple Search edit box.
Exclude Tracks must not contain any of the words that are in the Simple Search edit box.

Advanced

To search for in a specific tag it needs to be selected in the combobox. Numerical values can further form a more complex condition with the Equal To, Smaller Than, Larger Than and Between options.

Example

In this example we are trying to find the following track:
Title: Story Of My Life
Artist: Social Distortion
Album: Greatest Hits
We'll search for the track with that conditions in that order. Here again the result when the edit box is used:

Searchincollection example editbox.png



Now click on the Edit Filters-button next to the edit box. Choose Title in the combobox and click the Append-button.

Searchincollection example editfilters1.png



Amarok already updates the view in the background. But to get a non-ambiguous result we need the other filters. Adding the filters for artist and album work the same way. Use AND to connect the conditions, because the track needs to fulfill all requirements.

Searchincollection example editfilters2.png


Searchincollection example editfilters3.png
noframe
TODO
more 2.4 edit filter images needed above



Content is available under Creative Commons License SA 4.0 unless otherwise noted.