diff --git a/html/playlist_new.html b/html/playlist_new.html index 34f4025..dfe6806 100644 --- a/html/playlist_new.html +++ b/html/playlist_new.html @@ -34,6 +34,17 @@ Homepage Preferences About + Theme: + @@ -58,7 +69,6 @@
-
diff --git a/src/playlist_new.js b/src/playlist_new.js index 16a436e..75e5b03 100644 --- a/src/playlist_new.js +++ b/src/playlist_new.js @@ -60,7 +60,7 @@ function pasteLink() { getId("errorDetails").style.display = "none"; getId("errorDetails").textContent = ""; exec( - `yt-dlp --yes-playlist --no-warnings -J --flat-playlist "${clipboardText}"`, + `${ytDlp} --yes-playlist --no-warnings -J --flat-playlist "${clipboardText}"`, (error, stdout, stderr) => { if (error) { getId("loadingWrapper").style.display = "none"; @@ -81,6 +81,7 @@ function pasteLink() { // If correct playlist url is used if (parsed.entries) { parsed.entries.forEach((entry) => { + console.log(entry) const randId = Math.random() .toFixed(10) .toString() @@ -97,6 +98,7 @@ function pasteLink() {
${entry.title}
${formatTime(entry.duration)}
+ `;