projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[downloader/fragment] Clarify current_fragment's index and mark as experimental
[youtube-dl]
/
youtube_dl
/
downloader
/
fragment.py
diff --git
a/youtube_dl/downloader/fragment.py
b/youtube_dl/downloader/fragment.py
index 50c8254a4f20c840c9bfa6617716823af881b4ac..bb9e82578da70dc22b7a3ac421a9c5d2bfb3580d 100644
(file)
--- 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:
Dictionary of downloader related data. May contain following data:
current_fragment:
Dictionary with current (being downloaded) fragment data:
- index:
I
ndex of current fragment among all fragments
+ index:
0-based i
ndex of current fragment among all fragments
fragment_count:
Total count of 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):
"""
def report_retry_fragment(self, err, frag_index, count, retries):