Code Monkey home page Code Monkey logo

nzbtomedia's Introduction

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.

nzbtomedia's People

Contributors

clinton-hall avatar jkaberg avatar berkona avatar thorli avatar serhatg avatar nervling avatar schumi2004 avatar smenus avatar cannfoddr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.