Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save documentprocessing/64385de8e2d223a3c895776357430c64 to your computer and use it in GitHub Desktop.
Save documentprocessing/64385de8e2d223a3c895776357430c64 to your computer and use it in GitHub Desktop.
Reading Metadata of Audio Files in Python
from mutagen.easyid3 import EasyID3
audio = EasyID3("example.mp3")
print(audio["artist"]) # Output: Artist name
print(audio["album"]) # Output: Album name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment