Merge branch 'master' into yt-live-from-start-range

This commit is contained in:
bashonly
2024-02-29 04:58:30 -06:00
committed by GitHub
109 changed files with 5788 additions and 1875 deletions
+5 -2
View File
@@ -369,7 +369,10 @@ class HlsFD(FragmentFD):
return output.getvalue().encode()
self.download_and_append_fragments(
ctx, fragments, info_dict, pack_func=pack_fragment, finish_func=fin_fragments)
if len(fragments) == 1:
self.download_and_append_fragments(ctx, fragments, info_dict)
else:
self.download_and_append_fragments(
ctx, fragments, info_dict, pack_func=pack_fragment, finish_func=fin_fragments)
else:
return self.download_and_append_fragments(ctx, fragments, info_dict)