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