mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 08:20:01 +01:00
Fix songs in dynamic subsonic playlist
This commit is contained in:
parent
06ba555492
commit
1d582ba158
@ -219,7 +219,10 @@ void SubsonicDynamicPlaylist::GetAlbum(SubsonicService* service,
|
||||
qint64 length = reader.attributes().value("duration").toString().toInt();
|
||||
length *= kNsecPerSec;
|
||||
song.set_length_nanosec(length);
|
||||
QUrl url = QUrl(QString("subsonic://%1").arg(id));
|
||||
QUrl url = QUrl(QString("subsonic://"));
|
||||
QUrlQuery song_query(url.query());
|
||||
song_query.addQueryItem("id", id);
|
||||
url.setQuery(song_query);
|
||||
QUrl cover_url = service->BuildRequestUrl("getCoverArt");
|
||||
QUrlQuery cover_url_query(cover_url.query());
|
||||
cover_url_query.addQueryItem("id", id);
|
||||
|
Loading…
Reference in New Issue
Block a user