1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 13:43:11 +02:00

Merge pull request #78 from mack-t/master

Pull additional information from tomahawk resolvers
This commit is contained in:
Leo Franchi
2012-03-18 14:25:54 -07:00

View File

@@ -392,10 +392,13 @@ QtScriptResolver::parseResultVariantList( const QVariantList& reslist )
rp->setArtist( ap );
rp->setAlbum( Tomahawk::Album::get( ap, m.value( "album" ).toString(), false ) );
rp->setTrack( m.value( "track" ).toString() );
rp->setAlbumPos( m.value( "albumpos" ).toUInt() );
rp->setBitrate( m.value( "bitrate" ).toUInt() );
rp->setSize( m.value( "size" ).toUInt() );
rp->setRID( uuid() );
rp->setFriendlySource( name() );
rp->setScore( m.value( "score" ).toFloat() );
rp->setDiscNumber( m.value( "discnumber" ).toUInt() );
if ( m.contains( "year" ) )
{