mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Don't filter out previews anymore, we handle them now
This commit is contained in:
@@ -262,10 +262,6 @@ ScriptAccount::parseResultVariantList( const QVariantList& reslist )
|
||||
foreach( const QVariant& rv, reslist )
|
||||
{
|
||||
QVariantMap m = rv.toMap();
|
||||
// TODO we need to handle preview urls separately. they should never trump a real url, and we need to display
|
||||
// the purchaseUrl for the user to upgrade to a full stream.
|
||||
if ( m.value( "preview" ).toBool() == true )
|
||||
continue;
|
||||
|
||||
int duration = m.value( "duration", 0 ).toInt();
|
||||
if ( duration <= 0 && m.contains( "durationString" ) )
|
||||
|
Reference in New Issue
Block a user