Closed doctor-yes closed 1 year ago
I have the same issue. When i'm trying to set marker.end = time_from_seconds(10)
i'm getting this error:
Error at line 2 : Illegal Parameter type
1 try{
2 var tmp = $._pymiere['mYa84YjxH7'].end = $._pymiere['77fAGmXekr'];
3 if(typeof tmp === 'object' && tmp !== null){
Hope there is a fix for that, thanks !
Hi @doctor-yes & @Jorand , Thank you for reporting this issue. It's a little quirk of Premiere's API: it works with Time objects for most of the methods but the markers use seconds as float instead... I fixed the code to reflect this specificity (1d992559661c29a008528c6b006d3a398ca07fff) and it is now available in the latest pymiere release 1.4.0 via pip Again thank you for participating in making pymiere better!
according to this https://ppro-scripting.docsforadobe.dev/general/marker.html#marker-start, marker start and end support read/write? However my attempt to set start and end after marker creation never works. What is the proper way to do so? Thanks