There are indeed undocumented parameters for various special purposes or features that are no longer maintained. Documenting them would just be confusing and likely lead you down the wrong path.
However, if you do have a specific use case in mind for which the
amc script would need some additional information from the torrent app, then that would be a different topic altogether.
As for "hooks", there are no hooks. There is a
{tags} binding though, which is unrelated to the CLI or any
--def ut_* parameters.
{tags} exists to replace commonly used
fn.match(/.../) expressions. Any kind of back-and-forth communication between
amc script and torrent app is however not planned for the sake of simplicity.
It is possible to reference the
--def name=value pairs within your format:
Code: Select all
filebot -rename Alias.1x01.mp4 -non-strict --action TEST --log INFO --format "{plex.name} [{defines.mytags}]" --def mytags="jprokos"
[TEST] from [Alias.1x01.mp4] to [Alias - S01E01 - Truth Be Told [jprokos].mp4]
But most users will find it more straight-forward to just dynamically generate the format, rather than having extra logic passing along arguments and values:
Code: Select all
filebot -rename Alias.1x01.mp4 -non-strict --action TEST --log INFO --format "{plex.name} [$MY_TAGS]"
[TEST] from [Alias.1x01.mp4] to [Alias - S01E01 - Truth Be Told [jprokos].mp4]

Advanced users with special requirements would usually take this one step further just have have their torrent app call their custom glue logic script first, passing along information via necessary, and then decide in that glue logic script what do. Maybe call filebot this way. Maybe call filebot that way. Maybe call a different tool altogether depending on the situation.