Patch subtitles extract
bazarr_patch_subtitles_extractExtract embedded subtitle tracks from video files by media ID and language through Bazarr. Use it to pull subtitles from episodes or movies for syncing, editing, or reuse.
Instructions
Extract embedded 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": {
"language": "<language>",
"type": "<type>",
"id": "<id>"
},
"name": "bazarr_patch_subtitles_extract"
}
}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"] | |
| 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) |