Skip to content

Provides SABnzbd and NZBGet postprocessing for CouchPotatoServer

Notifications You must be signed in to change notification settings

foXaCe/sabToCouchPotato

 
 

Repository files navigation

nzbToMedia

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

Introduction

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.

thorli's Synology DS211j was too weak to provide decent download rates with SABnzbd and CouchPotatoServer even by using sabToCouchPotato; His only alternative (as with many many QNAP and Synology users) was to switch to NZBGet which uses far less resources and helps to reach the full download speed.

The renamer of CouchPotatoServer caused broken downloads by interfering with NZBGet while it was still unpacking the files. Hence the solution was thorli's version of sabToCouchPotato which has now been named "nzbToCouchPotato".

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 "failed_fork=1". Default is 0 and will work with standard version of SickBeard and just ignores failed downloads.

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.

Contribution

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

Installation

Windows

Download the the compiled versions of this code from the links provided here nzbToMedia installation

General

  1. 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

Configuration

  1. 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.

  2. Please read the wiki pages on this repo for further configuration settings appropriate to your system.

  3. Please add to the wiki pages to help assist others ;)

NZBGet (V11+)

  1. Place the nzbToMedia folder inside the ppscripts folder. These scripts can now be configured via the web UI.

  2. Run scripts (for all required categories) in this order.

    DeleteSamples.py, nzbToMedia*.py, Email.py, Logger.py

  3. For Windows compiled versions, set the same config for all categories.

    DeleteSamples.bat, nzbToMedia.bat

Issues

  1. Please report all issues, or potential enhancements using the issues page on this repo.

About

Provides SABnzbd and NZBGet postprocessing for CouchPotatoServer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.7%
  • Perl 27.1%
  • Shell 15.2%