pyBox Installation Manual

Install Python

Download and install Python 2.5.2 Windows installer.

Install Subversion

Download and install svn-1.4.6-setup.exe. This is required so that the installation of the latest version of Django will go smooth.

Install pyBox

Download and install pyBox.

Without Apache:
Extract the content of the pyBoxYYYYMMDD.zip file in your c:/Program Files/ directory to folder C:\Program Files\pyBox

When running Apache:
Extract the content of the pyBoxYYYYMMDD.zip file in your Apache root web directory called C:\Program Files\Apache Software Foundation\Apache2.2\htdocs

Install Django

Run the script C:\Program Files\pyBox\_InstallDjango.bat

OR type in the following commands in a DOS prompt:

cd C:\Python25\Lib\site-packages
"C:\Program Files\Subversion\bin\svn.exe" co http://code.djangoproject.com/svn/django/trunk/ djangotrunk
cd djangotrunk
python setup.py install

Optionally read the Django Install Documentation.

Configuration

Add following paths to your system path:
C:\Python25;C:\Python25\Lib\site-packages\django\bin;C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\apps;C:\Program Files\pyBox\pybox;

Edit C:\Program Files\pyBox\pass.txt and change the admin user and email address. The default user is admin.

Run C:\Program Files\pyBox\3. ValidateDB.bat to see that DB initialization will go fine.

Run C:\Program Files\pyBox\4. SyncDB.bat to initialize the database.

Run C:\Program Files\pyBox\5. Start pyBox server port 8000.bat to start the development version of pyBox.

To setup your pyBox follow this local link pyBox Configuration
or click on the internet shortcut C:\Program Files\pyBox\6. Configure pyBox server port 8000

Enter the default pyBox Configuration:

Directories:
The directories that follow are used to scan for content. The localdir,remotedir syntax means: localdir is the name of the root directory on the server where the content resides , remote dir is the name of mounted network directory of how you access you collection from other computers. Usually you enter here the directory where uTorrent saves completed downloads.
For example you could enter C:/Completed/0.Unrar,C:/Completed/0.Unrar for local content

Completed torrents directory:
Enter here the directory where uTorrent saves completed downloads. pyBox /pybox/path_display/ uses this as the default directory to show the available movies or other media.
Enter for example: C:/Completed/0.Unrar

Torrent download in progress directory:
Enter the directory that uTorrent uses while downloading torrents. This allows to already detect and generate the movie description while the movie is downloading.
Enter for example here C:/torrents

.torrent save directory:
The .torrent save directory is used by the feeder to save .torrent files in and to then use the .torrent file to launch uTorrent with.
Example enter here c:/tmp

uTorrent: Server or IP, port, user,password
Following setting is required if you want the pyBox to sync with uTorrent. So that if you delete a directory in pyBox it deletes/stops the download from uTorrent.
Enter for example: localhost,6881,admin,*********

Movie web site root:
is the url to use when you want to make the movies available on the internet. This url is then used as a path to stream the movie from and will be indicated as a path in the generated .asx file.
Enter for example http://mysite/movies.

Exclusion list:
The exclusion list is used by the feeder to ignore torrents that contain the following words. If you enter a line starting with * eg *simpsons then the feeder does not mention that a torrent was excluded.
Enter for example: 1080 to avoid downloading 1080i or 1080p very large movies

Start using pyBox:

Run pyBox with demo data

Once your are sure it works well you can try pyBox on your collection: Run pyBox with your own collection directory

Optional installs

Install Apache

Download and install Apache HTTP Server.

Install Mod_python

To run python on Apache you need to install Mod_python.
Download and install Apache Mod_python 3.3.1.

Install µTorrent

Download and install µTorrent 1.7.7

Install µTorrent WebUI

To run µTorrent from the web you need to use it's web user interface:
Download and install µTorrent WebUI v0.310

Install Firefox Web Browser

Download and install Firefox Web Browser

Install Media Player Classic

Media Player Classic is a light weight media player that does it all:
Download and install Media Player Classic