Skip to content

Instantly share code, notes, and snippets.

@dgrant
Created September 2, 2014 07:23
Show Gist options
  • Save dgrant/14271385ba6e4ef9018f to your computer and use it in GitHub Desktop.
Save dgrant/14271385ba6e4ef9018f to your computer and use it in GitHub Desktop.
Script to remove all id3 tags from a file
#!/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