Provides an efficient way to handle postprocessing for CouchPotatoServer and SickBeard when using one of the popular NZB download clients like SABnzbd and NZBGet on low performance systems like a NAS. This script is based on sabToSickBeard (written by Nic Wolfe and supplied with SickBeard), with the support for NZBGet being added by thorli and further contributions by schumi2004 and hugbug. Torrent suport added by jkaberg and berkona
Originally this was modifed from the SickBeard version to allow for "on-demand" renaming and not have My QNAP TS-412 NAS constantly scanning the download directory. Later, a few failed downloads prompted me to incorporate "failed download" handling. Failed download handling is now provided for sabnzbd, by CouchPotatoServer; however on arm processors (e.g. small NAS systems) this can be un-reliable.
Failed download handling for SickBeard is available by using the development branch from fork SickBeard-failed To use this feature, in autoProcessTV.cfg set the parameter "fork=failed". Default is "fork=default" and will work with standard version of SickBeard and just ignores failed downloads. Additional forks exist for ThePirateBay (does its own extraction and linking). See SickBeard Forks for a lit of known forks.
Torrent support has been added with the assistance of jkaberg and berkona. Currently supports uTorrent, Transmissions, Deluge and possibly more. To enable Torrent extraction, on Windows, you need to install 7-zip or on *nix you need to install the following packages/commands.
"unrar", "unzip", "tar", "7zr"
note: "7zr" is available from the p7zip package. Available on optware.
We who have developed nzbToMedia believe in the openess of open-source, and as such we hope that any modifications will lead back to the orignal repo via pull requests.
Founder: clinton-hall
Contributors: Can be viewed here
In order to use the transcoding option you will need to install ffmpeg. Installation instructions for this are available in the wiki
Download the the compiled versions of this code from the links provided here nzbToMedia installation
-
Clone or copy all files into a directory wherever you want to keep them (eg. /scripts/ in the home directory of your nzb client) and change the permission accordingly so the download client can access these files.
git clone git://github.com/clinton-hall/nzbToMedia.git
-
Rename the file autoProcessMedia.cfg.sample to autoProcessMedia.cfg and fill in the appropriate fields in [SickBeard], [CouchPotato], [Torrent]as they apply to your installation.
-
Please read the wiki pages on this repo for further configuration settings appropriate to your system.
-
Please add to the wiki pages to help assist others ;)
-
Place the nzbToMedia folder inside the ppscripts folder. These scripts can now be configured via the web UI.
-
Run scripts (for all required categories) in this order.
DeleteSamples.py, nzbToMedia*.py, Email.py, Logger.py
-
For Windows compiled versions, set the same config for all categories.
DeleteSamples.bat, nzbToMedia.bat
- Please report all issues, or potential enhancements using the issues page on this repo.