switch artists page to grid view
This commit is contained in:
@@ -20,6 +20,7 @@ type AlbumWithTracks struct {
|
||||
|
||||
type Artist struct {
|
||||
ID string
|
||||
CoverArtID string
|
||||
Name string
|
||||
Favorite bool
|
||||
AlbumCount int
|
||||
|
||||
@@ -311,6 +311,7 @@ func toArtistFromID3(ar *subsonic.ArtistID3) *mediaprovider.Artist {
|
||||
}
|
||||
return &mediaprovider.Artist{
|
||||
ID: ar.ID,
|
||||
CoverArtID: ar.CoverArt,
|
||||
Name: ar.Name,
|
||||
Favorite: !ar.Starred.IsZero(),
|
||||
AlbumCount: ar.AlbumCount,
|
||||
|
||||
Reference in New Issue
Block a user