diff --git a/plugins/downloader/menu.js b/plugins/downloader/menu.js index cf78001c..06a3c124 100644 --- a/plugins/downloader/menu.js +++ b/plugins/downloader/menu.js @@ -64,7 +64,6 @@ module.exports = (win, options, refreshMenu) => [ { label: "Choose download folder", click: () => { - let result = dialog.showOpenDialogSync({ properties: ["openDirectory", "createDirectory"], defaultPath: getFolder(options.downloadFolder), diff --git a/plugins/notifications/back.js b/plugins/notifications/back.js index 0d390307..2a95489a 100644 --- a/plugins/notifications/back.js +++ b/plugins/notifications/back.js @@ -31,7 +31,7 @@ module.exports = (win, options) => { win.on("ready-to-show", () => { // Register the callback for new song information registerCallback(songInfo => { - // If song is playing send notification + // If song is playing && title isn't the same as last one - send notification if (!songInfo.isPaused && songInfo.title !== oldTitle) { oldTitle = songInfo.title; // Close the old notification