I'm using the mutagen module for Python to get the artist of various MP3 files I have.
Here's the code giving the error:
audio = EasyID3(C:\Users\Owner\Music\Music\Blue Öyster Cult\Blue Öyster Cult\Cities on Flame)
print audio["artist"]
The code is working for most of my MP3 files, but there are a select few that continually give the following error:
KeyError: 'TPE1'
And because of that error, I can't see the artist. Note that these MP3 files all have an artist, and none of them have special characters or anything like that.
Why is this happening? And how can I fix it?
Thanks