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

* New Track API supports loving without posting to the InfoSystem.

This commit is contained in:
Christian Muehlhaeuser
2013-05-16 11:40:40 +02:00
parent 37216c9bbc
commit fcedb57178

View File

@@ -395,8 +395,7 @@ LastFmConfig::syncLoved()
foreach ( const Tomahawk::track_ptr& track, localToLove )
{
// Don't use the infosystem as we don't want to tweet a few hundred times :)
DatabaseCommand_SocialAction* cmd = new DatabaseCommand_SocialAction( track, QString( "Love" ), QString( "true" ) );
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>(cmd) );
track->setLoved( true, false );
}
lastFmToLove.unite( lastFmToUnlove );