Skip to content

Commands

track.move

Changes the place of a track in the track order.

Last updated:

Moves a track to the top or the bottom, or directly above or below another track. Items are untouched.

Arguments#

ArgumentTypeRequiredDescription
abovestringno
belowstringno
positiontop, bottomno
track_idstringyes

Example#

As one operation of an edit batch (the edit tool of MCP, vukem-video edit --ops, or POST /api/v1/projects/{id}/edit):

JSON
{
  "op": "track.move",
  "args": {
    "below": "trk_a1b2c3d4e5",
    "track_id": "trk_m1n2p3q4r5"
  }
}

Errors#

E_VALIDATION, E_NOT_FOUND, E_INVALID_STATE

Scope and phase#

Scope edit, phase prototype. Run vukem-video command:help track.move for the same description from the binary.