Small changes regarding StarredAt.

Making StarredAt more "precise", setting it to the time the change was detected.
getStarred.view now returns albums ordered by StarredAt.
loadRange method now take QueryOptions.Desc into account
This commit is contained in:
Deluan
2016-03-22 19:00:18 -04:00
parent 4e3c848815
commit db992a9941
8 changed files with 72 additions and 56 deletions
+2 -1
View File
@@ -12,12 +12,13 @@ type Album struct {
AlbumArtist string
Year int `idx:"Year"`
Compilation bool
Starred bool `idx:"Starred"`
Starred bool
PlayCount int
PlayDate time.Time
Duration int
Rating int
Genre string
StarredAt time.Time `idx:"Starred"`
CreatedAt time.Time
UpdatedAt time.Time
}