Welcome Guest

Pages: 1
Year Imported as Full Date Even When Not "Enforced"
arandorPostJune 1, 2022, 20:35
Newbie
Posts: 4
Registered:
June 2, 2022, 00:26
Normal topicYear Imported as Full Date Even When Not "Enforced"

Yate is still importing the full datE (YYY-MM-DD) into the `Year` field even after I adjusted the appropriate setting.

I went to `Preferences > File List` and unchecked `Do not enforce formatting of the year field`. Then I restarted Yate. I opened some tracks and ran the MusicBrainz Wizard. When it imports the year, it is importing the full date.

I thought it may have just looked that way in Yate, but I verified it by opening the tracks in a different ID3 editor.

How can I keep it from importing the full date and instead, only import the year (YYYY)?

Thanks

2MR2PostJune 1, 2022, 21:08
Administrator
Posts: 1799
Registered:
August 23, 2012, 19:27
Normal topicYear Imported as Full Date Even When Not "Enforced"

Yate always preserved the full content of the Year field as it does all fields. The preference setting only affects how the field is displayed. The setting was first introduced to replicate the iTunes display of the Year field...but even MPEG-4 files can in fact contain entire years.

If you want the Year field to be cropped to YYYY it can be done in an action (which you can run whenever you save a file). The one line action would be:

Set the Year field to "\y4"

Note the backslash character before y4. Once you save the action you can enter it in Preferences - Actions - Auto-run on Save. This action will only be run whenever a file is saved in the UI.

The reason I changed the default on the preference settings was that I've had so many people ask why Year was only displaying four digits that I got tired of explaining why 🙂

If you'd like I can put in a setting to always truncate the Year field when saving. This could be done in the next release. Let me know.

arandorPostJune 2, 2022, 17:21
Newbie
Posts: 4
Registered:
June 2, 2022, 00:26
Normal topicYear Imported as Full Date Even When Not "Enforced"

Thanks for the information. I personally would prefer that there be a global setting to always treat the year as YYYY. So, yes I would be happy with any updates that could make it operate closer to that ideal.

Thanks!

2MR2PostJune 2, 2022, 19:10
Administrator
Posts: 1799
Registered:
August 23, 2012, 19:27
Normal topicYear Imported as Full Date Even When Not "Enforced"

In v6.10.2 coming next week.

arandorPostJune 2, 2022, 19:49
Newbie
Posts: 4
Registered:
June 2, 2022, 00:26
Normal topicYear Imported as Full Date Even When Not "Enforced"

🙂 🙂 🙂

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.057 seconds.