cc-4329: Fixed this by adding liquid soap playability test from mm1
This commit is contained in:
parent
3eac8c8531
commit
434bcf15ab
2 changed files with 18 additions and 0 deletions
|
@ -161,6 +161,8 @@ class Metadata(Loggable):
|
|||
# Forcing the unicode through
|
||||
try : fpath = fpath.decode("utf-8")
|
||||
except : pass
|
||||
if not mmp.file_playable(fpath):
|
||||
raise BadSongFile(fpath)
|
||||
try : full_mutagen = mutagen.File(fpath, easy=True)
|
||||
except Exception : raise BadSongFile(fpath)
|
||||
self.path = fpath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue