Adding song and album counts
This commit is contained in:
@@ -15,6 +15,7 @@ type Album struct {
|
||||
Starred bool
|
||||
PlayCount int
|
||||
PlayDate time.Time
|
||||
SongCount int
|
||||
Duration int
|
||||
Rating int
|
||||
Genre string
|
||||
|
||||
+3
-2
@@ -1,8 +1,9 @@
|
||||
package domain
|
||||
|
||||
type Artist struct {
|
||||
Id string
|
||||
Name string
|
||||
Id string
|
||||
Name string
|
||||
AlbumCount int
|
||||
}
|
||||
|
||||
type ArtistRepository interface {
|
||||
|
||||
+3
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user