IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Windows 7/Media Player 12 corrupts custom fields in MP3s’ ID3v2.3 tags, Was—Corrupted metadata/Appreciate any help finding the cause [specify]
metal_termite
post Jan 9 2012, 17:34
Post #1





Group: Members
Posts: 538
Joined: 10-July 04
Member No.: 15248



From time to time for the last few years about 100-200 of my MP3s get randomly corrupted metadata and I have no idea what is causing it. Could it be Windows 7, foobar2000, or what?

I do know there are certain patterns. For instance, it seems that only custom tags are the one's getting corrupted (eg. ADDED, THEME, RATING, MOOD, STYLE, etc.). When these tags get corrupted, they always show the same tag values containing a truncated incomplete version of the tag name (eg. When the STYLE tag gets corrupted the new STYLE tag value will always be "TYLE"). I've provided two screen shots as an example.

foobar2000 properties dialog with correct metadata


foobar2000 properties dialog with corrupted metadata
Go to the top of the page
+Quote Post
Erich_2
post Jan 9 2012, 20:49
Post #2





Group: Members
Posts: 243
Joined: 10-September 08
Member No.: 58107



QUOTE (metal_termite @ Jan 9 2012, 17:34) *
From time to time for the last few years about 100-200 of my MP3s get randomly corrupted metadata and I have no idea what is causing it. Could it be Windows 7, foobar2000, or what?

It's Windows Media Player who produce that. I had the same cause. Google for that.
I've deleted WMP on my Windows 7 system, since then there is no more trouble anymore. (Some idiots had started WMP again and again to play my music albums on my computer. (WMP imports all the library first and corrupts some tags in the process). Thanks God - I've got a backup.
I'm absolutely sure of that, because a good friend of mine had the same experience. mad.gif
Go to the top of the page
+Quote Post
Peter
post Jan 9 2012, 22:53
Post #3


foobar2000 developer


Group: Admin
Posts: 3280
Joined: 30-September 01
Member No.: 84



I've had exactly the same happen repeatedly to my music collection, in the following scenarios:
* MP3 music stored in a Windows 7 indexed music library folder, Windows Media Player started.
* MP3 music stored on a data partition of Windows Home Server 2011, media sharing feature enabled (which it is by default!)

