"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/statsyncing/jobs/SynchronizeTracksJob.cpp" between
amarok-2.8.90.tar.gz and amarok-2.9.0.tar.xz

About: Amarok is a powerful music player for Linux and Unix, MacOS X and Windows with an intuitive interface.

SynchronizeTracksJob.cpp  (amarok-2.8.90):SynchronizeTracksJob.cpp  (amarok-2.9.0.tar.xz)
skipping to change at line 115 skipping to change at line 115
foreach( Meta::TrackPtr track, m_scrobbledTracks ) foreach( Meta::TrackPtr track, m_scrobbledTracks )
{ {
Meta::StatisticsPtr statistics = track->statistics(); Meta::StatisticsPtr statistics = track->statistics();
statistics->setPlayCount( statistics->playCount() ); statistics->setPlayCount( statistics->playCount() );
} }
if( !m_tracksToScrobble.isEmpty() ) if( !m_tracksToScrobble.isEmpty() )
// wait 3 seconds so that we have chance to catch slotTrackScrobbled().. // wait 3 seconds so that we have chance to catch slotTrackScrobbled()..
thread()->msleep( 3000 ); thread()->msleep( 3000 );
if( controller ) if( controller )
{
disconnect( controller, SIGNAL(trackScrobbled(ScrobblingServicePtr,Meta: :TrackPtr)), this, 0 ); disconnect( controller, SIGNAL(trackScrobbled(ScrobblingServicePtr,Meta: :TrackPtr)), this, 0 );
disconnect( controller, SIGNAL(scrobbleFailed(ScrobblingServicePtr,Meta: :TrackPtr,int)), this, 0 ); disconnect( controller, SIGNAL(scrobbleFailed(ScrobblingServicePtr,Meta: :TrackPtr,int)), this, 0 );
}
emit endProgressOperation( this ); emit endProgressOperation( this );
} }
void void
SynchronizeTracksJob::slotTrackScrobbled( const ScrobblingServicePtr &service, SynchronizeTracksJob::slotTrackScrobbled( const ScrobblingServicePtr &service,
const Meta::TrackPtr &track ) const Meta::TrackPtr &track )
{ {
slotScrobbleFailed( service, track, ScrobblingService::NoError ); slotScrobbleFailed( service, track, ScrobblingService::NoError );
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)