Set asset weight
set_asset_weightChange how often a video plays (weight 0-10, default 5; 0 removes it from rotation entirely), and optionally its title or tags. IMPORTANT ORDERING: weights only affect what actually airs when the schedule is (re)generated. A channel builds its schedule the instant it crosses the launch threshold, so weights set AFTER that are stored but do not air. Either set the weight when you import each video, or call regenerate_schedule afterwards. Weights are relative: identical weights across every video produce a uniform rotation, and the spread between them is what shapes airtime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag videos seqXX01, seqXX02 … (XX = any two letters) to force them to play in order as a mini-series. | |
| title | No | ||
| weight | No | ||
| asset_id | Yes |