1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

* Set mimetype on ScriptResolver-generated results.

This commit is contained in:
Christian Muehlhaeuser
2011-03-16 02:34:34 +01:00
parent 154884ba35
commit 1e8ad402bb

View File

@@ -132,6 +132,7 @@ ScriptResolver::handleMsg( const QByteArray& msg )
rp->setBitrate( m.value( "bitrate" ).toUInt() );
rp->setUrl( m.value( "url" ).toString() );
rp->setSize( m.value( "size" ).toUInt() );
rp->setMimetype( m.value( "mimetype" ).toString() );
rp->setScore( m.value( "score" ).toFloat() * ( (float)weight() / 100.0 ) );
rp->setRID( uuid() );
rp->setFriendlySource( m_name );