1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Don't check for duration---it's not needed for loving

This commit is contained in:
Leo Franchi
2011-06-17 15:26:16 -04:00
parent 461854d158
commit 5615488284

View File

@@ -212,7 +212,7 @@ LastFmPlugin::sendLoveSong( QVariant input )
} }
InfoCriteriaHash hash = input.value< Tomahawk::InfoSystem::InfoCriteriaHash >(); InfoCriteriaHash hash = input.value< Tomahawk::InfoSystem::InfoCriteriaHash >();
if ( !hash.contains( "title" ) || !hash.contains( "artist" ) || !hash.contains( "album" ) || !hash.contains( "duration" ) ) if ( !hash.contains( "title" ) || !hash.contains( "artist" ) || !hash.contains( "album" ) )
return; return;
lastfm::MutableTrack track; lastfm::MutableTrack track;