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-23 08:31:57 -05:00
parent b3dbbcd73f
commit 9df912a2a4

@ -58,11 +58,8 @@ Sample script to have Plex scan destination folder only (not the entire library)
```
# 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
$movie_path = $env:radarr_movie_path
$moviefile_path = Split-path -path $moviefile_path
#set your plex library ID
$libraryid = 0
@ -75,7 +72,7 @@ $exe = "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe"
&$exe --scan --refresh --section $libraryid --directory $movie_path
#set location of log file
write-output $moviefile_path $movie_path | add-content C:\Users\Server\Desktop\radarimport.txt
write-output $movie_path | add-content C:\Users\Server\Desktop\radarrimport.txt
```
#### Reverse Symlinking ####
When using private trackers, it is imperitive to continue seeding. By using this script `on Download` and `on Upgrade` moves the media to your root movie folder as set in Radarr, and will create a symlink in the original download location so you can continue to seed.