Merge branch 'continue-if-no-thumbnail' into cheeky
This commit is contained in:
commit
0aa6c2d487
@ -31,7 +31,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
|||||||
temp_filename = prepend_extension(filename, 'temp')
|
temp_filename = prepend_extension(filename, 'temp')
|
||||||
|
|
||||||
if not info.get('thumbnails'):
|
if not info.get('thumbnails'):
|
||||||
raise EmbedThumbnailPPError('Thumbnail was not found. Nothing to do.')
|
self._downloader.to_screen('[embedthumbnail] Thumbnail was not found. Nothing to do.')
|
||||||
|
return [], info
|
||||||
|
|
||||||
thumbnail_filename = info['thumbnails'][-1]['filename']
|
thumbnail_filename = info['thumbnails'][-1]['filename']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user