diff options
author | Arno <arno@disconnect.de> | 2017-07-06 20:24:56 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-07-06 20:24:56 +0200 |
commit | 0e5246fbea2fdd8fe1a0408deffcd53a7439389a (patch) | |
tree | 8d1abf4752421cc734b67ad1da3f5d955569de68 /webdownloader.cpp | |
parent | 669c4a20325927188ce411c10265a9069bf24b8d (diff) | |
download | BeetPlayer-0e5246fbea2fdd8fe1a0408deffcd53a7439389a.tar.gz BeetPlayer-0e5246fbea2fdd8fe1a0408deffcd53a7439389a.tar.bz2 BeetPlayer-0e5246fbea2fdd8fe1a0408deffcd53a7439389a.zip |
Improve display of MusicBrainz result
Don't show the release-group id, add links for the artist and the album
instead.
Diffstat (limited to 'webdownloader.cpp')
-rw-r--r-- | webdownloader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webdownloader.cpp b/webdownloader.cpp index c0505b9..897ce80 100644 --- a/webdownloader.cpp +++ b/webdownloader.cpp @@ -41,6 +41,7 @@ void WebDownloader::dlFinished(QNetworkReply *reply){ mData << curId; } QString aId = titleRes.toObject().value("artist-credit").toArray().at(0).toObject().value("artist").toObject().value("id").toString(); + mArtistId = aId; std::for_each(relArr.constBegin(), relArr.constEnd(), [this, aId](auto c){ QString id = c.toObject().value("artist-credit").toArray().at(0).toObject().value("artist").toObject().value("id").toString(); if(id == aId){ |