Expand description
Tdarr - Tdarr trigger
Processes JSON notifications with path, original_path, and/or dir.
Also accepts ?path= (with an optional hash) or ?dir= query parameters.
§Example
triggers:
my_tdarr:
type: tdarror
triggers:
my_tdarr:
type: tdarr
rewrite:
from: "^/tdarr-media"
to: "/media"
timer:
wait: 30
excludes: [ "ignored_target" ]§Flows (recommended)
After Replace Original File, add a Send Web Request node:
- Method:
post - URL:
http://<autopulse-host>:2875/triggers/my_tdarr - Headers:
Content-Type: application/json,Authorization: Basic <base64 user:pass>using autopulse’s auth credentials.
Body:
{"path": "{{{args.inputFileObj._id}}}", "original_path": "{{{args.originalLibraryFile._id}}}"}Set Output 2 Status Codes (e.g. 400-599) and Output 2 On Network Error,
and route that output so notification failures do not fail the transcode job.
Prefer the body over query templating: Tdarr does not URL-encode template values.
Paths containing " or Windows backslashes still need proper JSON escaping.
§Classic plugin: Trigger Plex_Autoscan (TD01)
TD01 always calls /triggers/manual?dir=<parent dir>/. Replace the default manual
trigger with:
triggers:
manual:
type: tdarrSet the plugin’s address/port to autopulse (default 2875) and username/password
to autopulse’s auth credentials; its defaults Batman / SecretPassword are sent
unless changed.
If autopulse also has a Tdarr target, set excludes: [<your tdarr target>] using
its configured target name to prevent re-queue loops.
See Tdarr for all options and TdarrRequest for the JSON body
Structs§
- Tdarr
- Tdarr
Request - JSON body:
path(new file),original_path(replaced original, queued without an existence check unless equal topath),dir. Values are preserved exactly; blank or whitespace-only values are ignored. At least one path is required.