1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 02:09:48 +01:00

* Fixed setting echonest API key.

This commit is contained in:
Christian Muehlhaeuser 2011-10-29 15:43:15 +02:00
parent ec8fd589e0
commit 5d2e3f37f1

View File

@ -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();