diff --git a/src/libtomahawk/infosystem/infoplugins/generic/lastfmplugin.cpp b/src/libtomahawk/infosystem/infoplugins/generic/lastfmplugin.cpp index 6ed7914dd..ace2259d4 100644 --- a/src/libtomahawk/infosystem/infoplugins/generic/lastfmplugin.cpp +++ b/src/libtomahawk/infosystem/infoplugins/generic/lastfmplugin.cpp @@ -358,7 +358,7 @@ LastFmPlugin::fetchArtistImages( uint requestId, const QString &caller, const In void LastFmPlugin::notInCacheSlot( uint requestId, const QHash criteria, const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const QVariantMap customData ) { - qDebug() << Q_FUNC_INFO; + qDebug() << Q_FUNC_INFO << " for requestId " << requestId; if ( !lastfm::nam() ) { @@ -476,7 +476,7 @@ LastFmPlugin::similarArtistsReturned() InfoCriteriaHash origData = reply->property( "origData" ).value< Tomahawk::InfoSystem::InfoCriteriaHash >(); Tomahawk::InfoSystem::InfoCriteriaHash criteria; criteria["artist"] = origData["artist"]; -// emit updateCache( criteria, 2419200000, type, returnedData ); + emit updateCache( criteria, 2419200000, type, returnedData ); } @@ -509,7 +509,7 @@ LastFmPlugin::topTracksReturned() InfoCriteriaHash origData = reply->property( "origData" ).value< Tomahawk::InfoSystem::InfoCriteriaHash >(); Tomahawk::InfoSystem::InfoCriteriaHash criteria; criteria["artist"] = origData["artist"]; - //emit updateCache( criteria, 2419200000, type, returnedData ); + emit updateCache( criteria, 2419200000, type, returnedData ); } diff --git a/src/libtomahawk/infosystem/infosystem.h b/src/libtomahawk/infosystem/infosystem.h index d6bddc76d..01ce3fc24 100644 --- a/src/libtomahawk/infosystem/infosystem.h +++ b/src/libtomahawk/infosystem/infosystem.h @@ -75,8 +75,8 @@ enum InfoType { // as items are saved in cache, mark them here to not change the InfoArtistNews = 29, InfoArtistProfile = 30, InfoArtistReviews = 31, - InfoArtistSongs = 32, - InfoArtistSimilars = 33, + InfoArtistSongs = 32, //cached -- do not change + InfoArtistSimilars = 33, //cached -- do not change InfoArtistTerms = 34, InfoArtistLinks = 35, InfoArtistVideos = 36, diff --git a/src/libtomahawk/infosystem/infosystemworker.cpp b/src/libtomahawk/infosystem/infosystemworker.cpp index e80ed55e8..17e916d81 100644 --- a/src/libtomahawk/infosystem/infosystemworker.cpp +++ b/src/libtomahawk/infosystem/infosystemworker.cpp @@ -180,7 +180,7 @@ InfoSystemWorker::getInfo( QString caller, InfoType type, QVariant input, QVaria qint64 currMs = QDateTime::currentMSecsSinceEpoch(); m_timeRequestMapper.insert( currMs + timeoutMillis, requestId ); } - qDebug() << "assigning request with requestId " << requestId; + qDebug() << "assigning request with requestId " << requestId << " and type " << type; m_dataTracker[ caller ][ type ] = m_dataTracker[ caller ][ type ] + 1; qDebug() << "current count in dataTracker for type" << type << "is" << m_dataTracker[ caller ][ type ];