main #3

Merged
wisecolt merged 32 commits from main into develope 2026-01-19 18:11:18 +00:00
Showing only changes of commit dac30820d4 - Show all commits

View File

@@ -734,6 +734,10 @@ function appendYoutubeLog(job, line) {
function launchYoutubeJob(job) { function launchYoutubeJob(job) {
const binary = getYtDlpBinary(); const binary = getYtDlpBinary();
const jsRuntime =
process.env.YT_DLP_JS_RUNTIME ||
process.env.NODE_BIN ||
"/usr/bin/node";
const args = [ const args = [
"-f", "-f",
"bv+ba/b", "bv+ba/b",
@@ -741,6 +745,8 @@ function launchYoutubeJob(job) {
"--convert-thumbnails", "--convert-thumbnails",
"jpg", "jpg",
"--write-info-json", "--write-info-json",
"--js-runtime",
jsRuntime,
job.url job.url
]; ];
job.debug = { binary, args, logs: [] }; job.debug = { binary, args, logs: [] };