View Issue Details

IDProjectCategoryView StatusLast Update
0013486MMW v4Framework: Taggingpublic2016-09-13 21:47
Reportermichal Assigned To 
PriorityimmediateSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.1.13 
Target Version4.1.14Fixed in Version4.1.14 
Summary0013486: Alternating editing of M4A/ALAC tags in MM and Tag&Rename application can cause file damage
DescriptionWhen using M4A/ALAC files from issue 0013484 and related user ticket I have found out, that alternate editing of tags in MediaMonkey and Tag&Rename 3.9.8 causes file damage. We should make sure, that MM writes really standard tag here and try to avoid file damage as much as possible.

More info at:
http://atomicparsley.sourceforge.net/mpeg-4files.html
https://sourceforge.net/u/geyan123d/freepiano/ci/c82a65fdaaf19b528ce2eb4801c16b2aed3aceb1/tree/3rd/mp4v2/mp4meta.cpp
Steps To Reproduce1) edited comment in Tag&Rename 3.9.8 (added some chars) - result: file seems to be ok
2) edited comment in MM4 (added some chars) - result: file seems to be ok
3) edited comment in Tag&Rename 3.9.8 (removed chars from 2)) - result: file is not playable in MM4, file has wrong format (size of some atoms in the file header is not correct).
4) edited comment in MM4 (removed chars from 1)) - result: the file is damaged, audiodata are lost. We should avoid this, if possible.
Additional InformationCPK-872-11393
TagsNo tags attached.
Fixed in build1809

Relationships

related to 0013484 closedmichal Some ALAC files are not playable from version 4.1.13 
related to 0013513 closedpeke MM sometimes do not read track and disc number tags udpated by other tagging apps from M4A/MP4 

Activities

michal

2016-08-31 13:03

developer   ~0045527

The main problem is really in Tag&Rename 3.9.8, at least with atom moov.udta.meta.ilst.disk.data. MediaMonkey stores it as 24 bytes and correctly writes this size, but Tag&Rename ignores stored size of this atom and behaves like it would have 22 bytes. This shifts all data by 2 bytes and after writing tags by T&R the file is not in consistent state.

I will try to better detect this kind of corruption, so MediaMonkey will refuse tag editing of such files, instead of making more damage (4).

michal

2016-08-31 16:35

developer   ~0045531

Our part (4) fixed in build 1807. It will not save tags to files in case it detects such serious problems in the file.

peke

2016-09-02 12:55

developer   ~0045548

Verified 1807

peke

2016-09-07 00:31

developer   ~0045596

Last edited: 2016-09-07 00:37

Reopen I have found few strange tagging issues and MMW refresh behavior.

NOTE: original issue is fixed, but I maybe have found why all that is happening.

michal

2016-09-09 07:53

developer   ~0045624

Mentioned tagging issue tracked as 0013513

michal

2016-09-13 14:31

developer   ~0045638

Changed disk.data atom, so MM now writes it as 22B atom too (i.e. 6B of payload), it seems, iTunes and other tagging apps decided to write it this way (but trkn.data with track number still has 8B payload, no idea why).
Resolving, it should be all ok now.

peke

2016-09-13 14:31

developer   ~0045639

Mentioned and inconstancy of MMW showing the tags for M4A were manifisistation of 0013513 issue. Resolving

peke

2016-09-13 14:32

developer   ~0045640

Last edited: 2016-09-13 21:46

Verified 1809