id tags in musepack files shown as unknown

Bug #521228 reported by harakiri
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Exaile
Confirmed
Undecided
Unassigned

Bug Description

i downloaded exaile 0.3.1b from exaile.org and installed it on my linux mint helena 64 os with kde 4.4. unfortunately every exaile 0.3.x version i tested didn't recognize the id-tags in my musepack (mpc) files. the files are shown in the collection as unknown.

musepack encoders and codecs are installed on my system. other players like amarok or quodlibet can read the id-tags, as well as tag editors like easytag.

Tags: mpc musepack tag
Revision history for this message
Bartek Celary (karaphka) wrote :

I am also affected by this problem. Using 0.3.1b

Revision history for this message
Alexander Bethke (oolongbrothers) wrote :

Same here. The tags of no mpcs are recognized. The Ex Falso tagging plugin shows the tags correctly. While the internal Exaile tag editor shows a standard set of empty tags for Album, Artist, etc. before the set of correct tags that are actually saved in the file. Having this problem with 0.3.1 and with latest trunk.

Regards, Alex

Changed in exaile:
status: New → Confirmed
Revision history for this message
Dawid Zamirski (dzrudy) wrote :

I think I've found the problem. First of all, Exaile does read the tags as long as the Musepack files are tagged using APEv2 format. However, most of the Musepack files in my collection are actually tagged using ID3 tag and those files are not recognized.

Here is an example using mutagen (the library Exaile is using to read the tags) with python interactive shell:

from mutagen.apev2 import APEv2
audio = APEv2("/mnt/storage/Music/Pink Floyd/The Division Bell/01 - Cluster One.mpc")

This results in a traceback:
KeyError: "'\\xd0\\x07' is not a valid APEv2 key"

Now 2nd try using ID3 instead:
from mutagen.id3 import ID3
audio = ID3("/mnt/storage/Music/Pink Floyd/The Division Bell/01 - Cluster One.mpc")
audio.pprint()

Results in:
u'TDRC=1994\nTIT2=Cluster One\nTBPM=218\nTRCK=1/11\nTPE2=Pink Floyd\nTPE1=Pink Floyd\nTALB=Division Bell\nTCON=Rock'

Now I cleared the tags using EasyTag and retagged them again which wrote the tags in APE format. Now Exaile is correctly adding the files to the collection.

Revision history for this message
Dawid Zamirski (dzrudy) wrote :

Upen deeper inspection the traceback I got when reading the APE tag from the file is because the data in the APE footer of my files is incorrect. It states that there's e.g 18 tags instead of 17. This means that the mutagen tag parser makes extra iteration and ends up reading footer bytes which causes the "\\xd0\\07 is not a valid APEv2 key" exception.

I have filed a ticket in mutagen regarding this issue:

http://code.google.com/p/mutagen/issues/detail?id=145

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.