Initial drafts for Smart Playlists

This commit is contained in:
Deluan
2021-10-08 22:23:43 -04:00
committed by Deluan Quintão
parent 2a756eab88
commit cf8d08ec26
7 changed files with 641 additions and 0 deletions
+4
View File
@@ -18,6 +18,10 @@ type Playlist struct {
Sync bool `structs:"sync" json:"sync"`
CreatedAt time.Time `structs:"created_at" json:"createdAt"`
UpdatedAt time.Time `structs:"updated_at" json:"updatedAt"`
// SmartPlaylist attributes
//Rules *SmartPlaylist `structs:"rules" json:"rules"`
//EvaluatedAt time.Time `structs:"evaluated_at" json:"evaluatedAt"`
}
type Playlists []Playlist