Load SmartPlaylists rules from DB

This commit is contained in:
Deluan
2021-10-14 18:39:17 -04:00
committed by Deluan Quintão
parent 7221b49b98
commit 815623715e
4 changed files with 84 additions and 38 deletions
+6 -7
View File
@@ -13,13 +13,12 @@ import (
)
//{
// "combinator": "and",
// "rules": [
// {"field": "loved", "operator": "is true"},
// {"field": "lastPlayed", "operator": "in the last", "value": "90"}
// ],
// "order": "artist asc",
// "limit": 100
//"combinator": "and",
//"rules": [
// {"field": "lastPlayed", "operator": "in the last", "value": "30"}
//],
//"order": "lastPlayed desc",
//"limit": 10
//}
type SmartPlaylist model.SmartPlaylist