1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[downloader/fragment] Clarify current_fragment's index and mark as experimental

This commit is contained in:
Sergey M․ 2017-04-25 23:33:35 +07:00
parent 538eee7b6a
commit 85f6de25e4
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -46,9 +46,11 @@ class FragmentFD(FileDownloader):
Dictionary of downloader related data. May contain following data:
current_fragment:
Dictionary with current (being downloaded) fragment data:
index: Index of current fragment among all fragments
index: 0-based index of current fragment among all fragments
fragment_count:
Total count of fragments
This feature is experimental and file format may change in future.
"""
def report_retry_fragment(self, err, frag_index, count, retries):