mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-28 08:09:40 +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;
|
typedef QList<EncodedParam> EncodedParamList;
|
||||||
|
|
||||||
Parameters params = Parameters() << Param("output", "json")
|
Parameters params = Parameters() << Param("output", "json")
|
||||||
<< Param("q", QString(album + " " + artist))
|
<< Param("q", QString(artist + " " + album))
|
||||||
<< Param("limit", QString::number(kLimit));
|
<< Param("limit", QString::number(kLimit));
|
||||||
|
|
||||||
QUrlQuery url_query;
|
QUrlQuery url_query;
|
||||||
|
@ -56,7 +56,7 @@ bool LastFmCoverProvider::StartSearch(const QString &artist, const QString &albu
|
|||||||
typedef QList<Param> ParamList;
|
typedef QList<Param> ParamList;
|
||||||
|
|
||||||
ParamList params = ParamList()
|
ParamList params = ParamList()
|
||||||
<< Param("album", QString(album + " " + artist))
|
<< Param("album", QString(artist + " " + album))
|
||||||
<< Param("api_key", kApiKey)
|
<< Param("api_key", kApiKey)
|
||||||
<< Param("lang", QLocale().name().left(2).toLower())
|
<< Param("lang", QLocale().name().left(2).toLower())
|
||||||
<< Param("method", "album.search");
|
<< Param("method", "album.search");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user