From 3b43947ddc8599af06206341782b9171c0470b8e Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Sun, 26 Jun 2022 15:58:04 +0100 Subject: [PATCH] changed logs --- src/main/plugins/lastfm.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/plugins/lastfm.ts b/src/main/plugins/lastfm.ts index 0d64665d..cbca537c 100644 --- a/src/main/plugins/lastfm.ts +++ b/src/main/plugins/lastfm.ts @@ -37,20 +37,20 @@ export default class lastfm { onReady(_win: Electron.BrowserWindow): void { // Register the ipcMain handlers - this._utils.getIPCMain().handle('lastfm:url', (_event: any) => { - // console.debug('lastfm:url', event) + this._utils.getIPCMain().handle('lastfm:url', (event: any) => { + console.debug('lastfm:url', event) return this._lfm.getAuthenticationUrl({"cb": "cider://auth/lastfm"}) }) this._utils.getIPCMain().on('lastfm:auth', (event: any, token: string) => { - // console.debug('lastfm:auth', event, token) + console.debug('lastfm:auth', event, token) this.authenticateLastFM(token) }) this._utils.getIPCMain().on('lastfm:disconnect', (_event: any) => { this._lfm.setSessionCredentials(null, null); this._authenticated = false; - console.debug('[lastfm] [disconnect] Disconnected') + console.debug('lastfm:disconnect') }) this._utils.getIPCMain().on('lastfm:nowPlayingChange', (event: any, attributes: any) => {