Original date field is not deleted if the tag is deleted externally. [#21759]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

Dynamic990
Posts: 96
Joined: Mon May 05, 2014 2:30 am

Original date field is not deleted if the tag is deleted externally. [#21759]

Post by Dynamic990 »

Hi everyone,

I am currently using the latest build of the MMW beta version. For some time now I have noticed that the "Original Date" field is not emptied when the corresponding tag is deleted by an external tagger (e.g. MP3Tag) and the files are rescanned into the database again.

To replicate the problem, proceed as follows:
  • There are .mp3 audio files in the database for which the "Original Date" field is filled and the corresponding tags are present.
  • Delete the tags from the .mp3 files using an external tagger. In the case of the MP3tag software, the field is called "ORIGYEAR".
  • Rescan the files in MMW.
  • Check the files in MMW. The "Original Date" field is still filled and not emptied as one would expect. MMW even writes the corresponding tags back to the music files again.
This only affects the "Original Date" field. The "Date" field does not show this behaviour. Here the content is deleted correctly if you proceed as described above.

My files are tagged in ID3v2.4 format only and the relevant frame in this case is called TDOR I think.

Unfortunately, I can't say exactly when this problem started. However, I am thinking that this was not the case in earlier versions. But I'm not sure.

Best regards
Christian
MediaMonkey Lifetime Gold Licence
MMW 2024.2.0.3166_debug on Windows 11 24H2 using Wi-Fi Sync with
MMA Pro 2.1.0.1276 on a Samsung Galaxy A55 5G (SM-A556B) running Android 15 and One UI 7.0
tmf
Posts: 51
Joined: Thu Apr 30, 2020 2:12 pm

Re: Original date field is not deleted if the tag is deleted externally.

Post by tmf »

Not sure this will help, but might if it's a mapping issue?

How to Configure which ID3 Tags are used for Year / Date in MMW: https://www.mediamonkey.com/support/kno ... year-date/

Haven't tried any of this myself, but I have had some problems with ID3 2.4 tags in the past. Went back to using only ID3 2.3 tags a long time ago. I also use the Original Date field in MMW, usually Year only though.
Lowlander
Posts: 58739
Joined: Sat Sep 06, 2003 5:53 pm

Re: Original date field is not deleted if the tag is deleted externally.

Post by Lowlander »

tmf wrote: Thu Sep 04, 2025 3:46 pm but might if it's a mapping issue
That may be the problem: https://www.mediamonkey.com/wiki/WebHel ... Properties
Dynamic990
Posts: 96
Joined: Mon May 05, 2014 2:30 am

Re: Original date field is not deleted if the tag is deleted externally.

Post by Dynamic990 »

Hi tmf, Hi Lowlander!
tmf wrote: Thu Sep 04, 2025 3:46 pm but might if it's a mapping issue
That was actually my first assumption. However, I am quiet sure that this is not the case here, as changes to the "Original Date" field (e.g. from 1983 to 1984) with my external tagger are correctly read by MMW when the music files are rescanned. Only the complete deletion of the tag with the external tagger is ignored by MMW during the rescan.
tmf wrote: Thu Sep 04, 2025 3:46 pm How to Configure which ID3 Tags are used for Year / Date in MMW: https://www.mediamonkey.com/support/kno ... year-date/
My MMW is set to use only ID3v2.4 tags and the [MP3Tagging] section in the MediaMonkey.ini file is set as follows:

Code: Select all

[MP3Tagging]
DisableFrames=TYER;TDAT;TORY
EnableFrames=TDRC;TDOR
MMW thus uses the ID3v2.4 standard-compliant TDRC frame for the "Date" and the TDOR frame for the "Original Date" data fields. You can check this by viewing the MP3 file with a HEX editor. The tagger "MP3Tag" that I use also uses these frames. The only difference is that the data fields are called "YEAR" and "ORIGYEAR" in MP3Tag.
Dynamic990 wrote: Tue Sep 02, 2025 3:34 pm but I have had some problems with ID3 2.4 tags in the past
With the above settings, I have never had any problems reading and writing ID3v2.4 tags in MMW or MP3Tag, except for the case mentioned here. All other programmes or apps that I use with my MP3 files can also handle ID3v2.4 tags without any problems.
tmf wrote: Thu Sep 04, 2025 3:46 pm I also use the Original Date field in MMW, usually Year only though.
Same here.

Best regards
Christian
MediaMonkey Lifetime Gold Licence
MMW 2024.2.0.3166_debug on Windows 11 24H2 using Wi-Fi Sync with
MMA Pro 2.1.0.1276 on a Samsung Galaxy A55 5G (SM-A556B) running Android 15 and One UI 7.0
Lowlander
Posts: 58739
Joined: Sat Sep 06, 2003 5:53 pm

Re: Original date field is not deleted if the tag is deleted externally.

Post by Lowlander »

That's about writing though. Changes can be seen as MediaMonkey reads multiple tags with priority. So if the priority tag is changed it's used, this doesn't mean that no other Original Date tags are present in the file.
Dynamic990
Posts: 96
Joined: Mon May 05, 2014 2:30 am

Re: Original date field is not deleted if the tag is deleted externally.

Post by Dynamic990 »

Hi Lowlander,
Lowlander wrote: Thu Sep 04, 2025 9:42 pm Changes can be seen as MediaMonkey reads multiple tags with priority. So if the priority tag is changed it's used, this doesn't mean that no other Original Date tags are present in the file.
And which tags would those be? As you can see from my last post, I have configured MMW to only use the two date frames TDRC and TDOR and ignore all others.

But fair enough, I did the following test:

First I have removed every date field that I could find from an album. When rescanning, the "Original Date" field remains filled. Then I even deleted all tags from that album. After a rescan, all data fields in the MMW database for this album were empty, only the "Original Date" field in remained filled. So in my humble opinion, MMW is clearly the culprit here.

And if you don't believe me, I can provide you with a sample file from the above tests via a support ticket where you can see that there are no tags left.

Best regards
Christian
MediaMonkey Lifetime Gold Licence
MMW 2024.2.0.3166_debug on Windows 11 24H2 using Wi-Fi Sync with
MMA Pro 2.1.0.1276 on a Samsung Galaxy A55 5G (SM-A556B) running Android 15 and One UI 7.0
Dynamic990
Posts: 96
Joined: Mon May 05, 2014 2:30 am

Re: Original date field is not deleted if the tag is deleted externally.

Post by Dynamic990 »

Hi Lowlander,
Dynamic990 wrote: Thu Sep 04, 2025 11:01 pm I can provide you with a sample file from the above tests via a support ticket where you can see that there are no tags left.
You can find the file mentioned in ticket #13690.

Best regards
Christian
MediaMonkey Lifetime Gold Licence
MMW 2024.2.0.3166_debug on Windows 11 24H2 using Wi-Fi Sync with
MMA Pro 2.1.0.1276 on a Samsung Galaxy A55 5G (SM-A556B) running Android 15 and One UI 7.0
Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: Original date field is not deleted if the tag is deleted externally. [#21759]

Post by Ludek »

The issue is that for MP3 the 'Original date' is written as both
ID3FID_ORIGRELEASETIME
ID3FID_ORIGYEAR

And if the ID3FID_ORIGYEAR is removed in the MP3Tag then ID3FID_ORIGRELEASETIME still remains to read the value from..

So there is no issue, user needs to remove both ID3FID_ORIGRELEASETIME and ID3FID_ORIGYEAR to get it fully cleared..
Dynamic990
Posts: 96
Joined: Mon May 05, 2014 2:30 am

Re: Original date field is not deleted if the tag is deleted externally. [#21759]

Post by Dynamic990 »

Hi Ludek,
Ludek wrote: Tue Sep 09, 2025 6:50 am So there is no issue.
Unfortunately, I have to disagree here. As I described in post #6, the Original Date information remains intact in the MMW database even if I remove all tags completely from the MP3 file, including the tag you mentioned for the ORIGRELEASETIME, and do a rescan of the file without any tags. You can also see in the sample file I provided via ticket #13690, that there are no tags left.

Just in case this is relevant and you missed it in post #4, I configured my MediaMonkey.ini as follows:

Code: Select all

[MP3Tagging]
DisableFrames=TYER;TDAT;TORY
EnableFrames=TDRC;TDOR
Best regards
Christian
MediaMonkey Lifetime Gold Licence
MMW 2024.2.0.3166_debug on Windows 11 24H2 using Wi-Fi Sync with
MMA Pro 2.1.0.1276 on a Samsung Galaxy A55 5G (SM-A556B) running Android 15 and One UI 7.0
MiPi
Posts: 905
Joined: Tue Aug 18, 2009 2:56 pm
Location: Czech Republic
Contact:

Re: Original date field is not deleted if the tag is deleted externally. [#21759]

Post by MiPi »

Hi, you are right, there was bug in this, should be fixed in all next builds.
Dynamic990
Posts: 96
Joined: Mon May 05, 2014 2:30 am

Re: Original date field is not deleted if the tag is deleted externally. [#21759]

Post by Dynamic990 »

Hi MiPi,

ok thanks for the update.

Best regards
Christian
MediaMonkey Lifetime Gold Licence
MMW 2024.2.0.3166_debug on Windows 11 24H2 using Wi-Fi Sync with
MMA Pro 2.1.0.1276 on a Samsung Galaxy A55 5G (SM-A556B) running Android 15 and One UI 7.0
Post Reply