Skip to content

Commit

Permalink
Revert thumbnail changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrew-me committed Aug 8, 2023
1 parent f8b0cf1 commit 9c2b998
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function download(type) {
configArg,
configTxt,
"--embed-metadata",
videoType == "mp4" ? "--embed-thumbnail": "",
// videoType == "mp4" ? "--embed-thumbnail": "",
`"${url}"`,
],
{ shell: true, detached: false },
Expand Down Expand Up @@ -180,7 +180,7 @@ function download(type) {
configArg,
configTxt,
"--embed-metadata",
"--embed-thumbnail",
// "--embed-thumbnail",
`"${url}"`,
],
{ shell: true, detached: false },
Expand Down
6 changes: 3 additions & 3 deletions src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ function download(
subs2 || subLangs,
"--no-playlist",
"--embed-metadata",
ext == "mp4" ? "--embed-thumbnail": "",
// ext == "mp4" ? "--embed-thumbnail": "",
configArg,
configTxt,
cookieArg,
Expand Down Expand Up @@ -965,7 +965,7 @@ function download(
ffmpeg,
"--no-playlist",
"--embed-metadata",
extractFormat1 == "m4a" || extractFormat1 == "mp3" ? "--embed-thumbnail": "",
// extractFormat1 == "m4a" || extractFormat1 == "mp3" ? "--embed-thumbnail": "",
cookieArg,
browser,
configArg,
Expand Down Expand Up @@ -995,7 +995,7 @@ function download(
subs2 || subLangs,
"--no-playlist",
"--embed-metadata",
ext == "m4a" || ext == "mp4" ? "--embed-thumbnail": "",
// ext == "m4a" || ext == "mp4" ? "--embed-thumbnail": "",
cookieArg,
browser,
configArg,
Expand Down

0 comments on commit 9c2b998

Please sign in to comment.