diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/youtube-dl.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
42 | 42 | ||
43 | getYoutubeDLInfo (opts?: string[]): Promise<YoutubeDLInfo> { | 43 | getYoutubeDLInfo (opts?: string[]): Promise<YoutubeDLInfo> { |
44 | return new Promise<YoutubeDLInfo>((res, rej) => { | 44 | return new Promise<YoutubeDLInfo>((res, rej) => { |
45 | let args = opts || [ '-j', '--flat-playlist' ] | 45 | let args = opts || [] |
46 | 46 | ||
47 | if (CONFIG.IMPORT.VIDEOS.HTTP.FORCE_IPV4) { | 47 | if (CONFIG.IMPORT.VIDEOS.HTTP.FORCE_IPV4) { |
48 | args.push('--force-ipv4') | 48 | args.push('--force-ipv4') |