scrobbler: Log who connected to Last.fm
This commit is contained in:
parent
2ffef53b9a
commit
3b7d38e8bc
@ -32,7 +32,7 @@ class ScrobblerFrontend(pykka.ThreadingActor, CoreListener):
|
|||||||
api_key=API_KEY, api_secret=API_SECRET,
|
api_key=API_KEY, api_secret=API_SECRET,
|
||||||
username=self.config['scrobbler']['username'],
|
username=self.config['scrobbler']['username'],
|
||||||
password_hash=pylast.md5(self.config['scrobbler']['password']))
|
password_hash=pylast.md5(self.config['scrobbler']['password']))
|
||||||
logger.info('Connected to Last.fm')
|
logger.info('Scrobbler connected to Last.fm')
|
||||||
except (pylast.NetworkError, pylast.MalformedResponseError,
|
except (pylast.NetworkError, pylast.MalformedResponseError,
|
||||||
pylast.WSError) as e:
|
pylast.WSError) as e:
|
||||||
logger.error('Error during Last.fm setup: %s', e)
|
logger.error('Error during Last.fm setup: %s', e)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user