🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
feat(agents): Add Deezer API artist image provider agent (#4180)
Bastiaan van der Plaat93040b3f85d9
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.mdindex 73ad6e727..451ffb2bd 100644--- a/.github/copilot-instructions.md+++ b/.github/copilot-instructions.md@@ -36,7 +36,7 @@ This is a music streaming server written in Go with a React frontend. The applic5. Document configuration options in code6. Consider performance implications when working with music libraries7. Follow existing error handling patterns-8. Ensure compatibility with external services (LastFM, Spotify)+8. Ensure compatibility with external services (LastFM, Spotify, Deezer)## Development Workflow- Test changes thoroughly, especially around concurrent operations@@ -50,4 +50,4 @@ This is a music streaming server written in Go with a React frontend. The applic- `make test`: Run Go tests- To run tests for a specific package, use `make test PKG=./pkgname/...`- `make lintall`: Run linters-- `make format`: Format code\ No newline at end of file+- `make format`: Format codediff --git a/conf/configuration.go b/conf/configuration.goindex a38d9e86e..132c12130 100644--- a/conf/configuration.go+++ b/conf/configuration.go@@ -100,6 +100,7 @@ type configOptions struct {Subsonic subsonicOptions `json:",omitzero"`LastFM lastfmOptions `json:",omitzero"`Spotify spotifyOptions `json:",omitzero"`+ Deezer deezerOptions `json:",omitzero"`ListenBrainz listenBrainzOptions `json:",omitzero"`Tags map[string]TagConf `json:",omitempty"`Agents string@@ -170,6 +171,10 @@ type spotifyOptions struct {Secret string}+type deezerOptions struct {+ Enabled bool+}+type listenBrainzOptions struct {Enabled boolBaseURL string@@ -386,6 +391,7 @@ func disableExternalServices() {Server.EnableInsightsCollector = falseServer.LastFM.Enabled = falseServer.Spotify.ID = ""+ Server.Deezer.Enabled = falseServer.ListenBrainz.Enabled = falseServer.Agents = ""if Server.UILoginBackgroundURL == consts.DefaultUILoginBackgroundURL {@@ -545,7 +551,7 @@ func setViperDefaults() {viper.SetDefault("subsonic.artistparticipations", false)viper.SetDefault("subsonic.defaultreportrealpath", false)viper.SetDefault("subsonic.legacyclients", "DSub")- viper.SetDefault("agents", "lastfm,spotify")+ viper.SetDefault("agents", "lastfm,spotify,deezer")viper.SetDefault("lastfm.enabled", true)viper.SetDefault("lastfm.language", "en")viper.SetDefault("lastfm.apikey", "")@@ -553,6 +559,7 @@ func setViperDefaults() {viper.SetDefault("lastfm.scrobblefirstartistonly", false)viper.SetDefault("spotify.id", "")viper.SetDefault("spotify.secret", "")+ viper.SetDefault("deezer.enabled", true)viper.SetDefault("listenbrainz.enabled", true)viper.SetDefault("listenbrainz.baseurl", "https://api.listenbrainz.org/1/")viper.SetDefault("httpsecurityheaders.customframeoptionsvalue", "DENY")diff --git a/core/agents/deezer/client.go b/core/agents/deezer/client.gonew file mode 100644index 000000000..e75526d80--- /dev/null+++ b/core/agents/deezer/client.go@@ -0,0 +1,83 @@+package deezer++import (+ "context"+ "encoding/json"+ "errors"+ "fmt"+ "io"+ "net/http"+ "net/url"+ "strconv"++ "github.com/navidrome/navidrome/log"+)++const apiBaseURL = "https://api.deezer.com"++var (+ ErrNotFound = errors.New("deezer: not found")+)++type httpDoer interface {+ Do(req *http.Request) (*http.Response, error)+}++type client struct {+ httpDoer httpDoer+}++func newClient(hc httpDoer) *client {+ return &client{hc}+}++func (c *client) searchArtists(ctx context.Context, name string, limit int) ([]Artist, error) {+ params := url.Values{}+ params.Add("q", name)+ params.Add("limit", strconv.Itoa(limit))+ req, err := http.NewRequestWithContext(ctx, "GET", apiBaseURL+"/search/artist", nil)+ if err != nil {+ return nil, err+ }+ req.URL.RawQuery = params.Encode()++ var results SearchArtistResults+ err = c.makeRequest(req, &results)+ if err != nil {+ return nil, err+ }++ if len(results.Data) == 0 {+ return nil, ErrNotFound+ }+ return results.Data, nil+}++func (c *client) makeRequest(req *http.Request, response interface{}) error {+ log.Trace(req.Context(), fmt.Sprintf("Sending Deezer %s request", req.Method), "url", req.URL)+ resp, err := c.httpDoer.Do(req)+ if err != nil {+ return err+ }++ defer resp.Body.Close()+ data, err := io.ReadAll(resp.Body)+ if err != nil {+ return err+ }++ if resp.StatusCode != 200 {+ return c.parseError(data)+ }++ return json.Unmarshal(data, response)+}++func (c *client) parseError(data []byte) error {+ var deezerError Error+ err := json.Unmarshal(data, &deezerError)+ if err != nil {+ return err+ }+ return fmt.Errorf("deezer error(%d): %s", deezerError.Error.Code, deezerError.Error.Message)+}diff --git a/core/agents/deezer/client_test.go b/core/agents/deezer/client_test.gonew file mode 100644index 000000000..5e47460d4--- /dev/null+++ b/core/agents/deezer/client_test.go@@ -0,0 +1,68 @@+package deezer++import (+ "bytes"+ "context"+ "io"+ "net/http"+ "os"++ . "github.com/onsi/ginkgo/v2"+ . "github.com/onsi/gomega"+)++var _ = Describe("client", func() {+ var httpClient *fakeHttpClient+ var client *client++ BeforeEach(func() {+ httpClient = &fakeHttpClient{}+ client = newClient(httpClient)+ })++ Describe("ArtistImages", func() {+ It("returns artist images from a successful request", func() {+ f, err := os.Open("tests/fixtures/deezer.search.artist.json")+ Expect(err).To(BeNil())+ httpClient.mock("https://api.deezer.com/search/artist", http.Response{Body: f, StatusCode: 200})++ artists, err := client.searchArtists(context.TODO(), "Michael Jackson", 20)+ Expect(err).To(BeNil())+ Expect(artists).To(HaveLen(17))+ Expect(artists[0].Name).To(Equal("Michael Jackson"))+ Expect(artists[0].PictureXl).To(Equal("https://cdn-images.dzcdn.net/images/artist/97fae13b2b30e4aec2e8c9e0c7839d92/1000x1000-000000-80-0-0.jpg"))+ })++ It("fails if artist was not found", func() {+ httpClient.mock("https://api.deezer.com/search/artist", http.Response{+ StatusCode: 200,+ Body: io.NopCloser(bytes.NewBufferString(`{"data":[],"total":0}`)),+ })++ _, err := client.searchArtists(context.TODO(), "Michael Jackson", 20)+ Expect(err).To(MatchError(ErrNotFound))+ })+ })+})++type fakeHttpClient struct {+ responses map[string]*http.Response+ lastRequest *http.Request+}++func (c *fakeHttpClient) mock(url string, response http.Response) {+ if c.responses == nil {+ c.responses = make(map[string]*http.Response)+ }+ c.responses[url] = &response+}++func (c *fakeHttpClient) Do(req *http.Request) (*http.Response, error) {+ c.lastRequest = req+ u := req.URL+ u.RawQuery = ""+ if resp, ok := c.responses[u.String()]; ok {+ return resp, nil+ }+ panic("URL not mocked: " + u.String())+}diff --git a/core/agents/deezer/deezer.go b/core/agents/deezer/deezer.gonew file mode 100644index 000000000..8cabfbcfb--- /dev/null+++ b/core/agents/deezer/deezer.go@@ -0,0 +1,97 @@+package deezer++import (+ "context"+ "errors"+ "net/http"+ "strings"++ "github.com/navidrome/navidrome/conf"+ "github.com/navidrome/navidrome/consts"+ "github.com/navidrome/navidrome/core/agents"+ "github.com/navidrome/navidrome/log"+ "github.com/navidrome/navidrome/model"+ "github.com/navidrome/navidrome/utils/cache"+)++const deezerAgentName = "deezer"+const deezerApiPictureXlSize = 1000+const deezerApiPictureBigSize = 500+const deezerApiPictureMediumSize = 250+const deezerApiPictureSmallSize = 56+const deezerArtistSearchLimit = 50++type deezerAgent struct {+ dataStore model.DataStore+ client *client+}++func deezerConstructor(dataStore model.DataStore) agents.Interface {+ agent := &deezerAgent{dataStore: dataStore}+ httpClient := &http.Client{+ Timeout: consts.DefaultHttpClientTimeOut,+ }+ cachedHttpClient := cache.NewHTTPClient(httpClient, consts.DefaultHttpClientTimeOut)+ agent.client = newClient(cachedHttpClient)+ return agent+}++func (s *deezerAgent) AgentName() string {+ return deezerAgentName+}++func (s *deezerAgent) GetArtistImages(ctx context.Context, _, name, _ string) ([]agents.ExternalImage, error) {+ artist, err := s.searchArtist(ctx, name)+ if err != nil {+ if errors.Is(err, agents.ErrNotFound) {+ log.Warn(ctx, "Artist not found in deezer", "artist", name)+ } else {+ log.Error(ctx, "Error calling deezer", "artist", name, err)+ }+ return nil, err+ }++ var res []agents.ExternalImage+ possibleImages := []struct {+ URL string+ Size int+ }{+ {artist.PictureXl, deezerApiPictureXlSize},+ {artist.PictureBig, deezerApiPictureBigSize},+ {artist.PictureMedium, deezerApiPictureMediumSize},+ {artist.PictureSmall, deezerApiPictureSmallSize},+ }+ for _, imgData := range possibleImages {+ if imgData.URL != "" {+ res = append(res, agents.ExternalImage{+ URL: imgData.URL,+ Size: imgData.Size,+ })+ }+ }+ return res, nil+}++func (s *deezerAgent) searchArtist(ctx context.Context, name string) (*Artist, error) {+ artists, err := s.client.searchArtists(ctx, name, deezerArtistSearchLimit)+ if errors.Is(err, ErrNotFound) || len(artists) == 0 {+ return nil, agents.ErrNotFound+ }+ if err != nil {+ return nil, err+ }++ // If the first one has the same name, that's the one+ if !strings.EqualFold(artists[0].Name, name) {+ return nil, agents.ErrNotFound+ }+ return &artists[0], err+}++func init() {+ conf.AddHook(func() {+ if conf.Server.Deezer.Enabled {+ agents.Register(deezerAgentName, deezerConstructor)+ }+ })+}diff --git a/core/agents/deezer/deezer_suite_test.go b/core/agents/deezer/deezer_suite_test.gonew file mode 100644index 000000000..a42282da7--- /dev/null+++ b/core/agents/deezer/deezer_suite_test.go@@ -0,0 +1,17 @@+package deezer++import (+ "testing"++ "github.com/navidrome/navidrome/log"+ "github.com/navidrome/navidrome/tests"+ . "github.com/onsi/ginkgo/v2"+ . "github.com/onsi/gomega"+)++func TestDeezer(t *testing.T) {+ tests.Init(t, false)+ log.SetLevel(log.LevelFatal)+ RegisterFailHandler(Fail)+ RunSpecs(t, "Deezer Test Suite")+}diff --git a/core/agents/deezer/responses.go b/core/agents/deezer/responses.gonew file mode 100644index 000000000..112fe28ec--- /dev/null+++ b/core/agents/deezer/responses.go@@ -0,0 +1,31 @@+package deezer++type SearchArtistResults struct {+ Data []Artist `json:"data"`+ Total int `json:"total"`+ Next string `json:"next"`+}++type Artist struct {+ ID int `json:"id"`+ Name string `json:"name"`+ Link string `json:"link"`+ Picture string `json:"picture"`+ PictureSmall string `json:"picture_small"`+ PictureMedium string `json:"picture_medium"`+ PictureBig string `json:"picture_big"`+ PictureXl string `json:"picture_xl"`+ NbAlbum int `json:"nb_album"`+ NbFan int `json:"nb_fan"`+ Radio bool `json:"radio"`+ Tracklist string `json:"tracklist"`+ Type string `json:"type"`+}++type Error struct {+ Error struct {+ Type string `json:"type"`+ Message string `json:"message"`+ Code int `json:"code"`+ } `json:"error"`+}diff --git a/core/agents/deezer/responses_test.go b/core/agents/deezer/responses_test.gonew file mode 100644index 000000000..95a7f43f4--- /dev/null+++ b/core/agents/deezer/responses_test.go@@ -0,0 +1,38 @@+package deezer++import (+ "encoding/json"+ "os"++ . "github.com/onsi/ginkgo/v2"+ . "github.com/onsi/gomega"+)++var _ = Describe("Responses", func() {+ Describe("Search type=artist", func() {+ It("parses the artist search result correctly ", func() {+ var resp SearchArtistResults+ body, err := os.ReadFile("tests/fixtures/deezer.search.artist.json")+ Expect(err).To(BeNil())+ err = json.Unmarshal(body, &resp)+ Expect(err).To(BeNil())++ Expect(resp.Data).To(HaveLen(17))+ michael := resp.Data[0]+ Expect(michael.Name).To(Equal("Michael Jackson"))+ Expect(michael.PictureXl).To(Equal("https://cdn-images.dzcdn.net/images/artist/97fae13b2b30e4aec2e8c9e0c7839d92/1000x1000-000000-80-0-0.jpg"))+ })+ })++ Describe("Error", func() {+ It("parses the error response correctly", func() {+ var errorResp Error+ body := []byte(`{"error":{"type":"MissingParameterException","message":"Missing parameters: q","code":501}}`)+ err := json.Unmarshal(body, &errorResp)+ Expect(err).To(BeNil())++ Expect(errorResp.Error.Code).To(Equal(501))+ Expect(errorResp.Error.Message).To(Equal("Missing parameters: q"))+ })+ })+})diff --git a/core/external/provider.go b/core/external/provider.goindex 295a77ce2..1b5a2dab4 100644--- a/core/external/provider.go+++ b/core/external/provider.go@@ -12,6 +12,7 @@ import ("github.com/Masterminds/squirrel""github.com/navidrome/navidrome/conf""github.com/navidrome/navidrome/core/agents"+ _ "github.com/navidrome/navidrome/core/agents/deezer"_ "github.com/navidrome/navidrome/core/agents/lastfm"_ "github.com/navidrome/navidrome/core/agents/listenbrainz"_ "github.com/navidrome/navidrome/core/agents/spotify"diff --git a/tests/fixtures/deezer.search.artist.json b/tests/fixtures/deezer.search.artist.jsonnew file mode 100644index 000000000..29f138d34--- /dev/null+++ b/tests/fixtures/deezer.search.artist.json@@ -0,0 +1 @@+{"data":[{"id":259,"name":"Michael Jackson","link":"https:\/\/www.deezer.com\/artist\/259","picture":"https:\/\/api.deezer.com\/artist\/259\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/97fae13b2b30e4aec2e8c9e0c7839d92\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/97fae13b2b30e4aec2e8c9e0c7839d92\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/97fae13b2b30e4aec2e8c9e0c7839d92\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/97fae13b2b30e4aec2e8c9e0c7839d92\/1000x1000-000000-80-0-0.jpg","nb_album":43,"nb_fan":12074101,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/259\/top?limit=50","type":"artist"},{"id":719,"name":"Bob Marley & The Wailers","link":"https:\/\/www.deezer.com\/artist\/719","picture":"https:\/\/api.deezer.com\/artist\/719\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c8241e15efdefa9465c7b470643efb3b\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c8241e15efdefa9465c7b470643efb3b\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c8241e15efdefa9465c7b470643efb3b\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c8241e15efdefa9465c7b470643efb3b\/1000x1000-000000-80-0-0.jpg","nb_album":80,"nb_fan":12014466,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/719\/top?limit=50","type":"artist"},{"id":14031649,"name":"jay emcee, Micheal Jackson","link":"https:\/\/www.deezer.com\/artist\/14031649","picture":"https:\/\/api.deezer.com\/artist\/14031649\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":104,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/14031649\/top?limit=50","type":"artist"},{"id":137159102,"name":"Micheal Collins The Mic Jackson Of Rap","link":"https:\/\/www.deezer.com\/artist\/137159102","picture":"https:\/\/api.deezer.com\/artist\/137159102\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":13,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/137159102\/top?limit=50","type":"artist"},{"id":259786511,"name":"Consev","link":"https:\/\/www.deezer.com\/artist\/259786511","picture":"https:\/\/api.deezer.com\/artist\/259786511\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/342048482aae9fb1f1272510b1c1f54a\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/342048482aae9fb1f1272510b1c1f54a\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/342048482aae9fb1f1272510b1c1f54a\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/342048482aae9fb1f1272510b1c1f54a\/1000x1000-000000-80-0-0.jpg","nb_album":7,"nb_fan":1,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/259786511\/top?limit=50","type":"artist"},{"id":262255,"name":"Michael Jackson Tribute","link":"https:\/\/www.deezer.com\/artist\/262255","picture":"https:\/\/api.deezer.com\/artist\/262255\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c2f4036de3a412d9b84a213663163189\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c2f4036de3a412d9b84a213663163189\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c2f4036de3a412d9b84a213663163189\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/c2f4036de3a412d9b84a213663163189\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":9339,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/262255\/top?limit=50","type":"artist"},{"id":193820797,"name":"Michael Jackman","link":"https:\/\/www.deezer.com\/artist\/193820797","picture":"https:\/\/api.deezer.com\/artist\/193820797\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/da3f7e21c8e78bd2048f47ab60f5399c\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/da3f7e21c8e78bd2048f47ab60f5399c\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/da3f7e21c8e78bd2048f47ab60f5399c\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/da3f7e21c8e78bd2048f47ab60f5399c\/1000x1000-000000-80-0-0.jpg","nb_album":1,"nb_fan":0,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/193820797\/top?limit=50","type":"artist"},{"id":374060,"name":"Simply The Best Sax: The Hits Of Michael Jackson","link":"https:\/\/www.deezer.com\/artist\/374060","picture":"https:\/\/api.deezer.com\/artist\/374060\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/3bfd0455b269dd2ccb25776c6b26197c\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/3bfd0455b269dd2ccb25776c6b26197c\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/3bfd0455b269dd2ccb25776c6b26197c\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/3bfd0455b269dd2ccb25776c6b26197c\/1000x1000-000000-80-0-0.jpg","nb_album":1,"nb_fan":1507,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/374060\/top?limit=50","type":"artist"},{"id":4969823,"name":"Jackson Michael","link":"https:\/\/www.deezer.com\/artist\/4969823","picture":"https:\/\/api.deezer.com\/artist\/4969823\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/e25091f350716af9f4484939de692de6\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/e25091f350716af9f4484939de692de6\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/e25091f350716af9f4484939de692de6\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/e25091f350716af9f4484939de692de6\/1000x1000-000000-80-0-0.jpg","nb_album":1,"nb_fan":17,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/4969823\/top?limit=50","type":"artist"},{"id":1278001,"name":"David Michael Jackson","link":"https:\/\/www.deezer.com\/artist\/1278001","picture":"https:\/\/api.deezer.com\/artist\/1278001\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/fe2e46ba3c550a4747ca5fd9026d6f95\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/fe2e46ba3c550a4747ca5fd9026d6f95\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/fe2e46ba3c550a4747ca5fd9026d6f95\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/fe2e46ba3c550a4747ca5fd9026d6f95\/1000x1000-000000-80-0-0.jpg","nb_album":54,"nb_fan":178,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/1278001\/top?limit=50","type":"artist"},{"id":4142968,"name":"Cheyenne Jackson, Michael Feinstein","link":"https:\/\/www.deezer.com\/artist\/4142968","picture":"https:\/\/api.deezer.com\/artist\/4142968\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":251,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/4142968\/top?limit=50","type":"artist"},{"id":766502,"name":"Michael Jackson Tribute Band","link":"https:\/\/www.deezer.com\/artist\/766502","picture":"https:\/\/api.deezer.com\/artist\/766502\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/82614ae5c3f98c571369f49aba675d1e\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/82614ae5c3f98c571369f49aba675d1e\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/82614ae5c3f98c571369f49aba675d1e\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/82614ae5c3f98c571369f49aba675d1e\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":623,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/766502\/top?limit=50","type":"artist"},{"id":1394615,"name":"Michael Jameson","link":"https:\/\/www.deezer.com\/artist\/1394615","picture":"https:\/\/api.deezer.com\/artist\/1394615\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/0f680ba29a076b70d5027a68ad3a5c58\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/0f680ba29a076b70d5027a68ad3a5c58\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/0f680ba29a076b70d5027a68ad3a5c58\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/0f680ba29a076b70d5027a68ad3a5c58\/1000x1000-000000-80-0-0.jpg","nb_album":7,"nb_fan":78,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/1394615\/top?limit=50","type":"artist"},{"id":490836,"name":"Michael Blackson","link":"https:\/\/www.deezer.com\/artist\/490836","picture":"https:\/\/api.deezer.com\/artist\/490836\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/caa27786458e9459819f6ea28c4ed1cb\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/caa27786458e9459819f6ea28c4ed1cb\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/caa27786458e9459819f6ea28c4ed1cb\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/caa27786458e9459819f6ea28c4ed1cb\/1000x1000-000000-80-0-0.jpg","nb_album":1,"nb_fan":391,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/490836\/top?limit=50","type":"artist"},{"id":1229617,"name":"The Michael Jackson Tribute Band","link":"https:\/\/www.deezer.com\/artist\/1229617","picture":"https:\/\/api.deezer.com\/artist\/1229617\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":344,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/1229617\/top?limit=50","type":"artist"},{"id":3662911,"name":"Fran London feat. Michael Jackson","link":"https:\/\/www.deezer.com\/artist\/3662911","picture":"https:\/\/api.deezer.com\/artist\/3662911\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":247,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/3662911\/top?limit=50","type":"artist"},{"id":13014917,"name":"Scott Michael Bennett, Naomi Jackson, Gary Sewell & The Emmanuel Quartet","link":"https:\/\/www.deezer.com\/artist\/13014917","picture":"https:\/\/api.deezer.com\/artist\/13014917\/image","picture_small":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/56x56-000000-80-0-0.jpg","picture_medium":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/250x250-000000-80-0-0.jpg","picture_big":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/500x500-000000-80-0-0.jpg","picture_xl":"https:\/\/cdn-images.dzcdn.net\/images\/artist\/\/1000x1000-000000-80-0-0.jpg","nb_album":0,"nb_fan":66,"radio":true,"tracklist":"https:\/\/api.deezer.com\/artist\/13014917\/top?limit=50","type":"artist"}],"total":17}\ No newline at end of file