Skip to content

Instantly share code, notes, and snippets.

@dgrant
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgrant/23026d022d4654fc6f23 to your computer and use it in GitHub Desktop.
Save dgrant/23026d022d4654fc6f23 to your computer and use it in GitHub Desktop.
Remove all id3 tags from an mp3
#!/usr/bin/env python
"""Remove all id3 tags"""
import sys
import eyeD3
def main():
"""main method"""
tag = eyeD3.Tag()
for afile in sys.argv[1:]:
tag.link(afile, eyeD3.ID3_V1)
tag.remove()
tag.link(afile, eyeD3.ID3_V2)
tag.remove()
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment