From 0a1ee112fd6f06d836703159a6e0e068579a00ea Mon Sep 17 00:00:00 2001 From: aandrew-me Date: Tue, 24 Sep 2024 19:21:39 +0300 Subject: [PATCH] Playlist quality fix --- linux.sh | 0 src/playlist.js | 2 +- windows.sh | 0 3 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 linux.sh mode change 100755 => 100644 windows.sh diff --git a/linux.sh b/linux.sh old mode 100755 new mode 100644 diff --git a/src/playlist.js b/src/playlist.js index 3574290..1880d3e 100644 --- a/src/playlist.js +++ b/src/playlist.js @@ -161,7 +161,7 @@ function download(type) { format = ""; } else { if (videoType === "mp4") { - format = `-f "${formatId}+m4a/mp4[height=${quality}]+m4a/bv*[height<=${quality}]+ba/best[height<=${quality}]"`; + format = `-f "mp4[height=${quality}]+m4a/mp4[height<=${quality}]+м4а/best[height<=${quality}]"`; } else if (videoType === "webm") { format = `-f "webm[height<=${quality}]+opus/bv*[height<=${quality}]+ba/${formatId}+m4a/mp4[height=${quality}]+m4a/best[height<=${quality}]"`; } else { diff --git a/windows.sh b/windows.sh old mode 100755 new mode 100644