From 36dccc815789cd0104d2ca222ee67da3437ef645 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 14 Apr 2019 03:01:21 +0200 Subject: [PATCH] Change search query --- src/covermanager/deezercoverprovider.cpp | 2 +- src/covermanager/lastfmcoverprovider.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/covermanager/deezercoverprovider.cpp b/src/covermanager/deezercoverprovider.cpp index f375cd1f5..ab6139f57 100644 --- a/src/covermanager/deezercoverprovider.cpp +++ b/src/covermanager/deezercoverprovider.cpp @@ -57,7 +57,7 @@ bool DeezerCoverProvider::StartSearch(const QString &artist, const QString &albu typedef QList EncodedParamList; Parameters params = Parameters() << Param("output", "json") - << Param("q", QString(album + " " + artist)) + << Param("q", QString(artist + " " + album)) << Param("limit", QString::number(kLimit)); QUrlQuery url_query; diff --git a/src/covermanager/lastfmcoverprovider.cpp b/src/covermanager/lastfmcoverprovider.cpp index b4ecc19e4..e8bc75e71 100644 --- a/src/covermanager/lastfmcoverprovider.cpp +++ b/src/covermanager/lastfmcoverprovider.cpp @@ -56,7 +56,7 @@ bool LastFmCoverProvider::StartSearch(const QString &artist, const QString &albu typedef QList ParamList; ParamList params = ParamList() - << Param("album", QString(album + " " + artist)) + << Param("album", QString(artist + " " + album)) << Param("api_key", kApiKey) << Param("lang", QLocale().name().left(2).toLower()) << Param("method", "album.search");