remap_sequence
Import an xLights sequence from another show layout and remap its effects to your models by auto-matching names, types, and pixel counts, then generate a new .xsq file.
Instructions
Import a sequence from a different show layout and remap it to your models.
Accepts a .xsq file or .zip package from the xLights community. Automatically matches imported models to your show's models using name similarity, model type, and pixel count. Generates a new .xsq with effects remapped to your layout.
Args: import_path: Path to the .xsq or .zip file to import. overrides: Optional dict mapping imported model names to your model names. These take precedence over automatic matching. pixel_threshold: Similarity threshold for pixel count matching (0.0-1.0). Default 0.70 means models must have at least 70% pixel count similarity. show_name: Which show folder to import into (e.g., "christmas", "halloween"). If omitted and multiple shows exist, returns available shows so you can ask the user which one to use.
Returns: Dict with mapping report, output path, and summary statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overrides | No | ||
| show_name | No | ||
| import_path | Yes | ||
| pixel_threshold | No |