mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 03:24:15 +02:00
Add new echonest API key
This commit is contained in:
@@ -13,7 +13,6 @@ EchoNestPlugin::EchoNestPlugin(QObject *parent)
|
|||||||
: InfoPlugin(parent)
|
: InfoPlugin(parent)
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
Config::instance()->setAPIKey("JGJCRKWLXLBZIFAZB");
|
|
||||||
QSet< InfoType > supportedTypes;
|
QSet< InfoType > supportedTypes;
|
||||||
supportedTypes << Tomahawk::InfoSystem::InfoArtistBiography << Tomahawk::InfoSystem::InfoArtistFamiliarity << Tomahawk::InfoSystem::InfoArtistHotttness << Tomahawk::InfoSystem::InfoArtistTerms << Tomahawk::InfoSystem::InfoMiscTopTerms;
|
supportedTypes << Tomahawk::InfoSystem::InfoArtistBiography << Tomahawk::InfoSystem::InfoArtistFamiliarity << Tomahawk::InfoSystem::InfoArtistHotttness << Tomahawk::InfoSystem::InfoArtistTerms << Tomahawk::InfoSystem::InfoMiscTopTerms;
|
||||||
qobject_cast< InfoSystem* >(parent)->registerInfoTypes(this, supportedTypes);
|
qobject_cast< InfoSystem* >(parent)->registerInfoTypes(this, supportedTypes);
|
||||||
|
@@ -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
|
setApplicationVersion( "1.0" ); // FIXME: last.fm "tst" auth requires 1.0 version according to docs, will change when we get our own identifier
|
||||||
registerMetaTypes();
|
registerMetaTypes();
|
||||||
setupLogfile();
|
setupLogfile();
|
||||||
|
|
||||||
|
Echonest::Config::instance()->setAPIKey("JRIHWEP6GPOER2QQ6");
|
||||||
|
|
||||||
new TomahawkSettings( this );
|
new TomahawkSettings( this );
|
||||||
m_audioEngine = new AudioEngine;
|
m_audioEngine = new AudioEngine;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user