1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02:00

* Use our new & own Last.fm API key.

This commit is contained in:
Christian Muehlhaeuser
2011-01-21 03:57:57 +01:00
parent 9ec6e6c337
commit 82486fdfd4
3 changed files with 10 additions and 6 deletions

View File

@@ -328,14 +328,14 @@ TomahawkSettings::setLastFmPassword( const QString& password )
QByteArray
TomahawkSettings::lastFmSessionKey() const
{
return value( "lastfm/sessionkey" ).toByteArray();
return value( "lastfm/session" ).toByteArray();
}
void
TomahawkSettings::setLastFmSessionKey( const QByteArray& key )
{
setValue( "lastfm/sessionkey", key );
setValue( "lastfm/session", key );
}

View File

@@ -28,8 +28,12 @@ Scrobbler::Scrobbler( QObject* parent )
, m_reachedScrobblePoint( false )
, m_authJob( 0 )
{
lastfm::ws::ApiKey = "2aa1089093868876bba20b0482b9cef9";
lastfm::ws::SharedSecret = "a7085ef81d7b46fe6ffe11c15b85902f";
/*
Your API Key is 7194b85b6d1f424fe1668173a78c0c4a
Your secret is ba80f1df6d27ae63e9cb1d33ccf2052f
*/
lastfm::ws::ApiKey = "7194b85b6d1f424fe1668173a78c0c4a";
lastfm::ws::SharedSecret = "ba80f1df6d27ae63e9cb1d33ccf2052f";
lastfm::ws::Username = TomahawkSettings::instance()->lastFmUsername();
m_pw = TomahawkSettings::instance()->lastFmPassword();