mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
Merge remote-tracking branch 'origin' into phonon
This commit is contained in:
@@ -25,6 +25,8 @@ Artist::get( unsigned int id, const QString& name, const Tomahawk::collection_pt
|
|||||||
}
|
}
|
||||||
|
|
||||||
artist_ptr a = artist_ptr( new Artist( id, name, collection ) );
|
artist_ptr a = artist_ptr( new Artist( id, name, collection ) );
|
||||||
|
|
||||||
|
if ( id > 0 )
|
||||||
s_artists.insert( id, a );
|
s_artists.insert( id, a );
|
||||||
|
|
||||||
return a;
|
return a;
|
||||||
|
@@ -195,7 +195,7 @@ ScriptResolver::doSetup( const QVariantMap& m )
|
|||||||
qDebug() << Q_FUNC_INFO << m;
|
qDebug() << Q_FUNC_INFO << m;
|
||||||
m_name = m.value( "name" ).toString();
|
m_name = m.value( "name" ).toString();
|
||||||
m_weight = m.value( "weight", 0 ).toUInt();
|
m_weight = m.value( "weight", 0 ).toUInt();
|
||||||
m_timeout = m.value( "timeout", 5000 ).toUInt();
|
m_timeout = m.value( "timeout", 25 ).toUInt() * 1000;
|
||||||
m_preference = m.value( "preference", 0 ).toUInt();
|
m_preference = m.value( "preference", 0 ).toUInt();
|
||||||
qDebug() << "SCRIPT" << m_cmd << "READY," << endl
|
qDebug() << "SCRIPT" << m_cmd << "READY," << endl
|
||||||
<< "name" << m_name << endl
|
<< "name" << m_name << endl
|
||||||
|
Reference in New Issue
Block a user