So Ive put together this source code for the following reasons..
I needed to have a site that requires little hdd space also does just about everything
automatically and could be run on a home sever if need be so I created Freespirit.

So what is it?

FreeSpirit users JQuery Mobile as its framework that is compatible with most mobile devices. The source scrapes and gets the NZB file from http://newshost.co.za/ there is no need to have a massive server with a large capacity like what is needed for Newznab, its possible to even run it from a home server. Ive also populated the series table with quite a few series, If the release doesn't have any data attached to the release the script will attempted to find it from TvRage and TVDB, once the data has been inserted from there on it will be called from the database.

How to install..

1) You will need to install PHPCLI by typing #apt-get install php5-cli.

2) Extract and upload the content.

3) Setup crontab by typing in #crontab -e and paste at the end */5 * * * * /usr/bin/php /path/to/update.php (remember to change the path to the path to update.php and don't put update.php in the www folder.

Note! the update.php file must be one tree up from the www folder Eg. /home/freespirit/update.php and then the source will go into home/freespirit/www

4) Create a new database called "freespirit" and import the database from /db/freespirit.sql

5) Now edit /include/config.php.

6) Chmod 0777 /path/to/nzbs/

What I'm still working on....

i) I'm still working on an API for Sickbeard
ii) Adding torrents from Kickass.
iii) A PM system.
iv) Admin panel

In R2 Hopefully I'm going to design it so if you have it enabled site will be securely linked so if your site has just started you will have tones of content instantly and securely though an API share key.

What can you do?

This is open for anyone to contrute as long as you conform loosely to JQuery Mobile framework, for more info you can read up about it here http://jquerymobile.com/

Hey, I put all files on server, do like description was say, but still i get this error when i try go to my page:

`Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u612414536/public_html/include/db.php on line 11
Please add your TVRAGE API key!!`

2 choices here
#1 down grade your PHP version
#2 convert the script to use mysqli

__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/