mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[downloader/fragment] Clarify current_fragment's index and mark as experimental
This commit is contained in:
		| @@ -46,9 +46,11 @@ class FragmentFD(FileDownloader): | |||||||
|         Dictionary of downloader related data. May contain following data: |         Dictionary of downloader related data. May contain following data: | ||||||
|             current_fragment: |             current_fragment: | ||||||
|                 Dictionary with current (being downloaded) fragment data: |                 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: |             fragment_count: | ||||||
|                 Total count of fragments |                 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): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user