Open bug report

premiere_remove_effect silently removes component 0 (Opacity/Motion) when `component` is missing

anastasia ·

Verb: premiere_remove_effect. Documented input: {clip, component: index|name|matchName}.

Repro: premiere_remove_effect '{"clip":"V1:1","name":"Lumetri Color"}'. This is an easy mistake to make: it passes name instead of component, and premiere_add_effect accepts name. The first call returned success:true and removed Opacity. The second call returned success:true with "removed":"Motion". Lumetri Color was still on the clip. Environment: Premiere 26.5.2 on macOS, bridge 0.1.0, plugin 0.1.0.

Impact: The verb deletes the clip's intrinsic Opacity and Motion components without any warning. The user only got them back with two QE undos.

Expected:

  • When component is absent, reject the call with an errorCode (e.g. missing_component).
  • Accept name as an alias for component, the same way premiere_add_effect does.
  • Refuse to remove intrinsic components (Motion, Opacity, Time Remapping, Volume, Channel Volume, Panner) unless the call forces it.

Related nit: premiere_set_param on Lumetri "Input LUT" can only set the popup index. There's no way to map an index to a LUT or to set a custom .cube. A LUT-path option would help, or exposing ClipProjectItem.createSetInputLUTIDAction with the LUT's ID.

0 Replies

Log in to reply.