Do not override previous playability error if unknown
This commit is contained in:
parent
b4450ec4bb
commit
0b5d6fe1ed
@ -389,7 +389,7 @@ def _extract_playability_error(info, player_response, error_prefix=''):
|
||||
|
||||
if playability_status not in (None, 'OK'):
|
||||
info['playability_error'] = error_prefix + playability_reason
|
||||
else:
|
||||
elif not info['playability_error']: # do not override
|
||||
info['playability_error'] = error_prefix + 'Unknown playability error'
|
||||
|
||||
SUBTITLE_FORMATS = ('srv1', 'srv2', 'srv3', 'ttml', 'vtt')
|
||||
|
Loading…
x
Reference in New Issue
Block a user