/CouchPotatoServer

Automatic Movie Downloading via NZBs & Torrents

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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:

  • Install Python 2.7
  • Then install PyWin32 2.7 and GIT
  • If you come and ask on the forums 'why directory selection no work?', I will kill a kitten, also this is because you need PyWin32
  • Open up Git Bash (or CMD) and go to the folder you want to install CP. Something like Program Files.
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git.
  • You can now start CP via CouchPotatoServer\CouchPotato.py to start
  • Your browser should open up, but if it doesn't go to http://localhost:5050/

OS X:

  • If you're on Leopard (10.5) install Python 2.6+: Python 2.6.5
  • Install GIT
  • Open up Terminal
  • Go to your App folder cd /Applications
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git
  • Then do python CouchPotatoServer/CouchPotato.py
  • Your browser should open up, but if it doesn't go to http://localhost:5050/

Linux:

  • (Ubuntu / Debian) Install GIT with apt-get install git-core
  • (Fedora / CentOS) Install GIT with yum install git
  • 'cd' to the folder of your choosing.
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git
  • Then do python CouchPotatoServer/CouchPotato.py to start
  • (Ubuntu / Debian) To run on boot copy the init script sudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato
  • (Ubuntu / Debian) Copy the default paths file sudo cp CouchPotatoServer/init/ubuntu.default /etc/default/couchpotato
  • (Ubuntu / Debian) Change the paths inside the default file sudo nano /etc/default/couchpotato
  • (Ubuntu / Debian) Make it executable sudo chmod +x /etc/init.d/couchpotato
  • (Ubuntu / Debian) Add it to defaults sudo update-rc.d couchpotato defaults
  • (systemd) To run on boot copy the systemd config sudo cp CouchPotatoServer/init/couchpotato.fedora.service /etc/systemd/system/couchpotato.service
  • (systemd) Update the systemd config file with your user and path to CouchPotato.py
  • (systemd) Enable it at boot with sudo systemctl enable couchpotato
  • Open your browser and go to http://localhost:5050/

Docker:

FreeBSD :

  • Update your ports tree sudo portsnap fetch update
  • Install Python 2.6+ lang/python with cd /usr/ports/lang/python; sudo make install clean
  • Install port databases/py-sqlite3 with cd /usr/ports/databases/py-sqlite3; sudo make install clean
  • Add a symlink to 'python2' sudo ln -s /usr/local/bin/python /usr/local/bin/python2
  • Install port ftp/libcurl with cd /usr/ports/ftp/fpc-libcurl; sudo make install clean
  • Install port ftp/curl, deselect 'Asynchronous DNS resolution via c-ares' when prompted as part of config cd /usr/ports/ftp/fpc-libcurl; sudo make install clean
  • Install port textproc/docbook-xml-450 with cd /usr/ports/textproc/docbook-xml-450; sudo make install clean
  • Install port GIT with cd /usr/ports/devel/git; sudo make install clean
  • 'cd' to the folder of your choosing.
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git
  • Then run sudo python CouchPotatoServer/CouchPotato.py to start for the first time
  • To run on boot copy the init script. sudo cp CouchPotatoServer/init/freebsd /etc/rc.d/couchpotato
  • Change the paths inside the init script. sudo vim /etc/rc.d/couchpotato
  • Make init script executable. sudo chmod +x /etc/rc.d/couchpotato
  • Add init to startup. sudo echo 'couchpotato_enable="YES"' >> /etc/rc.conf
  • Open your browser and go to: http://server:5050/