Skip to content

Instantly share code, notes, and snippets.

@pointofpresence
Last active April 7, 2022 07:22
Show Gist options
  • Save pointofpresence/d926bc90cd9a79f40fbf4169cbc3f095 to your computer and use it in GitHub Desktop.
Save pointofpresence/d926bc90cd9a79f40fbf4169cbc3f095 to your computer and use it in GitHub Desktop.
Python set MP3 tags
import eyed3
audiofile = eyed3.load("song.mp3")
audiofile.tag.artist = "Token Entry"
audiofile.tag.album = "Free For All Comp LP"
audiofile.tag.album_artist = "Various Artists"
audiofile.tag.title = "The Edge"
audiofile.tag.track_num = 3
audiofile.tag.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment