1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-06-23 14:09:39 +02:00

Updated Custom Post Processing Scripts (markdown)

jobrien2001 2017-06-27 06:46:23 -05:00
parent 81afe96d4f
commit 110fd5d4b6

@ -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