A feature-rich command-line audio/video downloader
[fd] Fix playback wait time for ffmpeg downloads (#15066)
bashonly23f1ab346927
diff --git a/yt_dlp/downloader/common.py b/yt_dlp/downloader/common.pyindex 122c479562..6f15607c27 100644--- a/yt_dlp/downloader/common.py+++ b/yt_dlp/downloader/common.py@@ -461,7 +461,8 @@ class FileDownloader:min_sleep_interval = self.params.get('sleep_interval') or 0max_sleep_interval = self.params.get('max_sleep_interval') or 0- if available_at := info_dict.get('available_at'):+ requested_formats = info_dict.get('requested_formats') or [info_dict]+ if available_at := max(f.get('available_at') or 0 for f in requested_formats):forced_sleep_interval = available_at - int(time.time())if forced_sleep_interval > min_sleep_interval:sleep_note = 'as required by the site'