From adbc4ec4bbfbe57842049cf9194384480f534859 Mon Sep 17 00:00:00 2001 From: The Hatsune Daishi Date: Mon, 20 Dec 2021 15:06:46 +0900 Subject: [dash,youtube] Download live from start to end (#888) * Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan --- yt_dlp/minicurses.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yt_dlp/minicurses.py') diff --git a/yt_dlp/minicurses.py b/yt_dlp/minicurses.py index c81153c1e..f9f99e390 100644 --- a/yt_dlp/minicurses.py +++ b/yt_dlp/minicurses.py @@ -147,6 +147,7 @@ class MultilinePrinter(MultilinePrinterBase): def print_at_line(self, text, pos): if self._HAVE_FULLCAP: self.write(*self._move_cursor(pos), CONTROL_SEQUENCES['ERASE_LINE'], text) + return text = self._add_line_number(text, pos) textlen = len(text) -- cgit v1.2.3