projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538eee7
)
[downloader/fragment] Clarify current_fragment's index and mark as experimental
author
Sergey M․
<dstftw@gmail.com>
Tue, 25 Apr 2017 16:33:35 +0000
(23:33 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 25 Apr 2017 16:33:35 +0000
(23:33 +0700)
youtube_dl/downloader/fragment.py
patch
|
blob
|
history
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:
- 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
+
+ This feature is experimental and file format may change in future.
"""
def report_retry_fragment(self, err, frag_index, count, retries):