patch_subtitles
Apply actions like sync, translate, or extract to external subtitles. Adjust forced/HI flags, offset, framerate, and format to match media.
Instructions
Apply mods/tools on external subtitles.
PATCH /api/subtitles
Args: action: Action from ["sync", "translate", "extract" or mods name] language: Language code2 path: Subtitles file path type: Media type from ["episode", "movie"] id: Media ID (episodeId, radarrId) forced: Forced subtitles from ["True", "False"] hi: HI subtitles from ["True", "False"] original_format: Use original subtitles format from ["True", "False"] reference: Reference to use for sync from video file track number (a:0) or some subtitles file path max_offset_seconds: Maximum offset seconds to allow no_fix_framerate: Don't try to fix framerate from ["True", "False"] gss: Use Golden-Section Search from ["True", "False"] subtitles_id: Subtitles database ID (required for the "extract" action)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hi | No | ||
| id | Yes | ||
| gss | No | ||
| path | No | ||
| type | Yes | ||
| action | Yes | ||
| forced | No | ||
| language | Yes | ||
| reference | No | ||
| subtitles_id | No | ||
| original_format | No | ||
| no_fix_framerate | No | ||
| max_offset_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |