So, I am using mutagen to get information about uploaded musics in my website. I tried the following code:
import mutagen
mutagen.File(filePath)
it displays the following message:
{'TXXX:compatible_brands': TXXX(encoding=<Encoding.UTF8: 3>, desc='compatible_brands', text=['isommp42']), 'TXXX:minor_version': TXXX(encoding=<Encoding.UTF8: 3>, desc='minor_version', text=['0']), 'TXXX:major_brand': TXXX(encoding=<Encoding.UTF8: 3>, desc='major_brand', text=['mp42']), 'TSSE': TSSE(encoding=<Encoding.UTF8: 3>, text=['Lavf57.56.101'])}
Isn't this code supposed to print artist and title as described in their documentation? I am confused. Is it encoded? if so, how do I decode it?
Found the solution: See answer below