Created
January 9, 2025 05:17
-
-
Save documentprocessing/c430a76fb55cfd588d3bf5d4be5d13a4 to your computer and use it in GitHub Desktop.
Write Metadata Information to Audio File in Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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