1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-04 18:22:37 +01:00

Add warning about --download-sections without --live-from-start

This commit is contained in:
Elyse 2023-05-13 13:29:28 -06:00
parent 444e02ef3b
commit 8ee942a9c8

View File

@ -3843,6 +3843,9 @@ def build_fragments(f):
dct['downloader_options'] = {'http_chunk_size': CHUNK_SIZE}
yield dct
if live_status == 'is_live' and self.get_param('download_ranges') and not self.get_param('live_from_start'):
self.report_warning('For YT livestreams, --download-sections is only supported with --live-from-start')
needs_live_processing = self._needs_live_processing(live_status, duration)
skip_bad_formats = not self._configuration_arg('include_incomplete_formats')