From 428021eded89fd5cd337aa6c8e3c065c52d71a41 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Thu, 20 Jan 2011 22:20:07 -0500 Subject: [PATCH] Add new echonest API key --- src/infosystem/infoplugins/echonestplugin.cpp | 1 - src/tomahawkapp.cpp | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/infosystem/infoplugins/echonestplugin.cpp b/src/infosystem/infoplugins/echonestplugin.cpp index 5f1e47d6a..cc9f08a9d 100644 --- a/src/infosystem/infoplugins/echonestplugin.cpp +++ b/src/infosystem/infoplugins/echonestplugin.cpp @@ -13,7 +13,6 @@ EchoNestPlugin::EchoNestPlugin(QObject *parent) : InfoPlugin(parent) { qDebug() << Q_FUNC_INFO; - Config::instance()->setAPIKey("JGJCRKWLXLBZIFAZB"); QSet< InfoType > supportedTypes; supportedTypes << Tomahawk::InfoSystem::InfoArtistBiography << Tomahawk::InfoSystem::InfoArtistFamiliarity << Tomahawk::InfoSystem::InfoArtistHotttness << Tomahawk::InfoSystem::InfoArtistTerms << Tomahawk::InfoSystem::InfoMiscTopTerms; qobject_cast< InfoSystem* >(parent)->registerInfoTypes(this, supportedTypes); diff --git a/src/tomahawkapp.cpp b/src/tomahawkapp.cpp index 78a794ebc..e734e4045 100644 --- a/src/tomahawkapp.cpp +++ b/src/tomahawkapp.cpp @@ -127,7 +127,9 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] ) setApplicationVersion( "1.0" ); // FIXME: last.fm "tst" auth requires 1.0 version according to docs, will change when we get our own identifier registerMetaTypes(); setupLogfile(); - + + Echonest::Config::instance()->setAPIKey("JRIHWEP6GPOER2QQ6"); + new TomahawkSettings( this ); m_audioEngine = new AudioEngine;