1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 08:21:54 +02:00

Merge pull request #120 from crabmanX/master

fix SpotifyInfoPlugin InfoAlbumSongs retrieval
This commit is contained in:
Christian Muehlhaeuser 2012-09-10 14:41:14 -07:00
commit 6239c27a6c

View File

@ -89,7 +89,7 @@ SpotifyInfoPlugin::notInCacheSlot( InfoStringHash criteria, InfoRequestData requ
{
// No running spotify account, use our webservice
QUrl lookupUrl( "http://ws.spotify.com/search/1/album.json" );
lookupUrl.addQueryItem( "q", QString( "%1 %2" ).arg( album ).arg( album ) );
lookupUrl.addQueryItem( "q", QString( "%1 %2" ).arg( artist ).arg( album ) );
QNetworkReply * reply = TomahawkUtils::nam()->get( QNetworkRequest( lookupUrl ) );
NewClosure( reply, SIGNAL( finished() ), this, SLOT( albumIdLookupFinished( QNetworkReply*, Tomahawk::InfoSystem::InfoRequestData ) ), reply, requestData );