Commit 137b0aea authored by fred's avatar fred

ignore mutagen failures

parent 48fd9c2f
......@@ -44,7 +44,12 @@ class Command(BaseCommand):
if self.verbose:
print short_filepath
metadata = mutagen.File(filepath, easy=True)
except Exception as e:
if self.verbose:
print 'E:', e
if not metadata or not metadata.get('artist') or not metadata.get('title'):
if self.verbose:
print 'skipping', filepath
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment