From 3b3546496e178d1ef392c3df639925984985bc27 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Jul 2021 15:58:57 +0200 Subject: Fix youtube-dl import for peertube videos --- server/helpers/youtube-dl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.ts index d003ea3cf..fdd361390 100644 --- a/server/helpers/youtube-dl.ts +++ b/server/helpers/youtube-dl.ts @@ -42,7 +42,7 @@ class YoutubeDL { getYoutubeDLInfo (opts?: string[]): Promise { return new Promise((res, rej) => { - let args = opts || [ '-j', '--flat-playlist' ] + let args = opts || [] if (CONFIG.IMPORT.VIDEOS.HTTP.FORCE_IPV4) { args.push('--force-ipv4') -- cgit v1.2.3