How can I use mutagen.py to clear mp3 metadata?
Domanda
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?
Soluzione
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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow