AudioDB class changes
[audiocatalog.git] / src / id3_helper.py
blob6af74a5af6eea20ac9bdddf27fe24683c56fa2d9
1 from mutagen.easyid3 import EasyID3
3 class ID3Reader:
4 def __init__(self, filename):
5 self.id3 = EasyID3(filename)
7 def get_artist_title():
8 return self.id3["artist"][0]
10 def get_album_title():
11 return self.id3["album"][0]