I have also SABnzbd and Sonarr dockers which I would like to use it with.
I have these folders
Code: Select all
/mnt/user/Film (Movies)
/mnt/user/KidsFilm (Kids Movies)
/mnt/user/Serier (Series)
/mnt/user/KidsSerier (Kids Series)
/mnt/user/downloads/complete/film (Movies)
/mnt/user/downloads/complete/serier (Series)
I see 2 scenarios:
1. That when Sab places DL in complete folder Filebot AMC should see these two folders (movies/tv) and then rename, move and find artwork for the items and place it in /mnt/user where I have Movies/Tv libraries.
The problem with this solution is that I have 2 libraries for kids also, which if I use this solution Filebot would not be able to place the files in the correct folders.
2. Is that I will have 4 scripts, 1 for each categori and use the scripts when Sabnzbd finishes downloading.
This would be the ideal solution.
I would like for Filebot to rename, find subtitles in da, en, find artwork and move files to correct loacation.
I'm guessing refresh of Plex libraries would also be perfect as a final touch.
The naming I would like:
Code: Select all
Movies: Moviename (year)\Moviename (year).ext
Series: Seriesname (year)\Seriesname (year) sx0e episode name quality.ext
for instance The Series Title (2010) 1x01 Episode Title (1) HDTV-720p
Movies:
Code: Select all
@ECHO OFF
cd /d %1
cls
CALL d:\Programmer\Java_64\bin\java.exe -jar d:\Programmer\Filebot\filebot.jar -rename -r -non-strict \\unraid\downloads\complete\ --db TheMovieDB --format "\\Unraid\Film\{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}"
CALL d:\Programmer\Java_64\bin\java.exe -jar d:\Programmer\Filebot\filebot.jar -script fn:suball "\\Unraid\Film" -get-subtitles --lang da,en -non-strict --def maxAgeDays=7
CALL "d:\Programmer\Ember Media Manager\Ember Media Manager.exe" -updatemovies -scrapemovies newauto all -nowindow
CALL "C:\Program Files (x86)\cURL\curl.exe" http://XXX:3240/library/sections/03/refresh?X-Plex-Token=XXX
Code: Select all
@ECHO OFF
cd /d %1
cls
CALL d:\Programmer\Java_64\bin\java.exe -jar d:\Programmer\Filebot\filebot.jar -rename -r -non-strict \\unraid\downloads\complete\serier\ --db TheTVDB --format "\\UNRAID\Serier\{n}\Season {s}/{n} {sxe} {t}"
CALL d:\Programmer\Java_64\bin\java.exe -jar d:\Programmer\Filebot\filebot.jar -script fn:suball "\\Unraid\Serier" -get-subtitles --lang da,en -non-strict --def maxAgeDays=7
CALL "d:\Programmer\Ember Media Manager\Ember Media Manager.exe" -profile "default" -updatetvshows -scrapetvshows newskip all -nowindow
CALL "C:\Program Files (x86)\cURL\curl.exe" http://www.xxx:32400/library/sections/01/refresh?X-Plex-Token=xxx