Difference between revisions of "CouchPotato"

From Amahi Wiki
Jump to: navigation, search
m
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{NeedsUpdate}}
 +
<br />
 
[[Category:apps]]
 
[[Category:apps]]
 +
[http://www.amahi.org/apps/couchpotato 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.
  
'''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: ===
 +
# [http://www.amahi.org/apps/sabnzbd SABnzbd]
 +
# [http://www.amahi.org/apps/couchpotato CouchPotato]
  
=== Prerequisits: ===
 
# SABnzbd
 
# CouchPotato
 
  
CouchPotato can be accessed from http://cpotato:5000/ -or- yourHDAip:5000 (i.e. 192.168.1.10:5000)
+
[http://www.amahi.org/apps/couchpotato CouchPotato] can be accessed from http://cpotato:5000/ -or- yourHDAip:5000 (i.e. 192.168.1.10:5000)
 +
 
 +
=== How to configure with [http://www.amahi.org/apps/sabnzbd SABnzbd]: ===
 +
'''NOTE:''' Proceed with care, this information is outdated.
  
=== How to configure with SABnzbd: ===
 
 
Open your config page at http://cpotato:5000/config/ or by clicking the gear at the top.
 
Open your config page at http://cpotato:5000/config/ or by clicking the gear at the top.
  
Line 16: Line 20:
 
* Leave Host: 0.0.0.0 and Port: 5000
 
* Leave Host: 0.0.0.0 and Port: 5000
 
  '''NZBs / Torrents'''
 
  '''NZBs / Torrents'''
* Select  “Sabnzbd” from Download to dropdown
+
* Select  “[http://www.amahi.org/apps/sabnzbd SABnzbd]” from Download to dropdown
* Set Host to: localhost:25914
+
* Set Host to: localhost:25915 (change to reflect the port for SABnzbd Plus)
* Get your Sabnzbd Apikey from http://sabnzbd/config/general/
+
* Get your [http://www.amahi.org/apps/sabnzbd SABnzbd] Apikey from http://sabnzbd/config/general/
 
* Set Category to: Movies
 
* Set Category to: Movies
 
  '''Providers'''
 
  '''Providers'''
Line 25: Line 29:
 
* Set your quality preferences
 
* Set your quality preferences
 
  '''Renaming'''
 
  '''Renaming'''
* Set “Download Folder to: /var/spool/sabnzbd/incoming/Movies/ (By default, SABnzbd's completed downloads folder is "/var/spool/sabnzbd/incoming/")
+
* Set “Download Folder" to: /var/spool/sabnzbd/incoming/Movies/ (By default, [http://www.amahi.org/apps/sabnzbd SABnzbd's] completed downloads folder is "/var/spool/sabnzbd/incoming/")
* Set your Movie destination anywhere you like (i.e. /var/hda/files/Movies)
+
* Set your "Movie destination" anywhere you like (i.e. /var/hda/files/Movies)
 
 
  
 
=== Warnings: ===
 
=== Warnings: ===
 
* Leave your host as 0.0.0.0, this allows you to access from any pc on your network
 
* 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)
+
* If you change the port from 5000 you will break the proxy http://cpotato. You can still access [http://www.amahi.org/apps/couchpotato 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.
 +
 
 +
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:
 +
 
 +
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:
 +
 
 +
sudo service apache2 reload
 +
=== Troubleshooting (Amahi 7) ===
 +
If after running the automatic update, CouchPotato will not start, try this as root user:
 +
chmod 755 /var/hda/web-apps/couchpotato/html/CouchPotato.py

Latest revision as of 20:54, 17 October 2014

Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.


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:

NOTE: 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.

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:

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:

sudo service apache2 reload

Troubleshooting (Amahi 7)

If after running the automatic update, CouchPotato will not start, try this as root user:

chmod 755 /var/hda/web-apps/couchpotato/html/CouchPotato.py