commit: 85f6de25e46562f57be4447e9109be964e6515ea
parent 538eee7b6a0399b71b8cd3f344c2e21e7f248a99
Author: Sergey M․ <dstftw@gmail.com>
Date: Tue, 25 Apr 2017 23:33:35 +0700
[downloader/fragment] Clarify current_fragment's index and mark as experimental
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py
@@ -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):