Errors with some mp3 file.
I have encountered some mat2 crashes with mp3 files:
Traceback (most recent call last):
File "/usr/bin/mat2", line 186, in <module>
sys.exit(main())
File "/usr/bin/mat2", line 170, in main
show_meta(f)
File "/usr/bin/mat2", line 72, in show_meta
__print_meta(filename, p.get_meta())
File "/usr/lib/python3/dist-packages/libmat2/audio.py", line 41, in get_meta
metadata[key.rstrip(' \t\r\n\0')] = ', '.join(map(str, meta[key].text))
AttributeError: 'UFID' object has no attribute 'text'
This issue only appeared with the show option -s
, if metadatas are just clean, there is no error.
Edited by jvoisin