Adding song and album counts

This commit is contained in:
Deluan
2016-03-27 20:13:00 -04:00
parent 167e7a1825
commit 3cc92a32bd
9 changed files with 32 additions and 7 deletions
+1
View File
@@ -15,6 +15,7 @@ type Album struct {
Starred bool
PlayCount int
PlayDate time.Time
SongCount int
Duration int
Rating int
Genre string
+3 -2
View File
@@ -1,8 +1,9 @@
package domain
type Artist struct {
Id string
Name string
Id string
Name string
AlbumCount int
}
type ArtistRepository interface {
+3 -2
View File
@@ -3,8 +3,9 @@ package domain
import "github.com/deluan/gosonic/utils"
type ArtistInfo struct {
ArtistId string
Artist string
ArtistId string
Artist string
AlbumCount int
}
type ArtistIndex struct {