aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/fragment.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-04-25 23:33:35 +0700
committerSergey M․ <dstftw@gmail.com>2017-04-25 23:33:35 +0700
commit85f6de25e46562f57be4447e9109be964e6515ea (patch)
treee2d63e166a3eb52594b47b887018dbdf14c9de83 /youtube_dl/downloader/fragment.py
parent538eee7b6a0399b71b8cd3f344c2e21e7f248a99 (diff)
downloadyoutube-dl-85f6de25e46562f57be4447e9109be964e6515ea.tar.xz
[downloader/fragment] Clarify current_fragment's index and mark as experimental
Diffstat (limited to 'youtube_dl/downloader/fragment.py')
-rw-r--r--youtube_dl/downloader/fragment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py
index 50c8254a4..bb9e82578 100644
--- 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):