playlist_set_track
Set a Playlist track's name, color, mute, solo, or selection state in one call; only changed fields are written and verified (write mode required).
Instructions
Rename, recolor, mute, solo, or select one Playlist track in one call.
Set only the fields to change. Requires write mode. Name and color are written first, then mute/solo/selection, each read back on a later tick with its own receipt; verified is true only when both verified. Playlist clips cannot be created or moved through FL's scripting API. Does not save the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Absolute track name. | |
| color | No | Absolute unsigned FL color word. | |
| muted | No | Absolute mute state. | |
| soloed | No | Absolute solo state. | |
| selected | No | Absolute selection state; FL's toggle is sent at most once. | |
| track_index | Yes | One-based Playlist track index. | |
| expected_before | No | Optional current values from playlist_list_tracks for the fields this call changes; refuse if any changed. | |
| stop_on_unverified | No | Skip the remaining writes after the first write whose readback did not verify. An unknown outcome always stops the sequence. | |
| session_fingerprint | No | Optional session_fingerprint from a recent read. The call refuses after a bridge reload or a reported project load. This is a concurrency guard, not authentication or a durable project identity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| verified | Yes | ||
| warnings | No | ||
| completed | Yes | ||
| applied_at | Yes | ||
| track_index | Yes | ||
| project_saved | No | ||
| skipped_count | Yes | ||
| skipped_steps | No | ||
| schema_version | No | 1.0 | |
| stopped_reason | No | ||
| attempted_count | Yes | ||
| requested_count | Yes | ||
| rollback_attempted | No | ||
| stop_on_unverified | Yes | ||
| session_fingerprint | Yes | ||
| automatic_replay_attempted | No | ||
| one_session_preflight_completed | No |