• 1
  • 47
  • 48
  • 49(current)
  • 50
  • 51
  • 188
CouchPotato - Automatic Movie Downloader via NZB & Torrents
RuudBurger Wrote:And for the Android app, I love that people working on stuff connected to CP!

But wouldn't a general smartphone webinterface be a better solution? Will think of something once I'm done with subtitles. The barcode connection is nice, but country based and as someone said above kinda limited. Easily be able to type in the movie name would be just as easy.

With an API, the app would be a lot nicer Wink

I like the barcode option because I'm lazy, and love to download something in a single click without having to type out a word.

I'm a sucker for customization and making things fit my needs and wants, so an API is ideal for me. But for the average person, a general smartphone interface would probably be good enough.
Reply
Has anybody been able to get Couch Potato to run under Apache (using mod_proxy as a reverse proxy) without using ProxyPreserveHost?

I've been able to get SABnzbd, SickBeard, and Webmin to run under Apache (as a reverse proxy) but not Couch Potato... Sad
Reply
sofakng Wrote:Has anybody been able to get Couch Potato to run under Apache (using mod_proxy as a reverse proxy) without using ProxyPreserveHost?

I've been able to get SABnzbd, SickBeard, and Webmin to run under Apache (as a reverse proxy) but not Couch Potato... Sad

Pure curiosity here....why do you want to do this?
Reply
sofakng Wrote:Has anybody been able to get Couch Potato to run under Apache (using mod_proxy as a reverse proxy) without using ProxyPreserveHost?

I've been able to get SABnzbd, SickBeard, and Webmin to run under Apache (as a reverse proxy) but not Couch Potato... Sad

Just checked - doesn't work without ProxyPreserveHost here
Reply
Therms Wrote:Pure curiosity here....why do you want to do this?
It's really convenient to have one place for security and easy to remember URLs (ie. mydomain/tv [sickbeard], mydomain.com/movies [couchpotato], mydomain.com/nzb [sabnzbd], etc), and I don't have to remember or open several ports. (ie. the application servers are more protected from the outside since they must be access through Apache, etc)
Reply
sofakng Wrote:It's really convenient to have one place for security and easy to remember URLs (ie. mydomain/tv [sickbeard], mydomain.com/movies [couchpotato], mydomain.com/nzb [sabnzbd], etc), and I don't have to remember or open several ports. (ie. the application servers are more protected from the outside since they must be access through Apache, etc)

I just setup an html file with a redirect. Nice and easy.

[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Sabnzbd</title>
<meta http-equiv="REFRESH" content="0;url=http://my.hostname.com:554/sabnzbd/"></HEAD>
<BODY>
</BODY>
</HTML>
[/HTML]
Reply
Yeah, that would work but it still requires opening extra ports.

Anyways, it looks like I got it working using the Apache module mod_proxy_html.

If anybody is curious, here's how to set it up:

1) DO NOT set urlbase in config.ini

2) Download and install the latest mod_proxy_html.

2) Enable the following Apache modules: headers, proxy_html (and proxy, proxy_http)

3) Use the following in your httpd.conf (or default site configuration file):
Code:
<Location /movies>
    ProxyHTMLEnable On
    ProxyHTMLURLMap http://localhost:8084 /movies
    RequestHeader    unset  Accept-Encoding

    ProxyPass http://localhost:8084
    ProxyPassReverse http://localhost:8084
  </Location>

I've tested everything and it seems to work. You also do not need to enable ProxyPreserveHost so other proxies still work (ie. webmin, etc).

Hope this is helpful to somebody someday Smile
Reply
I think it's great that you've "Minimized PNG filesize. ", but I think you've gone too far. All my button images/icons are gone! Nod
Reply
Code:
<VirtualHost *:80>

    DocumentRoot /var/www/
    ServerName mydomain.com
    ProxyPreserveHost On
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order deny,allow
    AuthType Basic
    AuthName "Restricted"
    AuthUserFile /path/to/.htpasswd
    Require valid-user
    </Directory>

    <Location /couchpotato>
    order deny,allow
        ProxyPass http://localhost:PORT
        ProxyPassReverse http://localhost:PORT
    </Location>

    <Location /sabnzbd>
    order deny,allow
        ProxyPass http://localhost:PORT/sabnzbd
        ProxyPassReverse http://localhost:PORT/sabnzbd
    </Location>

    <Location /sickbeard>
    order deny,allow
        ProxyPass http://localhost:PORT/sickbeard
        ProxyPassReverse http://localhost:PORT/sickbeard
    </Location>

    <Proxy *>
      Order deny,allow
      Allow from all
    </Proxy>

       ProxyPass /tvheadend/ http://localhost:PORT/
       ProxyPassReverse /tvheadend/ /

       ProxyPass /xbmc/ http://localhost:PORT/
       ProxyPassReverse /xbmc/ /

</VirtualHost>

Been meaning to post this for a while.. The imdb userscript needs editing from memory.
Reply
@SofaKng
Why don't you want to use "ProxyPreserveHost On"?

@generator
Sorry for that Wink Fixed now Big Grin
Reply
Trying to setup CP for a mate just using Torrents - tried to convince him to go NZB's, but he's not having any of it. (FOOL!)

Anyways -
.torrents enabled, .nzb disabled.

Force check doesnt download the torrent from TPB.

--EDIT--
Nevermind.
Got it working now! Smile
Love CP!
Reply
RuudBurger Wrote:@SofaKng
Why don't you want to use "ProxyPreserveHost On"?
It causes problems with WebMin. I was also wondering why SABnzbd / SickBeard didn't need it because they seem to use the same CherryPy background.

No big deal though... it works with mod_proxy_html rewriting the links and such so I'm happy! Smile
Reply
RuudBurger Wrote:Al the movies that are in your wanted list.
Yeah I know about the endless "searching for new release dates" if you find out, when it does that. let me know Wink

it does that for me at the moment, what info do you need? btw great app, so far i like it Smile
Reply
Version, Platform, logs Wink
Reply
RuudBurger Wrote:Version, Platform, logs Wink

this morning i tried a complete-clean re-install but with the same result, its endlessly searching Oo

Code:
uname -a:
Linux xbmc 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux

couchpotato:
Version: c63b6ca

python:
  Installed: 2.6.5-0ubuntu1

log http://pastebin.com/fzytFXpf
Reply
  • 1
  • 47
  • 48
  • 49(current)
  • 50
  • 51
  • 188

Logout Mark Read Team Forum Stats Members Help
CouchPotato - Automatic Movie Downloader via NZB & Torrents11