leosongwei / mutagen

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

APETAG written instead of APETAGEX sometimes #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Let there is a MP3 file with the following structure:
- ID3v2
- FRAMES
- ID3v1
- APETAGEX

It is (IMHO) correctly recognized by mp3tag as having APEv2 and ID3v2 tags set.

After the following code is completed, the resulting out.mp3 has the same 
structure but having marker 'APETAG' instead of correct 'APETAGEX' (AFAIK). 
Such ape tag is not recognized not by mp3tag, nor by foobar2000.

from mutagen.easyid3 import EasyID3
audio = EasyID3('in.mp3')
audio.save('out.mp3')

Reproduction code attached.

Python 2.7, Windows 7, trunk

Original issue reported on code.google.com by zee...@gmail.com on 29 Aug 2012 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
AFAIK ID3v1 should come last after apev2 tags.

Problem: mutagen recognizes the "TAG" in "APETAGEX" as id3v1 start and updates 
it.

Original comment by reiter.christoph@gmail.com on 20 Oct 2012 at 11:42

GoogleCodeExporter commented 9 years ago
Issue 120 has been merged into this issue.

Original comment by reiter.christoph@gmail.com on 20 Oct 2012 at 11:45

GoogleCodeExporter commented 9 years ago
mutagen has moved to Bitbucket: https://bitbucket.org/lazka/mutagen/issue/122

Original comment by reiter.christoph@gmail.com on 4 Jul 2014 at 3:37