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 -1
View File
@@ -303,7 +303,7 @@ func (i *Importer) collectIndex(ig utils.IndexGroups, a *domain.Artist, artistIn
artists = make(tempIndex)
artistIndex[group] = artists
}
artists[indexName] = domain.ArtistInfo{ArtistId: a.Id, Artist: a.Name}
artists[indexName] = domain.ArtistInfo{ArtistId: a.Id, Artist: a.Name, AlbumCount: a.AlbumCount}
}
func (i *Importer) findGroup(ig utils.IndexGroups, name string) string {