[DashSegmentsFD] Correctly detect errors when `fragment_retries` == 0
authordirkf <fieldhouse@gmx.net>
Wed, 12 Apr 2023 23:15:07 +0000 (00:15 +0100)
committerdirkf <fieldhouse@gmx.net>
Wed, 12 Apr 2023 23:23:17 +0000 (00:23 +0100)
commit26035bde46c0acc30dc053618451d9aeca4b7709
tree4016c89bdaf8a80e76186f761ce550e9bfd451bb
parent2da3fa04a68ff0652f49d6874d82b7a0edb85ea3
[DashSegmentsFD] Correctly detect errors when `fragment_retries` == 0

* use the success flag instead of the retry count
* establish the fragment_url outside the retry loop
* only report skipping a fragment once.
* resolves #32033
youtube_dl/downloader/dash.py