mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 05:44:50 +00:00
Updated Custom Post Processing Scripts (markdown)
parent
617df216a9
commit
b3dbbcd73f
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
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)
|
# Custom Script path: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe\PowerShell.exe
|
||||||
# C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe\PowerShell.exe -ExecutionPolicy Bypass "C:\Users\Down\Desktop\Server\radarrcustom.ps1"
|
# Custom Script arguments: -ExecutionPolicy Bypass "C:\Users\Down\Desktop\Server\radarrcustom.ps1"
|
||||||
|
|
||||||
Set-ExecutionPolicy Unrestricted
|
Set-ExecutionPolicy Unrestricted
|
||||||
$moviefile_path = $env:radarr_movie_path
|
$moviefile_path = $env:radarr_movie_path
|
||||||
|
@ -68,7 +68,7 @@ $moviefile_path = Split-path -path $moviefile_path
|
||||||
$libraryid = 0
|
$libraryid = 0
|
||||||
|
|
||||||
#If you have multiple root folders and library IDs you can set them like so
|
#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
|
#set location of the plex scanner executable
|
||||||
$exe = "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe"
|
$exe = "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe"
|
||||||
|
|
Loading…
Reference in a new issue