CouchPotato

From Amahi Wiki
Jump to: navigation, search


CouchPotato 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 .nzb or .torrent to a specified directory.

Prerequisites:

  1. SABnzbd
  2. CouchPotato

CouchPotato can be accessed from http://cpotato:5000/ -or- yourHDAip:5000 (i.e. 192.168.1.10:5000)

How to configure with SABnzbd:

Proceed with care, this information is outdated.

Open your config page at http://cpotato:5000/config/ or by clicking the gear at the top.

General
  • Uncheck Launch Browser
  • Leave Host: 0.0.0.0 and Port: 5000
NZBs / Torrents
Providers
  • Set your provider account information
Quality
  • Set your quality preferences
Renaming
  • Set “Download Folder" to: /var/spool/sabnzbd/incoming/Movies/ (By default, SABnzbd's completed downloads folder is "/var/spool/sabnzbd/incoming/")
  • Set your "Movie destination" anywhere you like (i.e. /var/hda/files/Movies)

Warnings:

  • Leave your host as 0.0.0.0, this allows you to access from any pc on your network
  • If you change the port from 5000 you will break the proxy http://cpotato. You can still access CouchPotato from yourHDAip:port-you-set (i.e. http://192.168.1.10:8082)

This can be rectified by modifying the http conf file to point to the new port. First find what the name of the file is.

bash code
​ ls /etc/httpd/conf.d/ ​


You are looking for a file named something like ****-cpotato.conf , next open the file up and edit it to reflect the new port chosen. This needs to be done as root, for Ubuntu the code is:

bash code
​ sudo nano /etc/httpd/conf.d/****-cpotato.conf ​


Look for the lines beginning ProxyPass and ProxyPassReverse and modify the port. The last step is to reload apache, again for Ubuntu the code is:

bash code
​ sudo service apache2 reload ​