1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-09 00:29:14 +01:00

subsonic: Use correct URL query params to fetch cover

This commit is contained in:
Jim Broadus 2020-05-12 21:58:19 -07:00 committed by John Maguire
parent ce4ce6ce36
commit 5efcae398e

View File

@ -560,7 +560,7 @@ void SubsonicLibraryScanner::OnGetAlbumFinished(QNetworkReply* reply) {
song_query.addQueryItem("id", id);
url.setQuery(song_query);
QUrl cover_url = service_->BuildRequestUrl("getCoverArt");
QUrlQuery cover_url_query(url.query());
QUrlQuery cover_url_query(cover_url.query());
cover_url_query.addQueryItem("id", id);
cover_url.setQuery(cover_url_query);
song.set_art_automatic(cover_url.toEncoded());