Photo Mechanic > General Discussion
Code replacement - changing variables at different times of day
gbaker49:
I don't know if this is possible or not with the new Hot codes in the current version of PM
I use a complex set of code replacements for motorsports pretty much every weekend.
There are different classes of cars (with numbers) on the track during the course of the day.
Different classes of cars can use the same number (Car #18 in the Xfinity Series is a different sponsor, driver, model then the #18 Monster Energy Cup car)
Is there a way for PM to look at the time stamp that the photo was taken and based on that input the correct replacement.
For example if I use the replacement \18\ is there a way for PM to decide that since the time stamp of the camera was 10:34.56 and the Xfinity series was practicing from 10:00 - 11:00 then the code replacement it would choose would be: 18 #18: Jack Hawksworth, Joe Gibbs Racing, Toyota Supra iK9
and if the time stamp of the camera was 13:32.54 then it would choose: 18 #18: Kyle Buschh, Joe Gibbs Racing, Toyota Camry M&M
Just curious, I though maybe the Hot Codes would be an answer but they are still a bit confusing to me.
Thanks for any advice or help,
Gavin
Kirk Baker:
Gavin,
--- Quote from: gbaker49 on September 05, 2019, 08:05:22 AM ---I don't know if this is possible or not with the new Hot codes in the current version of PM
I use a complex set of code replacements for motorsports pretty much every weekend.
There are different classes of cars (with numbers) on the track during the course of the day.
Different classes of cars can use the same number (Car #18 in the Xfinity Series is a different sponsor, driver, model then the #18 Monster Energy Cup car)
Is there a way for PM to look at the time stamp that the photo was taken and based on that input the correct replacement.
For example if I use the replacement \18\ is there a way for PM to decide that since the time stamp of the camera was 10:34.56 and the Xfinity series was practicing from 10:00 - 11:00 then the code replacement it would choose would be: 18 #18: Jack Hawksworth, Joe Gibbs Racing, Toyota Supra iK9
and if the time stamp of the camera was 13:32.54 then it would choose: 18 #18: Kyle Buschh, Joe Gibbs Racing, Toyota Camry M&M
--- End quote ---
Why not just have codes for the specific series?
X18 ->#18: Jack Hawksworth, Joe Gibbs Racing, Toyota Supra iK9
M18 -> #18: Kyle Buschh, Joe Gibbs Racing, Toyota Camry M&M
Just one letter difference that should be simple enough to recall when you're going through the images should suffice?
-Kirk
gbaker49:
That's what I currently do :) sometimes with 6 or so classes the prefix gets forgotten by different photographers and they use the incorrect one. I'm trying to come up with a way to "stupid proof" it. :)
Mick O (Camera Bits):
It sure is possible if you combine with the {h24} variable
{h24} expands to the hour in the timestamp (padded with a 0 if needed)
You could set up a code replacement file that looked like
18-10 #18: Jack Hawksworth, Joe Gibbs Racing, Toyota Supra iK9
18-13 #18: Kyle Buschh, Joe Gibbs Racing, Toyota Camry M&M
And then use the replacement \18-{h24}\ Anything from 10:00 - 10:59 would get Jack and between 13:00 - 13:59 would get Kyle. You may want to make sure other hours are covered just in case, but it can be done. And, you'll have to trust the track to keep to a very strict schedule.
Another option to consider is if your camera(s) support recording to different folders. You can work the folder into the code replacement as well (slightly more involved though, but more resistant to changes in schedule)
Hope this helps
Mick
gbaker49:
That is an excellent idea! I even like the folder idea since we all know the client's schedules change as often as the wind. Thanks for sharing your idea.
Navigation
[0] Message Index
[#] Next page
Go to full version