Added utility method for reading mutagen info through emf.
This commit is contained in:
parent
a2792b01ac
commit
445ec23b8e
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ class MetadataReader(object):
|
||||||
if not mdata.is_optional(): raise
|
if not mdata.is_optional(): raise
|
||||||
return normalized_metadata
|
return normalized_metadata
|
||||||
|
|
||||||
|
def read_mutagen(self, path):
|
||||||
|
return self.read(path, normalize_mutagen(path))
|
||||||
|
|
||||||
global_reader = MetadataReader()
|
global_reader = MetadataReader()
|
||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue