Searching the library
The search view can be openned with the Window > Search menu item, or the Ctrl+F shortcut.
Search parameters section
Search for
Enter the search terms here.
Scope
Check the elements you want to search in. Search is made by doing a "OR" between scope's elements. For example, if you search for "Rock" in "genres" and "titles", results will contains items with "Rock" only in their genre, items with "Rock" only in their title, and items with "Rock" in both their genre and title.
Options
Case sensitive
Check if you want the search to be case-sensitive. If checked, "Rock" and "rock" are different terms, if unchecked they are identical.
Whole word
Check if you want to search exact word. If checked, searching for "rock" will not match "rockaroundtheclock", if unchecked it will.
Advanced search
Openning this sub-section will disable the above section, and their parameters will be ommited. Advanced search need to have some notions of SQL.
Query
The "WHERE" part of the SQL query (without the "WHERE" keyword) that will be performed on the LIBRARY table of Jampa's database.
Example: (GENRE='Rock') AND (TRACKLENGTH>1000): search for items with "Rock" as their genre wich have a duration of more than 1000 seconds.
Please refer to the HSQLDB guide for syntax documentation (http://hsqldb.sourceforge.net/doc/guide/ch09.html#select-section).
LIBRARY table structure
Here is the structure of the LIBRARY table:
- PATH (VARCHAR): Full path to the file;
- ARTIST (VARCHAR);
- ALBUM (VARCHAR);
- TITLE (VARCHAR);
- TRACKNUMBER (VARCHAR);
- GENRE (VARCHAR);
- YEAR (VARCHAR);
- COMMENT (VARCHAR);
- TRACKLENGTH (INT): Item duration, in seconds;
Search button
Perform the search. If "Advanced search" sub-section is openned, an advanced search is performed. Otherwise, a normal search is performed.
Clear results button
Clear the results from a previous search.
Search results section
The search results are listed in this section. Before each result, a checkbox allow to select or not the result. You can select all, deselect all, and inverse the selection by using the section toolbar buttons.
This selection can be played or enqueued to the playlist specified in the combo box by using the "Play" or "Enqueue" buttons. From the combo box, you can choose an existing playlist, the default playlist, or to create a new playlist.