1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

We're pretty sure the results from Subsonic are good.

This commit is contained in:
Teo Mrnjavac 2013-01-28 23:01:35 +01:00
parent c6cb208e19
commit 1e8767f022
2 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,10 @@ QtScriptResolverHelper::addAlbumTrackResults( const QVariantMap& results )
QList< Tomahawk::query_ptr > queries;
foreach ( const Tomahawk::result_ptr& result, tracks )
{
result->setScore( 1.0 );
queries.append( result->toQuery() );
}
tDebug() << Q_FUNC_INFO << "about to push" << tracks.count() << "tracks";

View File

@ -146,6 +146,5 @@ ScriptCollection::onAlbumsFetched( const QList<album_ptr>& albums )
void
ScriptCollection::onTracksFetched( const QList<query_ptr>& tracks )
{
tDebug() << Q_FUNC_INFO << "About to emit tracksResult";
emit tracksResult( tracks );
}