Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save documentprocessing/c430a76fb55cfd588d3bf5d4be5d13a4 to your computer and use it in GitHub Desktop.
Save documentprocessing/c430a76fb55cfd588d3bf5d4be5d13a4 to your computer and use it in GitHub Desktop.
Write Metadata Information to Audio File in Python
from mutagen.easyid3 import EasyID3
audio = EasyID3("example.mp3")
audio["artist"] = "New Artist"
audio["album"] = "New Album"
audio.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment