سؤال

I'd like to clear all metadata in an MP3 file, and I'm already using Mutagen in my project. Is there a way I could simply clear all the metadata from the file?

هل كانت مفيدة؟

المحلول

It looks like you can use the delete method of the MP3 object:

mp3 = MP3(fname)
mp3.delete()
mp3.save()

Source: Remove ID3 tags from MP3 files

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top