From 556d85e31fb0aba53d4939e66795c5be7554199b Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Sat, 2 Apr 2016 17:30:18 +0200 Subject: [PATCH] dash: complete the progress bar after file is downloaded The progress bar wasn't updated after the downloaded completed, so the final progress bar would look something like this: [99/100][===============================.] ETA: 0:00:00 This can be interpreted as the file didn't download completely. Reported-by: rooth --- lib/svtplay_dl/fetcher/dash.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/svtplay_dl/fetcher/dash.py b/lib/svtplay_dl/fetcher/dash.py index 75d2edc..c5709b7 100644 --- a/lib/svtplay_dl/fetcher/dash.py +++ b/lib/svtplay_dl/fetcher/dash.py @@ -94,5 +94,6 @@ class DASH(VideoRetriever): if self.options.output != "-": file_d.close() + progressbar(bytes_so_far, total_size, "ETA: complete") progress_stream.write('\n') self.finished = True