Page 1 of 1

Possible to SetName on a subtitle via Python?

PostPosted: Sun Dec 27, 2020 10:54 pm
by robstenson
I'm working on some Python code to read and modify subtitles in a Resolve timeline, and while the GetName seems to work well on subtitle objects, there is no SetName equivalent implemented. Is there any other way to set the programmatically set a subtitle's text/name (or "Caption" as it's called in the Inspector). As far as I can tell there aren't any associated objects (comps / media pool items) available for subtitle objects, but I'm hoping there might be some other way to set the text?

Re: Possible to SetName on a subtitle via Python?

PostPosted: Mon Dec 28, 2020 5:33 am
by iddos-l
As far as I know (v16) there is no way to change subtitles properties with scripting.
You can modify the source srt file with python.


Sent from my iPhone using Tapatalk