]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[downloader/fragment] Clarify current_fragment's index and mark as experimental
authorSergey M․ <dstftw@gmail.com>
Tue, 25 Apr 2017 16:33:35 +0000 (23:33 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 25 Apr 2017 16:33:35 +0000 (23:33 +0700)
youtube_dl/downloader/fragment.py

index 50c8254a4f20c840c9bfa6617716823af881b4ac..bb9e82578da70dc22b7a3ac421a9c5d2bfb3580d 100644 (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):