more work on generic MediaProvider interface

This commit is contained in:
Drew Weymouth
2023-05-14 11:38:06 -07:00
parent 7d293af45b
commit c4436a4887
3 changed files with 33 additions and 6 deletions
+16 -3
View File
@@ -19,11 +19,23 @@ type AlbumWithTracks struct {
}
type Artist struct {
ID string
Name string
ID string
Name string
AlbumCount int
}
type ArtistWithAlbums struct {
Artist
Albums []Album
}
type ArtistInfo struct {
Biography string
LastFMUrl string
ImageURL string
SimilarArtists []Artist
}
type Genre struct {
Name string
AlbumCount int
@@ -39,10 +51,11 @@ type Track struct {
Genre string
ArtistIDs []string
ArtistNames []string
Album string
Rating int
Favorite bool
Size int64
PlayCount int64
PlayCount int
FilePath string
}