Added default translator for mdata elements that don't specify it

This commit is contained in:
Rudi Grinberg 2012-10-09 14:46:01 -04:00
parent a88b7255ff
commit 10c4a71866
3 changed files with 20 additions and 3 deletions

View file

@ -196,7 +196,7 @@ class Metadata(Loggable):
normalized = global_reader.read('fpath', full_mutagen)
self.logger.info(pformat(normalized))
except Exception as e:
self.logger.unexpected_exception(e)
self.unexpected_exception(e)
if full_mutagen is None: full_mutagen = FakeMutagen(fpath)
self.__metadata = Metadata.airtime_dict(full_mutagen)