From 5287cbe4e71fce7e81d1e39ba217df67c766bbf1 Mon Sep 17 00:00:00 2001 From: Emeric Verschuur Date: Sun, 7 May 2023 13:21:35 +0200 Subject: [PATCH] [YoutubeDL] Restore `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 3951023..c381ff0 100644 --- a/lib/Ytdl/Options.php +++ b/lib/Ytdl/Options.php @@ -26,6 +26,7 @@ class Options 'no-flat-playlist' => 'the videos of a playlist', 'live-from-start' => 'livestreams from the start.', 'no-live-from-start' => 'livestreams from the current time', + 'wait-for-video' => 'wait for scheduled streams', 'no-wait-for-video' => 'not wait for scheduled streams (default)', 'mark-watched' => 'videos watched (even with --simulate)', 'no-mark-watched' => 'not mark videos watched (default)', diff --git a/src/utils/ytdlOptions.js b/src/utils/ytdlOptions.js index d3e1afc..647d7c1 100644 --- a/src/utils/ytdlOptions.js +++ b/src/utils/ytdlOptions.js @@ -14,6 +14,7 @@ const options = { "no-flat-playlist": "the videos of a playlist", "live-from-start": "livestreams from the start.", "no-live-from-start": "livestreams from the current time", + "wait-for-video": "wait for scheduled streams", "no-wait-for-video": "not wait for scheduled streams (default)", "mark-watched": "videos watched (even with --simulate)", "no-mark-watched": "not mark videos watched (default)",