1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-15 01:56:54 +01:00

Change search query

This commit is contained in:
Jonas Kvinge 2019-04-14 03:01:21 +02:00
parent 6dcdf5bf92
commit 36dccc8157
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ bool DeezerCoverProvider::StartSearch(const QString &artist, const QString &albu
typedef QList<EncodedParam> 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;

View File

@ -56,7 +56,7 @@ bool LastFmCoverProvider::StartSearch(const QString &artist, const QString &albu
typedef QList<Param> 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");