--- a/mp3togo/tags.py
+++ b/mp3togo/tags.py
@@ -101,7 +101,10 @@ class Tags(UserDict.DictMixin):
self._tags['ARTIST'] = [eye.getArtist() or '']
self._tags['ALBUM'] = [eye.getAlbum() or '']
self._tags['TITLE'] = [eye.getTitle() or '']
- self._tags['GENRE'] = [getattr(eye.getGenre(), 'name', 'Other')]
+ try:
+ self._tags['GENRE'] = [getattr(eye.getGenre(), 'name', 'Other')]
+ except eyeD3.tag.GenreException:
+ self._tags['GENRE'] = 'Other'
del eye
elif HAVE_ID3:
info = ID3.ID3(self._file, as_tuple=1).as_dict()