mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
@@ -150,7 +150,7 @@ MusicBrainzPlugin::artistSearchSlot()
|
|||||||
QString requestString( "http://musicbrainz.org/ws/2/release-group" );
|
QString requestString( "http://musicbrainz.org/ws/2/release-group" );
|
||||||
QUrl url( requestString );
|
QUrl url( requestString );
|
||||||
url.addQueryItem( "artist", artist_id );
|
url.addQueryItem( "artist", artist_id );
|
||||||
url.addQueryItem( "type", "album" );
|
url.addQueryItem( "type", "album|ep" );
|
||||||
url.addQueryItem( "limit", "100" );
|
url.addQueryItem( "limit", "100" );
|
||||||
|
|
||||||
QNetworkReply* newReply = TomahawkUtils::nam()->get( QNetworkRequest( url ) );
|
QNetworkReply* newReply = TomahawkUtils::nam()->get( QNetworkRequest( url ) );
|
||||||
@@ -257,7 +257,7 @@ MusicBrainzPlugin::albumFoundSlot()
|
|||||||
{
|
{
|
||||||
secTypesSL.append(secTypesDL.at(i).toElement().text());
|
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();
|
QString album = group.firstChildElement("title").text();
|
||||||
if ( !albums.contains( album ) )
|
if ( !albums.contains( album ) )
|
||||||
|
Reference in New Issue
Block a user