From 1ad9c3425f8beee1a5974e9b9233013eca451d59 Mon Sep 17 00:00:00 2001 From: Taloth Date: Sun, 7 Jul 2019 12:02:29 +0200 Subject: [PATCH] Updated Custom Post Processing Scripts (markdown) --- Custom-Post-Processing-Scripts.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 ###