The smart playlist editor lets you build a smart playlist (other players might call them dynamic playlists or live playlists) that will be dynamically populated based off the defined set of rules.
Info on the smart playlist list view can be viewed here.
Basic Smart Playlist Properties
Name
The name of the smart playlist
Group By
When viewing the smart playlist, the matches will be grouped by the selected category. This essentially will set the top level view of the playlist. Playlists can be grouped by:
- Artist
- Album Artist
- Track
- Album
- Genre
- Composer
Order By
Field to order the results by. Basically everything stored in GMMP's database is available
Limit
How many results to display in the playlist
Match
- All Rules - All the rules must be met in order for a track to show in the smart playlist
- Any Rule - If a track matches any rule in the rule list it will be displayed.
Rules
Click the floating action button to add a new rule and bring up the rule dialog. The top dropdown will list all the available fields, the second dropdown lets you select the operator, and the final text box lets you set the value.
The operators that show is dependent on the type of field selected. Operators available
- Text Field - Equals, Not Equals, Contains, Doesn't Contain, Begins With, Ends Width, Doesnt Begin With, Doesnt End Width
- Number Field - Equals, Not Equals, Greater Than, Greater Than Or Equal, Less Than, Less Than Or Equal
- Date Field - After, Before, Newer Than, Older Than
Linking Smart Playlists
Instead of defining a rule, you can link to an existing smart playlist to use its rules. To link a smart playlist, click the link button on the toolbar and select the desired playlist to link.
Rule Groups
In order to create a smart playlist with complex logic, rule groups can be used. A rule group will let you group together multiple rules into a single item and either match all rules, or any rule in that group. To add a rule group select Add Rule Group from the toolbar menu.
Example use for a rule group:
Match All Rules
Rule 1: Genre equals Metal
Rule 2: Rule Group
Match Any Rule
Rating greater than or equal 4.5
Rating less than 1
Rule 3: Last Played Older Than 14 Days
This will show all metal music with a rating >= 4.5 or < 1 and was last played at least 14 days ago or older