|
|
@ -2219,6 +2219,7 @@ class YoutubeDL:
|
|
|
|
self.report_warning(f'Unable to delete temporary file "{temp_file.name}"')
|
|
|
|
self.report_warning(f'Unable to delete temporary file "{temp_file.name}"')
|
|
|
|
f['__working'] = success
|
|
|
|
f['__working'] = success
|
|
|
|
if success:
|
|
|
|
if success:
|
|
|
|
|
|
|
|
f.pop('__needs_testing', None)
|
|
|
|
yield f
|
|
|
|
yield f
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self.to_screen('[info] Unable to download format {}. Skipping...'.format(f['format_id']))
|
|
|
|
self.to_screen('[info] Unable to download format {}. Skipping...'.format(f['format_id']))
|
|
|
@ -3963,6 +3964,7 @@ class YoutubeDL:
|
|
|
|
self._format_out('UNSUPPORTED', self.Styles.BAD_FORMAT) if f.get('ext') in ('f4f', 'f4m') else None,
|
|
|
|
self._format_out('UNSUPPORTED', self.Styles.BAD_FORMAT) if f.get('ext') in ('f4f', 'f4m') else None,
|
|
|
|
(self._format_out('Maybe DRM', self.Styles.WARNING) if f.get('has_drm') == 'maybe'
|
|
|
|
(self._format_out('Maybe DRM', self.Styles.WARNING) if f.get('has_drm') == 'maybe'
|
|
|
|
else self._format_out('DRM', self.Styles.BAD_FORMAT) if f.get('has_drm') else None),
|
|
|
|
else self._format_out('DRM', self.Styles.BAD_FORMAT) if f.get('has_drm') else None),
|
|
|
|
|
|
|
|
self._format_out('Untested', self.Styles.WARNING) if f.get('__needs_testing') else None,
|
|
|
|
format_field(f, 'format_note'),
|
|
|
|
format_field(f, 'format_note'),
|
|
|
|
format_field(f, 'container', ignore=(None, f.get('ext'))),
|
|
|
|
format_field(f, 'container', ignore=(None, f.get('ext'))),
|
|
|
|
delim=', '), delim=' '),
|
|
|
|
delim=', '), delim=' '),
|
|
|
|