Created
January 8, 2025 14:45
-
-
Save documentprocessing/64385de8e2d223a3c895776357430c64 to your computer and use it in GitHub Desktop.
Reading Metadata of Audio Files 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") | |
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