mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-14 17:46:17 +01:00
Change search query
This commit is contained in:
parent
6dcdf5bf92
commit
36dccc8157
@ -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;
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user