Hope this is the right thread to post my question (if not please feel free to move this):
What I want to do: I want to edit Roon's IMPORTDATE tag by replacing the actual import date with a date way back in the past (to then manually edit newer albums) – how can I best bulk edit ca. 10,000 files?
Current situation: My initial Roon import was 2020-10-13, and the IMPORTDATE for those files is set to 2020-10-13T08:34:15Z etc. (different times during that day).
What I tried: I can read and write the UDTI "IMPORTDATE" to my album tracks, and Roon recognises the changes instantly. So I tried to find a simple solution by creating an action using Text > Replace:
Replace "2020-10-13" in named variable 'IMPORTDATE' with "2000-01-01" (Match string / all / Named variable "IMPORTDATE")
But this does not seem to work with UDTI variables (I guess a "Named variable" is not the same as a "User-defined text information"). When I execute this action on loaded tracks, the date is not changed.
I have been testing variations and looking around Yate resources for ca. 3 hours now, but I found no solution.
Can anyone help me?
Klaus
PS: I am getting increasingly fond of YATE – you have done fantastic work! The more I understand its powers the more I get excited about the possibilities it offers. You guys seem to have thought of everything! 🙂
EDIT: I was wrong – Roon seems to keep its IMPORTDATE value only in its own database, i.e. it is not written into the files, so YATE cannot read it. Instead of replacing an existing string I would therefore have to look for empty UDTI IMPORTDATE values and simply insert the whole date string "2000-01-01T12:00:00Z".
|