Added special handling for title in emf
This commit is contained in:
parent
d00c74fdbe
commit
cefc5c99d9
3 changed files with 33 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue