wilsonyu2006 / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

Can't read "COMM" field / 'COMM' key not found #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I can read all fields with mutagen except the comment field. I have no idea 
why. I also tried it with EasyID3 but it didn't work.

Original issue reported on code.google.com by groc...@gmail.com on 30 Mar 2013 at 8:36

Attachments:

GoogleCodeExporter commented 8 years ago
Have a look at audio.keys(). The COMM key also contains the 
description/language.

If you wan to get all COMM tags use audio.tags.getall("COMM"):
see 
https://mutagen.readthedocs.org/en/latest/api/id3.html#mutagen.id3.ID3.getall

EasyID3 does not expose COMM frames atm.

Original comment by reiter.christoph@gmail.com on 30 Mar 2013 at 10:11

GoogleCodeExporter commented 8 years ago
Thanks for the fast reply! After audio.keys() I modified the line:

comment = unicode(audio[u"COMM::'eng'"])

And this works now perfectly. Thanks again!

Original comment by groc...@gmail.com on 30 Mar 2013 at 10:49