Skip to main content

Module sync_command

Module sync_command 

Source
Expand description

Refactored sync command supporting new multi-method sync engine.

This module provides the synchronization command functionality, supporting multiple synchronization methods including local VAD (Voice Activity Detection), automatic method selection, and manual offset adjustment.

Structs§

SyncInput
One entry in SyncPayload::inputs — describes the analysis stage for a single subtitle file.
SyncItemError
Stable per-item error payload (mirrors the top-level error envelope minus exit_code).
SyncOperation
One entry in SyncPayload::operations — describes a planned or applied write to disk.
SyncPayload
JSON payload emitted under data of the top-level envelope by subx-cli --output json sync.
VadInfoPayload
VAD-specific metadata included in SyncInput::vad.

Functions§

execute
Execute the sync command with the provided arguments.
execute_with_config
Maintain consistency with other commands