Progress bar doesn't display download/merge status for certain DASH downloads
Describe the bug
For certain DASH downloads, the progress bar doesn't display download or merge status and is stuck on LICENSED until the download is finished and it starts decrypting. It's still downloading and merging, but it doesn't display any progress.
Screenshots
If I use curl_impersonate as downloader, it does show the download status but incorrectly:
Additional context I'm getting this on multiple services, and so far the only common denominator I can find is that the progress bar will only display properly if the manifest is using a SegmentTimeline. Might just be a pure coincidence, though.
It's difficult to show with screenshots, so let me know if you want a video or something and I'll send it to you on discord.
A little follow up to this:
In requests.py, line 265, if I set segmented=False the progress bar comes back to life.
with ThreadPoolExecutor(max_workers=max_workers) as pool:
for future in as_completed(
pool.submit(
download,
session=session,
segmented=False,
**url
)
for url in urls
And the reason aria2c was also affected by this is because it doesn't support the Range header and falls back to requests downloader. So when I thought I was using aria, it was actually requests.
I know this isn't a solution, but it might give a clue as to what's causing the issue.
I'm having exactly the same issue with the progress bar. Would love to see it fixed :)