Thu Dec 24, 2020 7:23 am
(Beta 6, Build 18, MacOS 10.15.7)
In the LUA API, calling SetClipProperty on MediaPoolItems of type 'Timeline' (as opposed to 'Video & Audio') fails silently (returns true, but doesn't affect the timeline).
Context: I'm trying to create a timeline from a source video, then set the starting timecode of that timeline to match the starting timecode of the original video. I can call GetClipProperty("Start TC") on the MediaPoolItem which is the timeline and get its current value, but calling SetClipProperty("Start TC", <whatever>) has no effect (calling SetClipProperty on the original video MediaPoolItem does correctly change its value).
The Timeline object which is the timeline does not show any key for starting timecode value available in the list from GetSetting(), so I would assume that should be set by calling SetClipProperty on the MediaPoolItem. If that's correct, it would also be useful to be able to directly determine the corresponding MediaPoolItem object from a Timeline object.