From 114fdce09e649934f085f22d60303670f3842628 Mon Sep 17 00:00:00 2001 From: Deluan Date: Sat, 3 Jul 2021 21:48:53 -0400 Subject: [PATCH] Fix Last.fm's artist.getInfo --- core/agents/lastfm/responses.go | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/core/agents/lastfm/responses.go b/core/agents/lastfm/responses.go index b87563c0d..2ccc7db65 100644 --- a/core/agents/lastfm/responses.go +++ b/core/agents/lastfm/responses.go @@ -13,15 +13,10 @@ type Response struct { } type Artist struct { - Name string `json:"name"` - MBID string `json:"mbid"` - URL string `json:"url"` - Image []ArtistImage `json:"image"` - Streamable string `json:"streamable"` - Stats struct { - Listeners string `json:"listeners"` - Plays string `json:"plays"` - } `json:"stats"` + Name string `json:"name"` + MBID string `json:"mbid"` + URL string `json:"url"` + Image []ArtistImage `json:"image"` Similar SimilarArtists `json:"similar"` Tags struct { Tag []ArtistTag `json:"tag"`