[postprocessor] Don't replace existing value with null metadata parsed from title

pull/27360/merge
dirkf 2022-08-15 16:45:04 +01:00
parent d231b56717
commit e52e8b8111
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ class MetadataFromTitlePP(PostProcessor):
% self._titleformat) % self._titleformat)
return [], info return [], info
for attribute, value in match.groupdict().items(): for attribute, value in match.groupdict().items():
if value is None:
continue
info[attribute] = value info[attribute] = value
self._downloader.to_screen( self._downloader.to_screen(
'[fromtitle] parsed %s: %s' '[fromtitle] parsed %s: %s'