mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Separate the options --ignore-errors and --no-abort-on-error
				
					
				
			In youtube-dl, `-i` ignores both download and post-processing error, and treats the download as successful even if the post-processor fails. yt-dlp used to skip the entire video on either error and there was no option to ignore the post-processing errors like youtube-dl does. By splitting the option into two, now either just the download errors (--no-abort-on-error, default on CLI) or all errors (--ignore-errors) can be ignored as per the users' needs Closes #893
This commit is contained in:
		| @@ -57,8 +57,7 @@ class XAttrMetadataPP(PostProcessor): | ||||
|             return [], info | ||||
|  | ||||
|         except XAttrUnavailableError as e: | ||||
|             self.report_error(str(e)) | ||||
|             return [], info | ||||
|             raise PostProcessingError(str(e)) | ||||
|  | ||||
|         except XAttrMetadataError as e: | ||||
|             if e.reason == 'NO_SPACE': | ||||
| @@ -74,5 +73,5 @@ class XAttrMetadataPP(PostProcessor): | ||||
|                     msg += 'You need to use NTFS.' | ||||
|                 else: | ||||
|                     msg += '(You may have to enable them in your /etc/fstab)' | ||||
|                 self.report_error(msg) | ||||
|                 raise PostProcessingError(str(e)) | ||||
|             return [], info | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan