Linux/OSX
- Install python a supported python version (2.7, 3.4 or higher)
- cd into the intended scripts directory and install via git.
git clone https://github.com/clinton-hall/nzbToMedia.git
Sym-Link Python binaries.
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.
- Find out where your python is located.
which python2.7
- for this example, we assume this returned
/usr/bin/python2.7
- 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.
- unrar
- unzip
- tar
- 7zr (p7zip)
- ffmpeg
Ensure these are installed (or sym-linked) in the PATH as used in your downloader.
Windows from source.
- Install python3.7
- Install pywin:
pip install pywin32
- Download source (either zip or git)
- zip install
- Download the source from https://github.com/clinton-hall/nzbToMedia/archive/master.zip
- extract the contents of the zip folder into the intended scripts directory
- git install
- Install git
- cd into intended scripts directory and issue
git clone https://github.com/clinton-hall/nzbToMedia.git
- Download and install ffmpeg
- 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.
- Open Terminal
- cd into intended scripts directory (for instance:
cd /volumes/shared/scripts/nzbToMedia
) - issue
git pull
. The update should finish in a few seconds.