I have installed Sab in a jail (192.168.1.6) and sickrage in a different jail.
A have added storage to both jails to the same common location on my "media-server" dataset, as far as both jails are concerned, this is:
"/mnt/sabnzbd-temp"
Inside this, i have:
"/mnt/sabnzbd-temp/completed"
"/mnt/sabnzbd-temp/completed/tv"
"/mnt/sabnzbd-temp/completed/movies"
"/mnt/sabnzbd-temp/incomplete"
"/mnt/sabnzbd-temp/scripts"
Using the polled method, sickrage copies whatever is downloaded, renames it, moves it to a different location outside on the media-server dataset and deletes the "completed" files.. This all works perfectly.
However..
I have downloaded "NZBtoMedia" and placed it in the common location "/mnt/sabnzbd-temp/scripts/nzbToMedia-master"
I have SHH'ed in and changed the owner to media:media and have chmod'ed +x.
In sickrage:
Settings -> Post Processing -> Enable? unchecked.
In SAB: (following this guide https://github.com/Sickrage/Sickrage/wiki/NZBtoMedia)
Settings -> Folders -> Scripts Folder = /mnt/sabnzbd-temp/scripts/nzbToMedia-master
Settings -> Switches -> Post processing -> Post-Process Only Verified Jobs = unchecked
Settings -> Special -> empty_postproc = checked
Settings -> categories ->
( Relative folders are based on: /mnt/sabnzbd-temp/completed )
- Category: tv
- Priority: Normal
Processing: Download
Script: nzbToSickBeard.py (drop menu)
Folder: tv
Groups: <empty>
Edited "autoProcessMedia.cfg" as below:
I see nothing in the SAB log files to suggest it even tried to run the script.
What I do see is this:
2016-10-01 19:09:44,077::INFO::[postproc:294] Starting Post-Processing on That.Show.S05E15.1080p.BluRay.x264-YELLOWBiRD-Obfuscated => Repair:True, Unpack:True, Delete:True, Script:None, Cat:tv
A have added storage to both jails to the same common location on my "media-server" dataset, as far as both jails are concerned, this is:
"/mnt/sabnzbd-temp"
Inside this, i have:
"/mnt/sabnzbd-temp/completed"
"/mnt/sabnzbd-temp/completed/tv"
"/mnt/sabnzbd-temp/completed/movies"
"/mnt/sabnzbd-temp/incomplete"
"/mnt/sabnzbd-temp/scripts"
Using the polled method, sickrage copies whatever is downloaded, renames it, moves it to a different location outside on the media-server dataset and deletes the "completed" files.. This all works perfectly.
However..
I have downloaded "NZBtoMedia" and placed it in the common location "/mnt/sabnzbd-temp/scripts/nzbToMedia-master"
I have SHH'ed in and changed the owner to media:media and have chmod'ed +x.
Code:
root@sabnzbd_1:/mnt/sabnzbd-temp/scripts/nzbToMedia-master # ls -la total 235 drwxrwxr-x 5 media media 21 Oct 1 14:21 . drwxrwxr-x 3 media media 3 Oct 1 13:24 .. -rwxrwxr-x 1 media media 555 May 29 02:11 .gitattributes -rwxrwxr-x 1 media media 74 May 29 02:11 .gitignore -rwxrwxr-x 1 media media 5042 May 29 02:11 README.md -rwxrwxr-x 1 media media 15953 May 29 02:11 TorrentToMedia.py -rwxrwxr-x 1 media media 17120 Oct 1 17:23 autoProcessMedia.cfg -rwxrwxr-x 1 media media 16975 May 29 02:11 autoProcessMedia.cfg.spec -rwxrwxr-x 1 media media 21203 May 29 02:11 changelog.txt drwxrwxr-x 10 media media 20 Oct 1 13:24 core -rwxrwxr-x 1 media media 504 May 29 02:11 getffmpeg.sh drwxrwxr-x 19 media media 22 Oct 1 13:24 libs -rwxrwxr-x 1 media media 35127 May 29 02:11 license.txt -rwxrwxr-x 1 media media 6783 May 29 02:11 nzbToCouchPotato.py -rwxrwxr-x 1 media media 2702 May 29 02:11 nzbToGamez.py -rwxrwxr-x 1 media media 3119 May 29 02:11 nzbToHeadPhones.py -rwxrwxr-x 1 media media 26602 May 29 02:11 nzbToMedia.py -rwxrwxr-x 1 media media 3070 May 29 02:11 nzbToMylar.py -rwxrwxr-x 1 media media 6386 May 29 02:11 nzbToNzbDrone.py -rwxrwxr-x 1 media media 6708 May 29 02:11 nzbToSickBeard.py drwxrwxr-x 2 media media 5 Oct 1 13:24 tests
In sickrage:
Settings -> Post Processing -> Enable? unchecked.
In SAB: (following this guide https://github.com/Sickrage/Sickrage/wiki/NZBtoMedia)
Settings -> Folders -> Scripts Folder = /mnt/sabnzbd-temp/scripts/nzbToMedia-master
Settings -> Switches -> Post processing -> Post-Process Only Verified Jobs = unchecked
Settings -> Special -> empty_postproc = checked
Settings -> categories ->
( Relative folders are based on: /mnt/sabnzbd-temp/completed )
- Category: tv
- Priority: Normal
Processing: Download
Script: nzbToSickBeard.py (drop menu)
Folder: tv
Groups: <empty>
Edited "autoProcessMedia.cfg" as below:
Code:
[SickBeard] #### autoProcessing for TV Series #### tv - category that gets called for post-processing with SB [[tv]] enabled = 1 host = http://192.168.1.7 port = 5051 username = password = ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ###### web_root = ssl = 0 fork = auto delete_failed = 0 # Enable/Disable linking for Torrents Torrent_NoLink = 0 keep_archive = 1 process_method = # force processing of already processed content when running a manual scan. force = 0 # tell SickRage to delete all source files after processing. delete_on = 0 extract = 1 nzbExtractionBy = Downloader # Set this to minimum required size to consider a media file valid (in MB) minSize = 0 # Enable/Disable deleting ignored files (samples and invalid media files) delete_ignored = 0 ##### Enable if SickBeard is on a remote server for this category remote_path = 0 ##### Set to path where download client places completed downloads locally for this category watch_dir = /mnt/sabnzbd-temp/completed/tv [Nzb] ###### clientAgent - Supported clients: sabnzbd, nzbget clientAgent = sabnzbd ###### SabNZBD (You must edit this if your using nzbToMedia.py with SabNZBD) sabnzbd_host = http://192.168.1.6 sabnzbd_port = 5050 sabnzbd_apikey = <correct key> ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode. default_downloadDirectory = /mnt/sabnzbd-temp/completed/tv
I see nothing in the SAB log files to suggest it even tried to run the script.
What I do see is this:
2016-10-01 19:09:44,077::INFO::[postproc:294] Starting Post-Processing on That.Show.S05E15.1080p.BluRay.x264-YELLOWBiRD-Obfuscated => Repair:True, Unpack:True, Delete:True, Script:None, Cat:tv
Last edited: