Create a smart (self-updating) playlist
create_smart_playlistCreate a rule-based smart playlist in Navidrome that stays current by continuously re-evaluating your library, for criteria like '90s rock not played in a year'.
Instructions
Create a playlist defined by RULES rather than a fixed track list. Navidrome re-evaluates it continuously, so it stays current without regeneration — ideal for standing playlists like '90s rock I haven't played in a year'.
Rules are Navidrome's native criteria format: {"all":[{"is":{"genre":"Rock"}},{"inTheRange":{"year":[1990,1999]}},{"notInTheLast":{"lastPlayed":365}}],"sort":"playCount","order":"desc","limit":100}
Operators: is, isNot, gt, lt, contains, notContains, startsWith, endsWith, inTheRange, before, after, inTheLast, notInTheLast. Combine with all (AND) / any (OR), which may nest. Fields include: title, album, artist, albumartist, genre, year, dateadded, datemodified, lastplayed, playcount, rating, starred, loved, comment, bpm, length, filepath, filetype.
Note: rules operate on Navidrome's own fields only — ListenBrainz listen counts and Last.fm tags are NOT available here. For those, use search_tracks plus create_playlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| rules | Yes | Navidrome smart-playlist criteria object. | |
| public | No | ||
| comment | No |