From 3cda8abf5e056b91a81497cf698470dfac607c6f Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 1 Dec 2017 03:12:35 +0100 Subject: Improve Musicbrainz-Search Filter out Live albums and compilations. Sort the resulting album list by release year. Unfortunately, musicbrainz does not always agree with the release year from the file metadata :( --- webdownloader.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webdownloader.h') diff --git a/webdownloader.h b/webdownloader.h index f07ed52..353bd5a 100644 --- a/webdownloader.h +++ b/webdownloader.h @@ -4,6 +4,7 @@ #include #include #include +#include class WebDownloader : public QObject { Q_OBJECT @@ -14,7 +15,7 @@ class WebDownloader : public QObject { const QString artist() const { return mArtist; } const QString artistId() const { return mArtistId; } const QStringList data() const { return mData; } - const QMap otherData() const { return mOtherData; } + const QList > otherData() const { return mOtherData; } const QMap alternateArtists() const { return mAlternateArtists; } signals: @@ -29,7 +30,7 @@ class WebDownloader : public QObject { QString mAlbum; QString mArtistId; QStringList mData; - QMap mOtherData; + QList > mOtherData; QMap mAlternateArtists; }; -- cgit v1.2.3-70-g09d2