From f05f9a25c10cde95cc6acb52f3af10833ebfa59a Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 2 Apr 2015 00:52:45 +0200 Subject: [PATCH] Don't filter out previews anymore, we handle them now --- src/libtomahawk/resolvers/ScriptAccount.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libtomahawk/resolvers/ScriptAccount.cpp b/src/libtomahawk/resolvers/ScriptAccount.cpp index 3d4ca231b..d83f9387b 100644 --- a/src/libtomahawk/resolvers/ScriptAccount.cpp +++ b/src/libtomahawk/resolvers/ScriptAccount.cpp @@ -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" ) )