mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
Merge pull request #120 from crabmanX/master
fix SpotifyInfoPlugin InfoAlbumSongs retrieval
This commit is contained in:
@@ -89,7 +89,7 @@ SpotifyInfoPlugin::notInCacheSlot( InfoStringHash criteria, InfoRequestData requ
|
|||||||
{
|
{
|
||||||
// No running spotify account, use our webservice
|
// No running spotify account, use our webservice
|
||||||
QUrl lookupUrl( "http://ws.spotify.com/search/1/album.json" );
|
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 ) );
|
QNetworkReply * reply = TomahawkUtils::nam()->get( QNetworkRequest( lookupUrl ) );
|
||||||
NewClosure( reply, SIGNAL( finished() ), this, SLOT( albumIdLookupFinished( QNetworkReply*, Tomahawk::InfoSystem::InfoRequestData ) ), reply, requestData );
|
NewClosure( reply, SIGNAL( finished() ), this, SLOT( albumIdLookupFinished( QNetworkReply*, Tomahawk::InfoSystem::InfoRequestData ) ), reply, requestData );
|
||||||
|
Reference in New Issue
Block a user