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

From KDE UserBase Wiki
(Marked this version for translation)
(Marked this version for translation)
 
(21 intermediate revisions by 8 users not shown)
Line 2: Line 2:
<translate>
<translate>


== Search Collection == <!--T:1-->
==== Search in Collection ==== <!--T:1-->


<!--T:2-->
<!--T:2-->
''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.


<!--T:3-->
[[File:searchincollection.png|center|250px]]


== Edit Box == <!--T:4-->
<!--T:31-->
[[File:Amarok_2.8_CollectionBrowserSearchField.png|center|300px]]
 
===== Edit Box ===== <!--T:4-->


<!--T:5-->
<!--T:5-->
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.
<!--T:30-->
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!


<!--T:6-->
<!--T:6-->
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> between them. For time conditions, use the following abbreviations: d=day, w=week, m=month, y=year.
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 === <!--T:7-->
===== Tags ===== <!--T:7-->


<!--T:8-->
<!--T:8-->
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 === <!--T:9-->
===== Additional searchable fields ===== <!--T:9-->


<!--T:10-->
<!--T:10-->
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 === <!--T:11-->
===== Operators ===== <!--T:11-->


<!--T:12-->
<!--T:12-->
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 === <!--T:13-->
===== Examples ===== <!--T:13-->


<!--T:14-->
<!--T:14-->
Line 74: Line 78:
[[File:searchincollection_example_editbox2.png|center|300px]]
[[File:searchincollection_example_editbox2.png|center|300px]]


== Edit Filter Dialog == <!--T:18-->
==== Edit Filter Dialog ==== <!--T:18-->


<!--T:19-->
<!--T:19-->
Line 84: Line 88:
<translate><!--T:22-->
<translate><!--T:22-->
<menuchoice>Length</menuchoice>, <menuchoice>Bit Rate</menuchoice>, <menuchoice>Sample Rate</menuchoice>, <menuchoice>File Size</menuchoice>,</translate>
<menuchoice>Length</menuchoice>, <menuchoice>Bit Rate</menuchoice>, <menuchoice>Sample Rate</menuchoice>, <menuchoice>File Size</menuchoice>,</translate>
<translate> <!--T:23-->
<translate><!--T:23-->
<menuchoice>Format</menuchoice>, <menuchoice>Added to Collection</menuchoice>, <menuchoice>Score</menuchoice>, <menuchoice>Rating</menuchoice>,</translate>
<menuchoice>Format</menuchoice>, <menuchoice>Added to Collection</menuchoice>, <menuchoice>Score</menuchoice>, <menuchoice>Rating</menuchoice>,</translate>
<translate> <!--T:24-->
<translate><!--T:24-->
<menuchoice>First Played</menuchoice>, <menuchoice>Playcount</menuchoice>, <menuchoice>Label</menuchoice>, <menuchoice>Last Modified</menuchoice>. </translate>
<menuchoice>First Played</menuchoice>, <menuchoice>Playcount</menuchoice>, <menuchoice>Label</menuchoice>, <menuchoice>Last Modified</menuchoice>. </translate>
<translate><!--T:25-->
<translate><!--T:25-->
Line 92: Line 96:


<!--T:26-->
<!--T:26-->
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. </translate>
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. </translate>
<translate><!--T:27-->
<translate><!--T:27-->
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 107: Line 111:


<!--T:29-->
<!--T:29-->
[[Category:Amarok]]
[[Category:Amarok2.8]]
[[Category:Multimedia]]
[[Category:Multimedia]]
[[Category:Tutorials]]
[[Category:Tutorials]]
</translate>
</translate>

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.