Rogue ReplayGain Tag

[ http://forums.mp3tag.de/index.php?showtopic=16785 ]


donstrack (Jan 2 2013, 20:28)

Post #1

I have noticed that MP3 songs purchased from Amazon all have a rogue tag for ReplayGain. I thought I had found a way to get rid of them, since they only showed in dBpoweramp, and in no other tag editor. I converted hundreds of files from MP3 to FLAC, then back to MP3, and the rogue tag disappeared from dBpoweramp. It does show in MP3Diags, and now I found another tag viewer called Axone that also shows it. Attached are three screen captures, two from Axone and a third from MP3Diags.

Is there some way to use a script for a new column that will show this tag? It is *not* one of the the normal ReplayGain tags.

Note that in the second Axone screen, there is a checkbox for "Tag alter preserv." and File alter preserv." I assume that these mean that I am unable to delete the tag. I have tried, but I am unable to uncheck the two boxes.

I'm okay to simply leave it alone, but it does seem to be kind of curious.

--DS


donstrack (Jan 3 2013, 12:27)

Post #3

Thank you for the links. After spending about three hours researching the RGAD frame in MP3 tags, I suspect very few players even recognize it, so it really is not an issue. I used foobar2000 to add replaygain, and iTunes to add volume control, but neither one used the tag. I had to un-do what foobar2000 did because it wiped out my TXXX user-defined totaltracks and totaldiscs tags to add its replaygain TXXX tags. I don't use replaygain anyway, so it is not an issue.

So the conclusion is, keep my songs in a separate folder away from iTunes, use MP3Tag to fix any future tagging with any new songs that I add, and use iTunes to sync my iPod (or other iThing). I'll use dBpoweramp for ripping and conversion, and a minimal installation of foobar2000 (Columns UI and NGPlaylist) as my desktop player, but not the foo-dop plugin for iPod sync'ing because it wiped out my foobar library. I found a program called iTunes Library Toolkit that will keep iTunes up to date with changes in my music library, and foobar does it with its folder monitoring.

Thanks for all the help offered over the past couple weeks. I learned a lot about MP3 and ID3 tags.

--DS


Editing Unmapped Tag Frames

[ https://forums.mp3tag.de/index.php?showtopic=16513&st=0&p=68162&#entry68162 ]


Iggy64 (Nov 8 2012, 19:18)

Post #1

I have thousands of mp3 tracks that are tagged with ID3v2 (artist, title, album, etc.) as well as APEv2 (mp3gain undo info). I tagged them using Mp3tag about 5 years ago. Since then, I have somehow unintentionally acquired some ReplayGain data in many of my ID3v2 tags, stored in the TXXX and RGAD frames. Perhaps this data was automatically generated into the tags by some program I was using. Anyway, I didn't create it purposely, and I don't even know if it is valid. I would like to get rid of it, preferably with a batch Action. Unfortunately, Mp3tag does not have a mapping to the RGAD frame. So how do I go about deleting contents in that frame, or chucking the frame altogether. Also, as far as the TXXX frame is concerned, how do I write an action to clear ReplayGain info out of a TXXX frame?

Curiously, the same files that somehow acquired the above-mentioned ReplayGain data also somehow acquired ID3v1 tags. So now they have ID3v2 at the start and ID3v1 at the tail. I guess this doesn't hurt anything, other than the fact that Mp3tag now shows the Year twice in the Tag Panel. Is there an easy way to simply delete all the ID3v1 tags? They don't contain anything that is not already in the ID3v2 that I created in the beginning.
Go to the top of the pageReport Post


JJ Johnson (Nov 8 2012, 19:42)

Post #2

If you have programs that are writing tags in your music files without your knowledge then you've got some serious problems. Can't help you there other than to advise you to figure out which programs are doing it and never use that software again. If that can't be done, set all of your music files to read-only. It's hard to imagine, though, that ReplayGain would be calculated and tags added without your having explicitly told some program to do do.

Any field in an ID3v2 tag that isn't mapped by Mp3tag will automatically reference a TXXX frame with that description. So removing REPLAYGAIN_TRACK_GAIN, for instance, would automatically remove the TXXX/REPLAYGAIN_TRACK_GAIN frame.

But Mp3tag can't directly read or write any four-character unmapped field, if that's what RGAD is. You may be able to remove it by removing all tags from the file and then undoing the operation.


Iggy64 (Nov 8 2012, 20:09)

Post #3

Thanks, JJ.

Yes, I am very distressed about all this tag data showing up without being invited. Perhaps I made some sort of error when updating tags with something like MediaMonkey.

And yes, I did set my tracks to read-only a long time ago; but obviously not soon enough. Apparently the extra tag data got added early on. As soon as I figure out how to get these cleaned up, I will make them read-only again. And I'll re-backup the files and the tags.

It would be nice to have a way to view tags in terms of their actual 4-char tag names, and then be able to batch edit. Perry's ID3 Viewer shows you the data in all frames, but appears to be a viewer only; no editing. mp3Diags also shows detailed frame contents, but I'm not sure whether it can batch edit, and I'm having stability problems with it in Win XP. I may try it in Linux, where it is reportedly more comfortable.

If anyone knows of a way to do batch editing directly in terms of the frame names, I would be very interested in hearing about it.


JJ Johnson (Nov 8 2012, 20:20)

Post #4

QUOTE (Iggy64 @ Nov 8 2012, 19:09)

>> If anyone knows of a way to do batch editing directly in terms of the frame names, I would be very interested in hearing about it. <<

You can't do it in Mp3tag. Mp3tag isn't always a good tool for troubleshooting tagging problems, and it can't work in some tagging systems with unmapped fields.

Try the remove/undo operation (Ctrl-R/Ctrl-Z) to see if it removes the RGAD frame. In your settings for Mpeg tags, change the settings to remove ID3v2 tags first. After you're done, switch it back.

(Test this first on a few files and make sure you have backups of those files so you don't chance losing all the tags!!)

This post has been edited by JJ Johnson: Nov 8 2012, 20:20


Iggy64 (Nov 16 2012, 18:24)

Post #5

Thanks again JJ for all the advice. I keep learning new things from you.

In case anyone finds this thread in searching for a solution to a similar issue, I will tell you the solution that worked for me.

To batch delete the ReplayGain data in TXXX:

Select the desired tracks
Right click and choose Extended Tags
Click on the Replay Gain field
Click on the Delete button (the Red X)
Click OK

Voila! All the TXXX frames are emptied (for the selected tracks)

To batch delete the ReplayGain data in RGAD:

Select the desired tracks
Hit [Ctrl]X to cut all the tags to the clipboard
Click OK to accept the cutting
Hit [Ctrl]V to paste the tags back into the files (from the clipboard)
Click OK to accept the pasting

Taadaa! The RGAD frames have been cleared.

It turns out that RGAD is obsolete, so when Mp3tag writes the tags back to the files, it simply drops them. This was the only solution I could find for batch removing these nasties, but it works just fine.

This post has been edited by dano: Jan 3 2013, 01:15


JJ Johnson (Nov 16 2012, 18:45)

Post #6

You might want to create an action group to remove ReplayGain tagging and run it from the Actions (Quick) button. Should save you some trouble vs. using the Extended Tags dialog. These are the only five ReplayGain fields that you should encounter.

Action type: Remove fields
Fields to remove: REPLAYGAIN_TRACK_GAIN;REPLAYGAIN_TRACK_PEAK;REPLAYGAIN_ALBUM_GAIN;REPLAYGAIN_ALB
UM_PEAK;REPLAYGAIN_REFERENCE_LOUDNESS

You'll still need to do the Ctrl-X/Ctrl-Z to remove the unmapped RGAD field.

###