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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user