We're building button-click time logging into a custom web interface and a couple of apps (Nuke & Silhouette) and I realized that the current Shotgun API doesn't handle time but instead duration for the time logs. How are others solving this? Are you creating custom entities for start and stop time, then using Python to calculate the difference and then filling in the duration in the existing time log? If so, what are you putting those custom entities against? I'm thinking I could create new entities for the time log itself and make the duration zero until I have both start and stop times filled in. Has anyone figured out a way to get Shotgun to do the calculations instead of external scripts, maybe using timecode fields? How do you handle it if someone skips the start or stop step? I believe editing logs is verbotten for artists in Shotgun.
How are people handling time log scripting?