diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index e8abc75..e72269a 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -49,6 +49,10 @@ Radarr can execute a custom script when new movies are imported or renamed, depe | Movie_TvdbId | TVDB ID for the movie | ### Specific usage tips ### +#### LINUX / UNIX Scripts #### + +Remember to always add a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) and make your scripts executable with [chmod](https://en.wikipedia.org/wiki/Chmod). + #### PHP #### The information from Radarr will not be added to $_ENV as one might expect but should be included in the [$_SERVER variable](https://secure.php.net/manual/en/reserved.variables.server.php). A sample script to use this information to convert a file can be found [here](https://gist.github.com/karbowiak/7fb38d346e368edc9d1a). #### PowerShell ####