Add artist ID to agent's interfaces

This commit is contained in:
Deluan
2021-02-09 11:19:32 -05:00
parent 501af14186
commit b855fe865e
5 changed files with 20 additions and 20 deletions
+6 -6
View File
@@ -31,27 +31,27 @@ var (
)
type ArtistMBIDRetriever interface {
GetMBID(name string) (string, error)
GetMBID(id string, name string) (string, error)
}
type ArtistURLRetriever interface {
GetURL(name, mbid string) (string, error)
GetURL(id, name, mbid string) (string, error)
}
type ArtistBiographyRetriever interface {
GetBiography(name, mbid string) (string, error)
GetBiography(id, name, mbid string) (string, error)
}
type ArtistSimilarRetriever interface {
GetSimilar(name, mbid string, limit int) ([]Artist, error)
GetSimilar(id, name, mbid string, limit int) ([]Artist, error)
}
type ArtistImageRetriever interface {
GetImages(name, mbid string) ([]ArtistImage, error)
GetImages(id, name, mbid string) ([]ArtistImage, error)
}
type ArtistTopSongsRetriever interface {
GetTopSongs(artistName, mbid string, count int) ([]Song, error)
GetTopSongs(id, artistName, mbid string, count int) ([]Song, error)
}
var Map map[string]Constructor