From 95cbd4b69bba2a47c34daf5d77fc539eb433977a Mon Sep 17 00:00:00 2001 From: Emeric Verschuur Date: Thu, 1 Sep 2022 09:05:11 +0200 Subject: [PATCH] [YoutubeDL] Add `wait-for-video` yt-dlp option --- lib/Ytdl/Options.php | 1 + src/utils/ytdlOptions.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/Ytdl/Options.php b/lib/Ytdl/Options.php index bf75d77..be0e858 100644 --- a/lib/Ytdl/Options.php +++ b/lib/Ytdl/Options.php @@ -171,6 +171,7 @@ class Options 'no-flat-playlist' => 'the videos of a playlist', 'live-from-start' => 'livestreams from the start. Currently only supported for YouTube (Experimental)', 'no-live-from-start' => 'livestreams from the current time (default)', + 'wait-for-video' => 'Wait for scheduled streams to become available. Pass the minimum number of seconds (or range) to wait between retries', 'no-wait-for-video' => 'not wait for scheduled streams (default)', 'no-colors' => 'not emit color codes in output', 'compat-options' => 'Options that can help keep compatibility with youtube-dl or youtube-dl-dlc configurations by reverting some of the', diff --git a/src/utils/ytdlOptions.js b/src/utils/ytdlOptions.js index fa967c8..0030f42 100644 --- a/src/utils/ytdlOptions.js +++ b/src/utils/ytdlOptions.js @@ -156,6 +156,7 @@ const options = { "no-flat-playlist": "the videos of a playlist", "live-from-start": "livestreams from the start. Currently only supported for YouTube (Experimental)", "no-live-from-start": "livestreams from the current time (default)", + "wait-for-video": "Wait for scheduled streams to become available. Pass the minimum number of seconds (or range) to wait between retries", "no-wait-for-video": "not wait for scheduled streams (default)", "no-colors": "not emit color codes in output", "compat-options": "Options that can help keep compatibility with ytdl or ytdl-dlc configurations by reverting some of the",