mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-18 23:09:42 +01:00
Rovi sometimes returns empty tracks, do not add.
This commit is contained in:
parent
0325ed887a
commit
631464e20c
@ -159,7 +159,7 @@ RoviPlugin::albumLookupFinished()
|
||||
foreach ( const QVariant& track, tracks )
|
||||
{
|
||||
const QVariantMap trackData = track.toMap();
|
||||
if ( trackData.contains( "title" ) )
|
||||
if ( trackData.contains( "title" ) && !trackData[ "title" ].toString().isEmpty() )
|
||||
trackNameList << trackData[ "title" ].toString();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user