diff --git a/app/main/np.js b/app/main/np.js index 12055816..ee7254ff 100644 --- a/app/main/np.js +++ b/app/main/np.js @@ -15,7 +15,7 @@ function np(mainWindow) { if (platform == "darwin") { try { const nowplaying = require("itunes-nowplaying-mac"); - const value = await nowplaying.getData(); + const value = await nowplaying(); e.sender.webContents.send('itunes-np', value); } catch (error) { // エラーを返す