mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Fixed setting echonest API key.
This commit is contained in:
@@ -191,6 +191,8 @@ TomahawkApp::init()
|
||||
tDebug() << "Init Database.";
|
||||
initDatabase();
|
||||
|
||||
Echonest::Config::instance()->setAPIKey( "JRIHWEP6GPOER2QQ6" );
|
||||
|
||||
tDebug() << "Init Echonest Factory.";
|
||||
GeneratorFactory::registerFactory( "echonest", new EchonestFactory );
|
||||
tDebug() << "Init Database Factory.";
|
||||
@@ -221,7 +223,6 @@ TomahawkApp::init()
|
||||
tDebug() << "Init InfoSystem.";
|
||||
m_infoSystem = QWeakPointer<Tomahawk::InfoSystem::InfoSystem>( new Tomahawk::InfoSystem::InfoSystem( this ) );
|
||||
|
||||
Echonest::Config::instance()->setAPIKey( "JRIHWEP6GPOER2QQ6" );
|
||||
Echonest::Config::instance()->setNetworkAccessManager( TomahawkUtils::nam() );
|
||||
EchonestGenerator::setupCatalogs();
|
||||
|
||||
|
Reference in New Issue
Block a user