feat: add global smart playlist functionality

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2026-01-16 10:27:51 -05:00
commit 8861eebe21
7 changed files with 108 additions and 5 deletions

View file

@ -27,6 +27,7 @@ type Playlist struct {
// SmartPlaylist attributes
Rules *criteria.Criteria `structs:"rules" json:"rules"`
EvaluatedAt *time.Time `structs:"evaluated_at" json:"evaluatedAt"`
Global bool `structs:"global" json:"global"`
}
func (pls Playlist) IsSmartPlaylist() bool {