From 8dac3edc6cd6f82a9cde858f2bf04bfba6fe721e Mon Sep 17 00:00:00 2001 From: Kilian Lackhove Date: Sun, 2 Sep 2012 16:33:42 +0200 Subject: [PATCH] show EPs again --- src/infoplugins/generic/musicbrainz/MusicBrainzPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infoplugins/generic/musicbrainz/MusicBrainzPlugin.cpp b/src/infoplugins/generic/musicbrainz/MusicBrainzPlugin.cpp index c2f388094..5ea6df815 100644 --- a/src/infoplugins/generic/musicbrainz/MusicBrainzPlugin.cpp +++ b/src/infoplugins/generic/musicbrainz/MusicBrainzPlugin.cpp @@ -150,7 +150,7 @@ MusicBrainzPlugin::artistSearchSlot() QString requestString( "http://musicbrainz.org/ws/2/release-group" ); QUrl url( requestString ); url.addQueryItem( "artist", artist_id ); - url.addQueryItem( "type", "album" ); + url.addQueryItem( "type", "album|ep" ); url.addQueryItem( "limit", "100" ); QNetworkReply* newReply = TomahawkUtils::nam()->get( QNetworkRequest( url ) ); @@ -257,7 +257,7 @@ MusicBrainzPlugin::albumFoundSlot() { secTypesSL.append(secTypesDL.at(i).toElement().text()); } - if ( !secTypesSL.contains("Live") && !secTypesSL.contains("Ep") && !secTypesSL.contains("Compilation") ) + if ( !secTypesSL.contains("Live") && !secTypesSL.contains("Compilation") ) { QString album = group.firstChildElement("title").text(); if ( !albums.contains( album ) )