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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user