Now I'm seriously considering switching my personal collection back to old good APE tags (that MS software doesn't recognize) or using another format than MP3 (again something that MS doesn't support).
Go to the top of the page
+Quote Post
metal_termite
post Jan 10 2012, 13:53
Post #4





Group: Members
Posts: 538
Joined: 10-July 04
Member No.: 15248



So to avoid this issue (1) Do not use WMP12? (2) Exclude the location of the MP3s on the Windows indexing options list? (3) Use Ape (not feasible for me) (4) Uninstall WMP 12 (no can do)

This post has been edited by metal_termite: Jan 10 2012, 14:27
Go to the top of the page
+Quote Post
marc2003
post Jan 10 2012, 15:02
Post #5





Group: Members
Posts: 4465
Joined: 27-January 05
From: England
Member No.: 19379



using id3v2.4 makes your files WMP-proof as well. obviously not a feasible solution for everyone but it works for me.
Go to the top of the page
+Quote Post
metal_termite
post Jan 10 2012, 23:49
Post #6





Group: Members
Posts: 538
Joined: 10-July 04
Member No.: 15248



Windows Explorer won't recognize embedded album art if the MP3s use id3v2.4, but I suppose that's a good trade-off it it prevents the non-standardized tags from getting corrupted.
Go to the top of the page
+Quote Post
rednyrg721
post Jan 11 2012, 22:39
Post #7





Group: Members
Posts: 49
Joined: 8-November 07
Member No.: 48576



I guess unchecking "Update music files by retrieving media info from the Internet" checkbox can fix that (don't recall other options that mention writing to media files), it's in "Options-Privacy" tab.

http://windows.microsoft.com/en-US/windows...ws-Media-Player
Go to the top of the page
+Quote Post
Alex B
post Jan 11 2012, 23:38
Post #8





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



This issue was discussed already over two years ago: http://www.hydrogenaudio.org/forums/index....showtopic=76998

WMP12 and also Windows 7 Explorer (its tagging feature) ruin all ID3v2.3 TXXX tags when they write any tag changes. ID3v2.4 seems to be safe because the MS programs don't recognize it.

I have not tried Windows 7 / WMP12 tagging since posting in the above linked thread, but the fact that MS apparently has not bothered to fix the problem during the last two years doesn't really surprise me.


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
metal_termite
post Jan 13 2012, 06:36
Post #9





Group: Members
Posts: 538
Joined: 10-July 04
Member No.: 15248



Thanks.

BTW I wanted to correct the claim I made about Windows 7 Explorer not displaying album art in files using ID3v2.4. My files have all been changed to ID3v2.4 using foobar2000, and the album art is displayed correctly in Explorer.

For whatever reason, the last time I tried this a few years ago it didn't work and that was the reason for my incorrect claim.
Go to the top of the page
+Quote Post
Peter
post Jan 13 2012, 09:58
Post #10


foobar2000 developer


Group: Admin
Posts: 3280
Joined: 30-September 01
Member No.: 84



ID3v2.4 is "safe" as in they will not alter them but instead they will prepend ID3v2.3 tags - producing files with double ID3v2 tags - and you'll have to somehow strip the redundant 2.3 tags to make your old 2.4 tags visible again.
Go to the top of the page
+Quote Post
Alex B
post Jan 13 2012, 11:52
Post #11





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



Two years ago, when I posted my findings in the other thread, Windows 7 Explorer refused to tag my test files that had foobar2000 generated ID3v2.4 tags (so they were apparently safe), but MS may have changed something or WMP12 and other MS programs may use a different tagger than Windows 7 Explorer.


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
Peter
post Jan 13 2012, 12:07
Post #12


foobar2000 developer


Group: Admin
Posts: 3280
Joined: 30-September 01
Member No.: 84



That is correct. MS does not read 2.4 tags, in fact, their software doesn't perceive them as tags at all - so they stamp separate 2.3 tags prepended to your 2.4 tags when they attempt to update your files.
Go to the top of the page
+Quote Post
Alex B
post Jan 13 2012, 14:48
Post #13





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



The behavior seems to depend on the amount or kind of the ID3v2.4 tags.

I just tried an old test file that contains a huge amount of various ID3v2.4 tags frames (and the few possible ID3v1.1 tag frames). WMP12 & Windows 7 Explorer could not apply any tag changes to the file. In WMP12 the file appeared as partly corrupted: duration was not displayed and the position slider did not advance or work anyhow even though WMP12 was able to play the file.

When I deleted all other tags except the "title" ID3v2.4 tag (TIT2) and the corresponding ID3v1.1 tag the behavior changed to what you described. WMP12 added ID3v2.3 and "preserved" also ID3v2.4.

If someone is really interested in testing this, I uploaded my "fully ID3v2.4 tagged" test file: http://www.hydrogenaudio.org/forums/index....showtopic=92873


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
probedb
post Jan 13 2012, 15:05
Post #14





Group: Members
Posts: 1229
Joined: 6-September 04
Member No.: 16817



QUOTE (rednyrg721 @ Jan 11 2012, 21:39) *
I guess unchecking "Update music files by retrieving media info from the Internet" checkbox can fix that (don't recall other options that mention writing to media files), it's in "Options-Privacy" tab.

http://windows.microsoft.com/en-US/windows...ws-Media-Player


Yep that's what I do and I've never had this problem.
Go to the top of the page
+Quote Post
bluto
post Jan 19 2012, 00:18
Post #15





Group: Members
Posts: 28
Joined: 22-March 11
Member No.: 89188



To those who have had problems with WMP12 messing up tags - were your MP3 files "read only" or not?

Bluto
Go to the top of the page
+Quote Post
tpijag
post Jan 19 2012, 00:34
Post #16





Group: Members
Posts: 2352
Joined: 19-May 08
Member No.: 53637



I would imagine that, by definition, read-only files would not be able to be altered. wink.gif

This post has been edited by tpijag: Jan 19 2012, 00:34
Go to the top of the page
+Quote Post
Porcus
post Jan 19 2012, 11:20
Post #17





Group: Members
Posts: 1842
Joined: 30-November 06
Member No.: 38207



QUOTE (Peter @ Jan 9 2012, 22:53) *
Now I'm seriously considering switching my personal collection back to old good APE tags (that MS software doesn't recognize) or using another format than MP3 (again something that MS doesn't support).


What about storing each album as a .7z archive (which MS-Windows does not see through), and using foo_unpack_7z ? This assumes, though, that you are willing to ditch WMP and rather use foobar2000 as media player tongue.gif

(That «another format» might of course be mka – then no transcoding is needed.)


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
bluto
post Jan 20 2012, 02:00
Post #18





Group: Members
Posts: 28
Joined: 22-March 11
Member No.: 89188



QUOTE (tpijag @ Jan 19 2012, 01:34) *
I would imagine that, by definition, read-only files would not be able to be altered. wink.gif


Indeed - one would hope so, although with MS you never know what their programs are doing behind the scenes...

Assuming that WMP is well behaved and Windows doesn't let it change "read-only" files, then surely the simplest solution is to make all your MP3s read-only!

Bluto
Go to the top of the page
+Quote Post
Aleron Ives
post Jan 20 2012, 07:47
Post #19





Group: Members
Posts: 189
Joined: 22-March 10
From: California
Member No.: 79208



Whether WMP can alter read-only files depends on whether it's being run as an administrator or not. Administrators can alter read-only files on Windows in the same way that root can on *nix. Since XP and earlier Windows versions generally have you operate with administrator rights at all times, the read-only function doesn't do that much, although some programs will still respect it. Vista/7 behave the same way if the UAC is disabled, but they won't give you administrator rights all the time by default.
Go to the top of the page
+Quote Post
HamilcarBarca
post Jan 20 2012, 19:33
Post #20





Group: Members
Posts: 2
Joined: 20-January 12
Member No.: 96579



QUOTE (bluto @ Jan 19 2012, 18:00) *
QUOTE (tpijag @ Jan 19 2012, 01:34) *
I would imagine that, by definition, read-only files would not be able to be altered. wink.gif

Assuming that WMP is well behaved and Windows doesn't let it change "read-only" files, then surely the simplest solution is to make all your MP3s read-only!


It's possible that the account (whether a normal user's or Administrator) under which an application (e.g., WMP) runs has permission to alter the 'read-only' flag on a file. If has that permission, it can obviously write to the file by removing the read-only restriction.

mp3tag will change a file from read-only to read-write to alter its tags and by default it asks the user for permission to do so. If it does so, it will make the file read-only after it's been written. I consider this well-behaved.

You might have a different definition of well behaved and, in any case, I don't use WMP.
Go to the top of the page
+Quote Post
bluto
post Jan 21 2012, 08:23
Post #21





Group: Members
Posts: 28
Joined: 22-March 11
Member No.: 89188



Thank you Hamilcar and Aleron for clarifying the "read-only situation" - most useful.

I also don't use use WMP (Winamp has been my favourite player for ages - doesn't mess about changing tags/album art files behind your back, and looks nice).
I think my definition of "well behaved" is very similar to yours cool.gif

Bluto
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th September 2014 - 18:35