I have been trying for a long time to consistently match the behavior of tags between mp3tag and foobar.
When editing tags in mp3tag, I am saving both id3v2.4 and apev2 tags.
Now I am facing a problem with disc numbers.
I save disc numbers in the X/Y format (disc number/total discs). When I do that in mp3tag, extended tags shows correctly the DISCNUMBER tag (X/Y). Looking at the file in a text or Hex editor, it also shows correctly the tag (TPOS X/Y).
After that, if I go to foobar and edit the tags (usually replaygain calculation) and go back to mp3tag, DISCNUMBER is gone. Instead of that, a DISC tag is shown (X/Y). And in foobar it shows 2 different tags: Disc Number (X) and Total Discs (Y). The strange thing is that, looking again in text or Hex editor, TPOS is still there (TPOS X/Y). The only diference is that places in header are changed and I get one space before TPOS and one after.
Foobar documentation reports the use of DISCNUMBER tag, not DISC, and in the same X/Y format. That would be TPOS, and, only if DISCNUMBER isn't there, it would save TOTALDISCS in a TXXX frame.
Anyone has any clue about why this is happening, and if there is a way to make disc numbers works consistently between mp3tag and foobar?
How can mp3tag report the DISC tag, instead of DISCNUMBER, if the same TPOS frame is in the file? Would the spaces before and after the frame make any difference?
Thanks in advance,
Rodrigo Martinho.