mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-09 10:03:59 +00:00
preservetags lowercase all tags
This commit is contained in:
@@ -131,7 +131,7 @@ class File(LockableObject, Item):
|
||||
def copy_metadata(self, metadata):
|
||||
exceptions = ['musicip_puid', 'acoustid_id']
|
||||
if self.config.setting['preserved_tags']:
|
||||
exceptions.extend(re.split(r'\s+', self.config.setting['preserved_tags']))
|
||||
exceptions.extend(re.split(r'\s+', self.config.setting['preserved_tags'].lower()))
|
||||
for tag in exceptions:
|
||||
self.saved_metadata[tag] = self.metadata[tag]
|
||||
self.metadata.copy(metadata)
|
||||
|
||||
Reference in New Issue
Block a user