Workflow Integration: replace a timelineItem's mediapoolItem
Posted: Thu Dec 29, 2022 1:36 pm
I have a timelineItem that points to a certain mediaPoolItem, for example:
I would like to change the mediaPoolItem pointed by the timelineItem with another one, say timelineItem.SetMediaPoolItem(...), but apparently there's no way to do it via API. Am I missing something? If not, is there a plan to add such function in the future?
- Code: Select all
...
const timelineItem = currentTimeline.GetItemListInTrack('audio', 1)[0]
const mediaPoolItem = timelineItem.GetMediaPoolItem()
I would like to change the mediaPoolItem pointed by the timelineItem with another one, say timelineItem.SetMediaPoolItem(...), but apparently there's no way to do it via API. Am I missing something? If not, is there a plan to add such function in the future?