mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Merge remote-tracking branch 'origin' into phonon
This commit is contained in:
@@ -25,7 +25,9 @@ Artist::get( unsigned int id, const QString& name, const Tomahawk::collection_pt
|
||||
}
|
||||
|
||||
artist_ptr a = artist_ptr( new Artist( id, name, collection ) );
|
||||
s_artists.insert( id, a );
|
||||
|
||||
if ( id > 0 )
|
||||
s_artists.insert( id, a );
|
||||
|
||||
return a;
|
||||
}
|
||||
|
@@ -195,7 +195,7 @@ ScriptResolver::doSetup( const QVariantMap& m )
|
||||
qDebug() << Q_FUNC_INFO << m;
|
||||
m_name = m.value( "name" ).toString();
|
||||
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();
|
||||
qDebug() << "SCRIPT" << m_cmd << "READY," << endl
|
||||
<< "name" << m_name << endl
|
||||
|
Reference in New Issue
Block a user