Welcome Guest

Pages: 1
Not all fields available in Rename Template
bigshumPostSeptember 11, 2024, 16:37
Newbie
Posts: 7
Registered:
July 23, 2015, 17:41
Normal topicNot all fields available in Rename Template

Hello all, revisiting how I handle folder names and dates for original/reissue dates.

I'm aware of the differences between Year, Original Release Time and Release Time.

I use a rename template for my folders, and am wanting to add in the 'Release Time' if it exists for a file - but I cannot find it in the list as one of the fields I am able to use.

Within the rename action, before the template is called, I have also attempted to copy the 'Release Time' field to a named variable (in my case Variable 15) but hitting the preview button shows empty values.

Is this field not available at all at the rename template level? Or does the preview button for rename template not take into account any variable copying that may happen in prior steps during an action?

Any advice is welcome! Thanks in advance 🙂

p.s. - what is the 'Year4' field that is available for use? It appears to output the same value as 'Year'

p.p.s - realised a screenshot of what I am trying to do might help!

Image

2MR2PostSeptember 11, 2024, 17:01
Avatar photo
Administrator
Posts: 2149
Registered:
August 23, 2012, 19:27
Normal topicNot all fields available in Rename Template

Release Time, as you've found is not available (currently) in a rename template.

You can do it by using a track (not custom) variable, for example Variable 15 in your action. However, preview will not work as intended as the track variable is only read at runtime. It will work in a track variable if you access Variable 15 in the template. Basically, the template should work while the preview will not.

Replace your screenshot circled text with:

❨IfExists Variable 15❩
    ❨Variable 15❩
❨endIf❩

The Year field can be configured to not automatically crop the year to 4 digits. (Settings - File List - Format the Year field). The Year4 token will always truncate a Year field which contains more than 4 digits down to 4 digits.

eg. Year field = 2024-08-11

The Year token will insert: 2024-08-11
The Year4 token will insert: 2024

bigshumPostSeptember 11, 2024, 17:34
Newbie
Posts: 7
Registered:
July 23, 2015, 17:41
Normal topicNot all fields available in Rename Template

Thanks for the swift response - I wondered as such with regards to runtime and preview thank you for confirming, and also the explanation of the Year4 field.

2MR2PostSeptember 11, 2024, 23:08
Avatar photo
Administrator
Posts: 2149
Registered:
August 23, 2012, 19:27
Normal topicNot all fields available in Rename Template

I've Added Release Time and Original Filename/Title as tokens in the next release.

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