I need the ability to get the current playhead position for a source clip.
The reason why I need this is because I have external logs which I would like to push into clip markers.
But the external logs have a timecode-offset (logs-TC has an offset to clip-TC).
Envisioned workflow:
- Premiere PRO editor open extension pane and selects one log
- Then shuttles to the position in the clip which belongs to the log
- Then goes back to the extension pane, clicks a sync button
- Result: extension panel recalculates the TCs and imports the logs as markers
All I found is this for sequences:
getCurrentPos
Returns the position of the current time indicator (the position bar set by the user). If (-1) is returned, the position bar in the timeline is not present.
csSDK_int32 getCurrentPos(PrTimelineID timelineData);
timelineData - the timelineData of the current sequence
Thank you,
Petra