From e6767dc3f9c1e4a05444d17e543614c8cdacb310 Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 12 Oct 2019 01:29:16 +0900 Subject: [PATCH] fix np on macos --- app/main/np.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main/np.js b/app/main/np.js index ee7254ff..cd880e95 100644 --- a/app/main/np.js +++ b/app/main/np.js @@ -16,6 +16,8 @@ function np(mainWindow) { try { const nowplaying = require("itunes-nowplaying-mac"); const value = await nowplaying(); + + const artwork = await nowplaying.getThumbnailBuffer(value.databaseID); e.sender.webContents.send('itunes-np', value); } catch (error) { // エラーを返す