Patch subtitles mod
bazarr_patch_subtitles_modApply a named mod to external subtitles in Bazarr, such as synchronization or extraction, so you can adjust subtitle timing and formatting for a movie or episode.
Instructions
Apply a named mod to external subtitles
PATCH /api/subtitles
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mod": "<mod>",
"language": "<language>",
"type": "<type>",
"id": "<id>"
},
"name": "bazarr_patch_subtitles_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hi | No | HI subtitles from ["True", "False"] | |
| id | Yes | Media ID (episodeId, radarrId) | |
| gss | No | Use Golden-Section Search from ["True", "False"] | |
| mod | Yes | Name of the subtitle mod to apply | |
| path | No | Subtitles file path | |
| type | Yes | Media type from ["episode", "movie"] | |
| forced | No | Forced subtitles from ["True", "False"] | |
| language | Yes | Language code2 | |
| reference | No | Reference to use for sync from video file track number (a:0) or some subtitles file path | |
| subtitles_id | No | Subtitles database ID (required for the "extract" action) | |
| original_format | No | Use original subtitles format from ["True", "False"] | |
| no_fix_framerate | No | Don't try to fix framerate from ["True", "False"] | |
| quality_min_score | No | Minimum quality score for sync (0.0-1.0) | |
| max_offset_seconds | No | Maximum offset seconds to allow | |
| quality_max_offset_seconds | No | Maximum offset in seconds for quality checks | |
| quality_max_framerate_deviation | No | Maximum framerate deviation (0.0-1.0) |