diff --git a/src/playlist.js b/src/playlist.js index a533b5e..3574290 100644 --- a/src/playlist.js +++ b/src/playlist.js @@ -561,7 +561,7 @@ function saveLinks() { ) { count += 1; let itemTitle; - itemTitle = i18n.__("Link") + " " + originalCount; + itemTitle = i18n.__("Link") + " " + count; if (count > 1) { getId(`p${count - 1}`).textContent = i18n.__("Link added"); diff --git a/src/renderer.js b/src/renderer.js index e794d37..956ce1e 100644 --- a/src/renderer.js +++ b/src/renderer.js @@ -1187,7 +1187,7 @@ function download( subs2 || subLangs, "--no-playlist", "--embed-metadata", - (ext == "m4a" || ext == "mp4") && extractor_key === "Youtube" ? "--embed-thumbnail" && os.platform() !== "darwin" : "", + (ext == "m4a" || ext == "mp4") && extractor_key === "Youtube" && os.platform() !== "darwin" ? "--embed-thumbnail" : "", cookieArg, browser, configArg,