mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 16:32:51 +01:00
Add warning about --download-sections without --live-from-start
This commit is contained in:
parent
444e02ef3b
commit
8ee942a9c8
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user