🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(deezer): add order parameter to artist search for improved ranking
Deluana081569ed4c9
diff --git a/core/agents/deezer/client.go b/core/agents/deezer/client.goindex 32d93bad6..6c97745a3 100644--- a/core/agents/deezer/client.go+++ b/core/agents/deezer/client.go@@ -43,6 +43,7 @@ func newClient(hc httpDoer, language string) *client {func (c *client) searchArtists(ctx context.Context, name string, limit int) ([]Artist, error) {params := url.Values{}params.Add("q", name)+ params.Add("order", "RANKING")params.Add("limit", strconv.Itoa(limit))req, err := http.NewRequestWithContext(ctx, "GET", apiBaseURL+"/search/artist", nil)if err != nil {