diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index ed45498..39e150b 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -73,8 +73,20 @@ Sonarr can execute a custom script when an episode is newly imported or renamed | sonarr_series_path | Full path to the series | | sonarr_series_tvdbid | TVDB ID for the series | +##### On Test ##### + +When adding the script to Sonarr and run 'Test' the script will be invoked with the following parameters. +The script should be able to gracefully ignore any other eventtype + +| Environment Variable | Details | +|---|---| +| sonarr_eventtype | Test | + + ### Arguments ### +_(Warning: Adding arguments is no longer supported in Sonarr v3, point to the script directly.)_ + Additional command line line arguments that are passed to your script, such as running your script through cmd.exe you would set the path to `cmd.exe` and the arguments to `/c C:\Path\to\script.bat`. ### Specific usage tips ###