39 installation
Clinton Hall edited this page 2019-06-16 10:13:30 +12:00

Linux/OSX

  1. Install python a supported python version (2.7, 3.4 or higher)
  2. cd into the intended scripts directory and install via git.
  • git clone https://github.com/clinton-hall/nzbToMedia.git

These scripts call /usr/bin/env python. Your system should have python existing in the path as a sym-link to a supported python version binary. If not, you will need to create a sym-link to it.

In this example we will use Python 2.7, substitute any supported python version below.

  1. Find out where your python is located.
  • which python2.7
  • for this example, we assume this returned /usr/bin/python2.7
  1. Create a sym-link python in the path that links to your python executable.
  • ln -sf /usr/bin/python2.7 /usr/bin/python

depending on permissions for your system, you may need to use sudo followed by the admin password or su to login as admin super user.

  • sudo ln -sf /usr/bin/python2.7 /usr/bin/python
Install external tools.

use apt-get install, your package manager, or download the source and compile.

  1. unrar
  2. unzip
  3. tar
  4. 7zr (p7zip)
  5. ffmpeg

Ensure these are installed (or sym-linked) in the PATH as used in your downloader.

Windows from source.

  1. Install python3.7
  2. Install pywin: pip install pywin32
  3. Download source (either zip or git)
  1. Download and install ffmpeg
  2. Add python to your path
  • windows/start
  • right-click computer (my Computer)
  • Advanced system settings
  • Environment Variables
  • in System variables, select Path, edit
  • at the end of "Variable value" files, add the path separated by a semicolon. (e.g. for Python 2.7 add ;C:\Python27)

Windows compiled executable binaries (.exe)

Due to the complexities of compiling these scripts, I am not able to compile current versions without investing a lot more time into this. Installing python and running these scripts is not too difficult and therefore I am recommending that people use the source version of these scripts.

Sorry for any inconvenience here. I am leaving the links below, but no further development of Windows Builds is anticipated.

Download from here nzbToMedia-v9.2

Download from here nzbToMedia-v9.3dev

Compiling for Windows from Source

Update manually using Git (OS/Linux)

These instructions will update nzbToMedia and will leave your autoProcessMedia.cfg as-is.

Ensure that you have made a backup of autoProcessMedia.cfg. Just in case an update of nzbToMedia might overwrite/break your config.

  1. Open Terminal
  2. cd into intended scripts directory (for instance: cd /volumes/shared/scripts/nzbToMedia)
  3. issue git pull. The update should finish in a few seconds.