manage_codec_exclusion
Add, remove, or toggle a video or audio codec in a Tdarr library’s basic transcoding include/exclude list, so you can control which codecs are processed without editing plugin settings.
Instructions
Add, remove or toggle a codec in a library's basic transcoding include/exclude list. Applies to the basic (non-plugin) video or audio transcode settings of the library.
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": {
"library_id": "<library_id>",
"stream": "<stream>",
"codec": "<codec>",
"action": "<action>"
},
"name": "manage_codec_exclusion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codec | Yes | Codec name, e.g. 'hevc', 'h264', 'aac' | |
| action | Yes | add puts the codec in the list, remove takes it out, update toggles it | |
| status | No | Enabled state, required for action 'update' | |
| stream | Yes | Which codec list to change | |
| library_id | Yes | Library ID (dbID), from list_libraries |