docs: improve documentation for sync command in readme file

This commit is contained in:
Emmanuel BENOîT 2025-04-11 12:11:49 +02:00
parent 2bf86a983d
commit 99fdc87288
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -39,15 +39,15 @@ MAP <text_source> <text_start> <time_start> <count>
- `<count>`: The number of subtitles to map.
### SYNC
Synchronizes subtitles between files.
Aligns a subtitle text found only in one SRT file based on the time delta between that text and the previous entry. The entry used as the "time source" in the other stream must correspond to the previous entry in the text stream.
**Syntax:**
```
SYNC <text_source> <text_index> <time_index>
```
- `<text_source>`: The source SRT file for text, specified as `1` or `2`.
- `<text_index>`: The index of the text to synchronize.
- `<time_index>`: The index of the time to synchronize.
- `<text_index>`: The index of the text to align.
- `<time_index>`: The index of the time entry in the other SRT file that corresponds to the previous entry in the text stream.
### PUT
Puts a specific text at a given index.