Tag Item Key Case is not being set correctly


#1

I'm tagging FLAC files using v2.32.

In options I have 'Case setting of tag item keys' set to UPPER case. But when I save tags on a group of file, not all of the tag keys are set to upper case. Specifically, the title and all the replay gain tags. Of course, I have title set to when I'm doing this, but I would still expect the case of the tag key itself to be converted.

D:\Music\flac\Coldplay\X&Y>metaflac --export-tags-to=- "06 X&Y.flac"
Replaygain_track_gain=-9.41 dB
Title=X&Y
Replaygain_album_gain=-9.02 dB
Replaygain_album_peak=1.00000000
Replaygain_track_peak=1.00000000
TRACKNUMBER=06
ALBUM=X&Y
ARTIST=Coldplay
GENRE=Rock
DATE=2005

Also, is there any way to have mp3tag either sort the tags into alphabetic order before writing them or to let the user explicitly maintain the order of the tags?


#2

Ahh... I just noticed two things:

  1. If you use only the tag panel, the case of all tag keys doesn't get changed. But if you use the Alt+T (View|Tags...) dialog then all tag keys' case are changed as expected.

  2. Any items designated as '< keep >' are written first, followed by those with explicit settings. Within each group they (more or less) are written in alphabetic order. The apparent exception in the example below is the DATE comment.

It'd be nice (easier to read) if these could all be written in alphabetic order.

D:\Music\flac\Coldplay\X&Y>metaflac --export-tags-to=- "06 X&Y.flac"
REPLAYGAIN_TRACK_GAIN=-9.41 dB
TITLE=X&Y
TRACKNUMBER=06
ALBUM=X&Y
ARTIST=Coldplay
GENRE=Rock
REPLAYGAIN_ALBUM_GAIN=-9.02 dB
REPLAYGAIN_ALBUM_PEAK=1.00000000
REPLAYGAIN_TRACK_PEAK=1.00000000
DATE=2005