Amarok/Manual/Organization/Collection/SearchInCollection/en: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages />
<languages />


== Search in Collection ==
==== Search in Collection ====


''Search Collection'' lets you specify complex filters to search for specific tracks in your collection. Use the edit box in the ''Media Sources'' pane or click the <menuchoice>Edit Filter</menuchoice>-button right next to the edit box.
''Search Collection'' lets you specify complex filters to search for specific tracks in your collection. Use the edit box in the ''Media Sources'' pane or click the {{Icon|document-properties}} button right next to the edit box. Alternatively you can simply press <keycap>Ctrl + F</keycap> to activate the search bar.


[[File:searchincollection.png|center|250px]]


=== Edit Box ===
[[File:Amarok_2.8_CollectionBrowserSearchField.png|center|300px]]
 
===== Edit Box =====


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


To search in a specific tag, type <code>tag:value</code> 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>. For time conditions, use the following abbreviations: d=day, w=week, m=month, y=year.
Pressing <keycap>Enter</keycap> after searching will populate your playlist with all of the found search items and clear the search box. This is a great way to quickly add hundreds or thousands of tracks to a playlist instantly!
 
To search in a specific tag, type <code>tag:value</code> 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 character. For time conditions, use the following abbreviations: d=day, w=week, m=month, y=year.


==== Tags ====
===== Tags =====


The following tags can be searched:
The following tags can be searched:
* <menuchoice>Album</menuchoice>
* Album
* <menuchoice>Artist</menuchoice>
* Artist
* <menuchoice>Bitrate</menuchoice>
* Bitrate
* <menuchoice>Composer</menuchoice>
* Composer
* <menuchoice>AlbumArtist</menuchoice>
* AlbumArtist
* <menuchoice>Genre</menuchoice>
* Genre
* <menuchoice>Playcount</menuchoice>
* Playcount
* <menuchoice>Rating</menuchoice>
* Rating
* <menuchoice>Sample Rate</menuchoice>
* Sample Rate
* <menuchoice>Score</menuchoice>
* Score
* <menuchoice>Title</menuchoice>
* Title
* <menuchoice>Track</menuchoice>
* Track
* <menuchoice>Year</menuchoice>
* Year
* <menuchoice>BPM</menuchoice>
* BPM


==== Additional searchable fields ====
===== Additional searchable fields =====


Along with tags, the following can also be searched:
Along with tags, the following can also be searched:
* <menuchoice>Comment</menuchoice>
* Comment
* <menuchoice>Filename</menuchoice>
* Filename
* <menuchoice>Disc number</menuchoice>
* Disc number
* <menuchoice>Length</menuchoice>
* Length
* <menuchoice>Filesize</menuchoice>
* Filesize
* <menuchoice>Format</menuchoice>
* Format
* <menuchoice>Added (to Collection)</menuchoice>
* Added (to Collection)
* <menuchoice>First played</menuchoice>
* First played
* <menuchoice>Label</menuchoice>
* Label
* <menuchoice>Last modified</menuchoice>
* Last modified


==== Operators ====
===== Operators =====


Numerical tags can use the following operators to create a condition:
Numerical tags can use the following operators to create a condition:
* Equal: <keycap>:</keycap>
* Equal: ":"
* Less than: <keycap><</keycap>
* Less than: "<"
* Larger than: <keycap>></keycap>
* Larger than: ">"


==== Examples ====
===== Examples =====


If you search without specifying a tag, '''Amarok''' will search in all important text tags:
If you search without specifying a tag, '''Amarok''' will search in all important text tags:
Line 62: Line 65:
[[File:searchincollection_example_editbox2.png|center|300px]]
[[File:searchincollection_example_editbox2.png|center|300px]]


== Edit Filter Dialog ==
==== Edit Filter Dialog ====


