Merge with bugfix-0.5
/mp3togo/tags.py
blob:5e06b7aa072fd7b158fa102ecbd4411a32429333 -> blob:69ac3d05a35a3513dc048ffeb27cb967156f4cc2
--- mp3togo/tags.py
+++ mp3togo/tags.py
@@ -188,7 +188,7 @@ class Tags(UserDict.DictMixin):
out.setAlbum(d['ALBUM'])
out.setTitle(d['TITLE'])
g = eyeD3.Genre()
- g.setId(d['GENRE'])
+ g.setId(d.get('GENRE', 12))
out.setGenre(g)
if d.has_key('COMMENT'):
out.addComment(d['COMMENT'])