Track lock/unlock for AudioTrack and VideoTrack

I’m porting a CEP extension (Focus Tracks) to UXP. It lets editors tag tracks by role (dialogue, SFX, music, A-roll, B-roll, GFX) and then lock or mute a whole group in one click, so they can, say, cut music without nudging the interview.

What ports today: mute works in UXP (setMute() / isMuted() on AudioTrack and VideoTrack), and so do track id, track items and project metadata. Thanks for those.

What’s missing: there’s no way to read or set a track’s lock state. The Track classes only have EVENT_TRACK_LOCK_CHANGED. In CEP I use the unsupported Track.setLocked(0|1) / isLocked() on the regular Track object.

Request: isLocked() and an action to set it (for example createSetLockedAction(locked: boolean)) on AudioTrack and VideoTrack, so it’s undoable like the other UXP edits.

This is the only thing blocking a full UXP port of the extension.

Feature request for votes: https://community.adobe.com/feature-requests-730/premiere-api-expose-track-lock-unlock-in-uxp-1645303

1 Like

Like the rest of the QE DOM, track locking was not considered as part of our initial parity work.

However…

We’ve heard from many developers that locking is important, so we’re prioritizing it, and tracking the work as DVAPR-4264722.

Also, no need for the feature requests; happily, my team and I count the votes, and so have already prioritized the work. :wink:

1 Like