mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-16 16:04:08 +01:00
Updated Custom Post Processing Scripts (markdown)
parent
617df216a9
commit
b3dbbcd73f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user