delete id3v1 fields if identical to id3v2

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: delete id3v1 fields if identical to id3v2

Post by Teknojnky »

lovelove wrote:If MM can find a list of differing v1 and v2 tags, I would assume that this automatically means that MM can also find a list of NOT differing v1 and v2 tags.
No, there is no dedicated function for this purpose.

However, if you create a playlist of the files with differing tags (files to edit > unsyncronized tags, select all > send to new playlist), you can create an auto-playlist (requires MM Gold) to generate the list of files NOT in the other playlist.
And I would also assume that MM is able to delete v1 tags for all files in this list.
again, MM lets YOU do this via tools > advanced tag management > clean id3v1 tags. It will NOT do it for you, you must select the files you want to remove tags from and invoke the proper menu.
And even if this were not possible, I could still use that list of files with differing tags and subtract this list of files from all the files ... the rest are the files with identical tags. I could then use another program to mass-delete the v1 tags for these files.
see above.
So either way, I think MM can help there.
Am I correct in my assessment?
I would think so, as already noted several times.
lovelove
Posts: 9
Joined: Mon May 17, 2010 3:46 pm

Re: delete id3v1 fields if identical to id3v2

Post by lovelove »

looks good. I'll give it a try and post my results here afterwards.
thank you, everybody!
wutzin
Posts: 72
Joined: Thu Jul 03, 2008 9:18 am

Re: delete id3v1 fields if identical to id3v2

Post by wutzin »

Hi Lovelove,

I want to correct something real quick: I think it IS possible to make the script you wanted at the outset. The only trick is that you need TWO libraries to make it work. Here's what you do:

1) You start a blank library in MM, set your options in Tools-Options-Tags&Playlists to only use v1 tags. Now scan your collection. Result: you have a MM library containing your v1 tags.

2) You now move the library file to a safe location, and start a new blank library file. Set the MM option to only use v2 tags. Now scan your collection again. Result: you have a second MM library containing your v2 tags.

3) Now, all you need is a simply SQL program to compare the current (v2) library with the external (v1) library and to match tracks (based on location/filename) and to perform a comparison of their v1 versus the v2 tags. You can do this within MM actually - look for the fantastic "Restore PlayHistory/DateAdded/Playlists" script for an example how to access a second database file and match track information: http://www.mediamonkey.com/forum/viewto ... =2&t=42085
That way, you can get a list of files with matching v1 and v2 tags - once you have that list, you can perform the mentioned advanced tag management-clear tags function on them.

Of course, I think the alternative of simply using the "unsynchronized tags" node is much easier - even if you don't really know for sure what MM is doing there (since tracks show up either because info in the library file has not been sucessfully saved to tags, OR because there is a v1-v2-inconsistency. But if you start with a fresh library file, don't use "infer track properties" when you scan - and turn off "scan folder for album art", then the library file should be in perfect sync with the tags - which means the unsynchronized tags node should contain only tracks where v1 and v2 tags differ. Now you can simply take those tracks, throw them in a playlist, export a m3u and sort through them in your favorite tagging software.
To delete the v1 tags of those tracks that match the v2, simply find a field you don't use (like custom 5), then go to your unsyncronized tracks node and assign all tracks in there a custom5 property (e.g. "unsynchronized"). Now go to the Library - Location node, go to the root of your music collection and select the "All" node - you now get a long list of all tracks you have. Right-click on the column headers, check the custom5 option to display this field, then click on the custom5 header to sort your entire library by the it. Now all your unsynchronized tracks will have "unsynchronized" in custom5, so they are all bunched together. Simply select all tracks NOT containing "unsynchronized" in the custom5 column, then perform Tools- Advanced Tag managent- Clean ID3v1 tags on them --> presto!

Hope this works out for you...
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: delete id3v1 fields if identical to id3v2

Post by Teknojnky »

that is a whole lot of work for something is so ridiculously unneccesary in the first place.
Post Reply