Commit a1a7c76d authored by jvoisin's avatar jvoisin
Browse files

Make mat2 more robust wrt. weird audio files

parent 01b39aa6
......@@ -21,7 +21,7 @@ class MutagenParser(abstract.AbstractParser):
def get_meta(self) -> Dict[str, Union[str, dict]]:
f = mutagen.File(self.filename)
if f.tags:
return {k:', '.join(v) for k, v in f.tags.items()}
return {k:', '.join(map(str, v)) for k, v in f.tags.items()}
return {}
def remove_all(self) -> bool:
......
Supports Markdown
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