Added special handling for title in emf

This commit is contained in:
Rudi Grinberg 2012-10-12 15:39:35 -04:00
parent d00c74fdbe
commit cefc5c99d9
3 changed files with 33 additions and 3 deletions

View file

@ -140,6 +140,7 @@ def normalize_mutagen(path):
md['sample_rate'] = getattr(m.info, 'sample_rate', 0)
md['mime'] = m.mime[0] if len(m.mime) > 0 else u''
md['path'] = path
if 'title' not in md: md['title'] = u''
return md