If you prefer to build your searches more programatically, drag down the icons for the search terms you want, and drag to change search-term order. You may search by: <menuchoice>Simple text</menuchoice>, <menuchoice>Title</menuchoice>,  
If you prefer to build your searches more programatically, drag down the icons for the search terms you want, and drag to change search-term order. You may search by: <menuchoice>Simple text</menuchoice>, <menuchoice>Title</menuchoice>,  
Line 68: Line 71:
<menuchoice>Year</menuchoice>, <menuchoice>Track Number</menuchoice>, <menuchoice>Disc Number</menuchoice>, <menuchoice>BPM</menuchoice>,  
<menuchoice>Year</menuchoice>, <menuchoice>Track Number</menuchoice>, <menuchoice>Disc Number</menuchoice>, <menuchoice>BPM</menuchoice>,  
<menuchoice>Length</menuchoice>, <menuchoice>Bit Rate</menuchoice>, <menuchoice>Sample Rate</menuchoice>, <menuchoice>File Size</menuchoice>,
<menuchoice>Length</menuchoice>, <menuchoice>Bit Rate</menuchoice>, <menuchoice>Sample Rate</menuchoice>, <menuchoice>File Size</menuchoice>,
<menuchoice>Format</menuchoice>, <menuchoice>Added to Collection</menuchoice>, <menuchoice>Score</menuchoice>, <menuchoice>Rating</menuchoice>,
<menuchoice>Format</menuchoice>, <menuchoice>Added to Collection</menuchoice>, <menuchoice>Score</menuchoice>, <menuchoice>Rating</menuchoice>,
<menuchoice>First Played</menuchoice>, <menuchoice>Playcount</menuchoice>, <menuchoice>Label</menuchoice>, <menuchoice>Last Modified</menuchoice>.  
<menuchoice>First Played</menuchoice>, <menuchoice>Playcount</menuchoice>, <menuchoice>Label</menuchoice>, <menuchoice>Last Modified</menuchoice>.  
You can also add <menuchoice>OR</menuchoice> and <menuchoice>AND</menuchoice> here.
You can also add <menuchoice>OR</menuchoice> and <menuchoice>AND</menuchoice> here.


Select a term and check <menuchoice>Invert condition</menuchoice> to disallow that search-term. Choose <menuchoice>AND</menuchoice> or <menuchoice>OR</menuchoice> for all terms in this search. If you choose <menuchoice>AND</menuchoice>, all search-terms must be present.  
Select a term and check <menuchoice>Invert condition</menuchoice> to exclude items matching this term from the results. Choose <menuchoice>AND</menuchoice> or <menuchoice>OR</menuchoice> for all terms in this search. If you choose <menuchoice>AND</menuchoice>, all search-terms must be present.  
If <menuchoice>OR</menuchoice>, any matches will show up.<br /><br />
If <menuchoice>OR</menuchoice>, any matches will show up.<br /><br />
Of course, clicking <menuchoice>Reset</menuchoice> removes your selections.
Of course, clicking {{Icon|edit-clear-locationbar-rtl}} removes your selections.
[[File:Amarok2.4.1EditFilterDialog.png|center|300px]]
[[File:Amarok2.4.1EditFilterDialog.png|center|300px]]


Line 84: Line 87:
}}
}}


[[Category:Amarok]]
[[Category:Amarok2.8]]
[[Category:Multimedia]]
[[Category:Multimedia]]
[[Category:Tutorials]]
[[Category:Tutorials]]

Latest revision as of 11:46, 25 July 2013

Search in Collection

Search Collection lets you specify complex filters to search for specific tracks in your collection. Use the edit box in the Media Sources pane or click the button right next to the edit box. Alternatively you can simply press Ctrl + F to activate the search bar.


Edit Box

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

Pressing Enter after searching will populate your playlist with all of the found search items and clear the search box. This is a great way to quickly add hundreds or thousands of tracks to a playlist instantly!

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 character. 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

If you search without specifying a tag, Amarok will search in all important text tags:

More complex patterns can be used to get better results:

Edit Filter Dialog

If you prefer to build your searches more programatically, drag down the icons for the search terms you want, and drag to change search-term order. You may search by: Simple text, Title, Artist name, Album Artist Name, Album Name, Genre, Composer, Comment, Filename, Year, Track Number, Disc Number, BPM, Length, Bit Rate, Sample Rate, File Size, Format, Added to Collection, Score, Rating, First Played, Playcount, Label, Last Modified. You can also add OR and AND here.

Select a term and check Invert condition to exclude items matching this term from the results. Choose AND or OR for all terms in this search. If you choose AND, all search-terms must be present. If OR, any matches will show up.

Of course, clicking removes your selections.