diff --git a/backend/id3pp.py b/backend/id3pp.py index f6c1d97..960d90d 100644 --- a/backend/id3pp.py +++ b/backend/id3pp.py @@ -57,6 +57,8 @@ class ID3TagsPP(PostProcessor): file['TDRC'] = id3.TDRC(encoding=ENC_UTF8, text=str(information['release_year'])) if 'track_number' in information: file['TRCK'] = id3.TRCK(encoding=ENC_UTF8, text=str(information['track_number'])) + if 'genre' in information: + file['TCON'] = id3.TCON(encoding=ENC_UTF8, text=information['genre']) try: lyr_url = genius.search(title, artist)