From 110fd5d4b6b276d87bd5e2b8ebe6aa36b4391008 Mon Sep 17 00:00:00 2001 From: jobrien2001 Date: Tue, 27 Jun 2017 06:46:23 -0500 Subject: [PATCH] Updated Custom Post Processing Scripts (markdown) --- Custom-Post-Processing-Scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index afd0139..600e3eb 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -58,6 +58,7 @@ Sample script to have Plex scan destination folder only and "analyze deeply" the ``` # 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\Server\Desktop\radarrcustom.ps1" + $movie_path = $env:radarr_movie_path #PSQlite location Import-Module C:\Users\Server\Desktop\scripts\PSSQLite @@ -70,7 +71,6 @@ $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 } - #Scan the movie folder & "$plexscanner" --scan --refresh --section $libraryid --directory $movie_path write-output """$plexscanner"" --scan --refresh --section $libraryid --directory $movie_path" | add-content $logfile