Skip to content
Snippets Groups Projects
Commit a1a7c76d authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Make mat2 more robust wrt. weird audio files

parent 01b39aa6
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment