1
0
Fork 0

Fix youtube-dl import for peertube videos

This commit is contained in:
Chocobozzz 2021-07-16 15:58:57 +02:00
parent a3f45a2ab3
commit 83482ec476
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class YoutubeDL {
getYoutubeDLInfo (opts?: string[]): Promise<YoutubeDLInfo> {
return new Promise<YoutubeDLInfo>((res, rej) => {
let args = opts || [ '-j', '--flat-playlist' ]
let args = opts || []
if (CONFIG.IMPORT.VIDEOS.HTTP.FORCE_IPV4) {
args.push('--force-ipv4')