Commit 245b52ed authored by fred's avatar fred

strip all existing metadata when creating sound files

parent 9376c728
......@@ -159,9 +159,8 @@ class Command(BaseCommand):
file_path = soundfile.get_format_path(format)
audio = mutagen.File(file_path, easy=True)
audio.delete() # strip all existing metadata
if 'comment' in audio:
del audio['comment']
if soundfile.fragment is True and soundfile.title:
audio['title'] = '%s - %s' % (
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment