Automatic Movie Downloading via NZBs & Torrents
CouchPotato
CouchPotato (CP) is an automatic NZB and torrent downloader. You can keep a "movies I want"-list and it will search for NZBs/torrents of these movies every X hours. Once a movie is found, it will send it to SABnzbd or download the torrent to a specified directory.
Running from Source
CouchPotatoServer can be run from source. This will use git as updater, so make sure that is installed.
Windows, see the CP forum for more details:
Git Bash
(or CMD) and go to the folder you want to install CP. Something like Program Files.git clone https://github.com/CouchPotato/CouchPotatoServer.git
.CouchPotatoServer\CouchPotato.py
to starthttp://localhost:5050/
OS X:
Terminal
cd /Applications
git clone https://github.com/CouchPotato/CouchPotatoServer.git
python CouchPotatoServer/CouchPotato.py
http://localhost:5050/
Linux:
apt-get install git-core
yum install git
pip install --upgrade pyopenssl
git clone https://github.com/CouchPotato/CouchPotatoServer.git
python CouchPotatoServer/CouchPotato.py
to startsudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato
sudo cp CouchPotatoServer/init/ubuntu.default /etc/default/couchpotato
sudo nano /etc/default/couchpotato
sudo chmod +x /etc/init.d/couchpotato
sudo update-rc.d couchpotato defaults
sudo cp CouchPotatoServer/init/couchpotato.service /etc/systemd/system/couchpotato.service
sudo systemctl enable couchpotato
http://localhost:5050/
Docker:
FreeBSD:
su
pkg update
pkg install python py27-sqlite3 fpc-libcurl docbook-xml git-lite
cd /usr/local
ln -s /usr/local/bin/python /usr/bin/python
git clone https://github.com/CouchPotato/CouchPotatoServer.git
cp CouchPotatoServer/init/freebsd /usr/local/etc/rc.d/couchpotato
chmod 555 /usr/local/etc/rc.d/couchpotato
echo 'couchpotato_enable="YES"' >> /etc/rc.conf
more /usr/local/etc/rc.d/couchpotato
ee /etc/rc.conf
service couchpotato start
http://server:5050/
Development
Be sure you're running the latest version of Python 2.7.
If you're going to add styling or doing some javascript work you'll need a few tools that build and compress scss -> css and combine the javascript files. Node/NPM, Grunt, Compass
After you've got these tools you can install the packages using npm install
. Once this process has finished you can start CP using the command grunt
. This will start all the needed tools and watches any files for changes.
You can now change css and javascript and it wil reload the page when needed.
By default it will combine files used in the core folder. If you're adding a new .scss or .js file, you might need to add it and then restart the grunt process for it to combine it properly.
Don't forget to enable development inside the CP settings. This disables some functions and also makes sure javascript errors are pushed to console instead of the log.
Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.
We'll never share your email with anyone else.