From e83be2b9cd3ecac42a066e0c709be36ea93662be Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 12 Jul 2011 12:00:44 -0400 Subject: [PATCH] Fix stupid C&P mistake that broke scrobbling. --- src/scrobbler.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/scrobbler.cpp b/src/scrobbler.cpp index f79abe917..ca5ac24c9 100644 --- a/src/scrobbler.cpp +++ b/src/scrobbler.cpp @@ -81,13 +81,9 @@ Scrobbler::trackStarted( const Tomahawk::result_ptr& track ) trackInfo["album"] = track->album()->name(); trackInfo["duration"] = QString::number( track->duration() ); - Tomahawk::InfoSystem::InfoRequestData requestData; - requestData.caller = s_scInfoIdentifier; - requestData.type = Tomahawk::InfoSystem::InfoArtistImages; - requestData.input = QVariant::fromValue< Tomahawk::InfoSystem::InfoCriteriaHash >( trackInfo ); - requestData.customData = QVariantMap(); - - Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData ); + Tomahawk::InfoSystem::InfoSystem::instance()->pushInfo( + s_scInfoIdentifier, Tomahawk::InfoSystem::InfoSubmitNowPlaying, + QVariant::fromValue< Tomahawk::InfoSystem::InfoCriteriaHash >( trackInfo ) ); m_scrobblePoint = ScrobblePoint( track->duration() / 2 ); }