1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 15:56:58 +00:00

Updated Custom Post Processing Scripts (markdown)

Taloth 2019-07-07 12:02:29 +02:00
parent 113a9ec0a6
commit 1ad9c3425f

@ -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_path | Full path to the series |
| sonarr_series_tvdbid | TVDB ID for 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 ### ### 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`. 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 ### ### Specific usage tips ###