Removed supported for files that mutagen cannot read

This commit is contained in:
Rudi Grinberg 2012-09-05 16:09:29 -04:00
parent 0798d67b2d
commit 8a5333fa7f

View file

@ -172,7 +172,7 @@ class Metadata(Loggable):
return
# TODO : Simplify the way all of these rules are handled right not it's
# extremely unclear and needs to be refactored.
if full_mutagen is None: full_mutagen = {}
if full_mutagen is None: raise BadSongFile(fpath)
self.__metadata = Metadata.airtime_dict(full_mutagen)
# Now we extra the special values that are calculated from the mutagen
# object itself: