Get images

This commit is contained in:
Deluan
2021-02-08 10:14:29 -05:00
committed by Deluan Quintão
parent 28cdf1e693
commit 877cdf1d5c
6 changed files with 101 additions and 12 deletions
+4
View File
@@ -37,6 +37,10 @@ func spotifyConstructor(ctx context.Context) Interface {
return l
}
func (s *spotifyAgent) AgentName() string {
return "spotify"
}
func (s *spotifyAgent) GetImages(name, mbid string) ([]ArtistImage, error) {
a, err := s.searchArtist(name)
if err != nil {