mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-02-12 20:48:06 +01:00
Add debug for selected section
This commit is contained in:
parent
cdac7641d6
commit
fbae888c65
1 changed files with 2 additions and 0 deletions
|
@ -2768,6 +2768,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
section_start = 0 if ctx.get('section_start') is None else download_start_time + ctx['section_start']
|
||||
section_end = math.inf if ctx.get('section_end') is None else download_start_time + ctx['section_end']
|
||||
|
||||
self.write_debug(f'Selected section: {section_start} -> {section_end}')
|
||||
|
||||
lack_early_segments = download_start_time - (live_start_time or download_start_time) > MAX_DURATION
|
||||
if lack_early_segments:
|
||||
self.report_warning(bug_reports_message(
|
||||
|
|
Loading…
Add table
Reference in a new issue