diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index 404d098..7b0656f 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -56,8 +56,8 @@ Sample script using the Radarr environment variables to create EDL files for all Sample script to have Plex scan destination folder only (not the entire library) ``` -# This script will add the movie to plex and scan the destination folder (it will not scan the entire library) -# C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe\PowerShell.exe -ExecutionPolicy Bypass "C:\Users\Down\Desktop\Server\radarrcustom.ps1" +# Custom Script path: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe\PowerShell.exe +# Custom Script arguments: -ExecutionPolicy Bypass "C:\Users\Down\Desktop\Server\radarrcustom.ps1" Set-ExecutionPolicy Unrestricted $moviefile_path = $env:radarr_movie_path @@ -68,7 +68,7 @@ $moviefile_path = Split-path -path $moviefile_path $libraryid = 0 #If you have multiple root folders and library IDs you can set them like so -If ($movie_path -like '*Movies Release\*' ) { $libraryid = 19 } +#If ($movie_path -like '*Movies Release\*' ) { $libraryid = 19 } #set location of the plex scanner executable $exe = "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe"