Amarok/Manual/Organization/Collection/SearchInCollection

From KDE Wiki Sandbox

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.