pull/28/head
aandrew-me 3 years ago
parent dbc7459cf8
commit 9288558743

@ -154,6 +154,10 @@ body {
width: 15px; width: 15px;
height: 15px; height: 15px;
} }
.itemType{
font-style: italic;
margin-top: 5px;
}
#closeHidden { #closeHidden {
bottom: 5px; bottom: 5px;

@ -5,7 +5,7 @@
"yt-dlp-wrap-extended": "^2.3.12" "yt-dlp-wrap-extended": "^2.3.12"
}, },
"name": "ytdownloader", "name": "ytdownloader",
"version": "3.2.2", "version": "3.2.3",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
"start": "electron .", "start": "electron .",

@ -576,7 +576,6 @@ function download(type) {
downloadProcess = ytdlp.exec( downloadProcess = ytdlp.exec(
[ [
url,
rangeOption, rangeOption,
rangeCmd, rangeCmd,
"-f", "-f",
@ -586,8 +585,9 @@ function download(type) {
"--ffmpeg-location", "--ffmpeg-location",
ffmpeg, ffmpeg,
subs, subs,
subLangs subLangs,
// autoSubs "--no-playlist",
url
], ],
{ shell: true, detached: false }, { shell: true, detached: false },
controller.signal controller.signal
@ -603,7 +603,6 @@ function download(type) {
} }
downloadProcess = ytdlp.exec( downloadProcess = ytdlp.exec(
[ [
url,
"-x", "-x",
"--audio-format", "--audio-format",
extractFormat, extractFormat,
@ -611,6 +610,7 @@ function download(type) {
`${path.join(downloadDir, filename + `.${extractExt}`)}`, `${path.join(downloadDir, filename + `.${extractExt}`)}`,
"--ffmpeg-location", "--ffmpeg-location",
ffmpeg, ffmpeg,
url
], ],
{ shell: true, detached: false }, { shell: true, detached: false },
controller.signal controller.signal
@ -620,7 +620,6 @@ function download(type) {
else { else {
downloadProcess = ytdlp.exec( downloadProcess = ytdlp.exec(
[ [
url,
rangeOption, rangeOption,
rangeCmd, rangeCmd,
"-f", "-f",
@ -630,8 +629,9 @@ function download(type) {
"--ffmpeg-location", "--ffmpeg-location",
ffmpeg, ffmpeg,
subs, subs,
subLangs subLangs,
// autoSubs "--no-playlist",
url
], ],
{ shell: true, detached: false }, { shell: true, detached: false },
controller.signal controller.signal

Loading…
Cancel
Save