CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

@Meilu
yeah, will make some kind of check in there. Thanks

@fanclerks
Log and your settings would be nice, yes. You could PM them, to keep the thread clean :D
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
chokomon
Newbie
Newbie
Posts: 47
Joined: January 27th, 2008, 4:45 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by chokomon »

I'm currently getting the message below when I try to go to the CP page.  Been working fine until now.

Code: Select all

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/home/****/CouchPotato/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/****/CouchPotato/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/****/CouchPotato/app/config/render.py", line 14, in __call__
    return self.template.render_unicode(**env)
  File "/home/****/CouchPotato/library/mako/template.py", line 198, in render_unicode
    as_unicode=True)
  File "/home/****/CouchPotato/library/mako/runtime.py", line 403, in _render
    _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
  File "/home/****/CouchPotato/library/mako/runtime.py", line 434, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/home/****/CouchPotato/library/mako/runtime.py", line 457, in _exec_template
    callable_(context, *args, **kwargs)
  File "_base_html", line 61, in render_body
  File "/home/****/CouchPotato/app/config/updater.py", line 88, in checkForUpdate
    self.updateAvailable = update.get('name').replace('.tar.gz', '') not in history
AttributeError: 'bool' object has no attribute 'get'
EDIT:

Weird.  I reset the system and now CP seems to be back up and working fine.
Last edited by chokomon on September 21st, 2010, 11:11 pm, edited 1 time in total.
MrAcid
Newbie
Newbie
Posts: 43
Joined: December 8th, 2009, 4:29 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by MrAcid »

Ruud, could you consider adding a button in the "downloaded" section to indicate that the downloaded release was not what you were looking for.

CP just downloaded a movie that turned out to be crappy quality, but the naming suggested it was a good rip.

A button to re-add it to my wanted list, but not the same release again would fix this for the future. Right now if I re-add it, the same release will be downloaded again. :)
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Yeah, I was thinking of that today, because I had trouble with "The Expendables 720p".
A "try another nzb"-button next to the "re-add"-button.

Will see how I could implement this.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
MrAcid
Newbie
Newbie
Posts: 43
Joined: December 8th, 2009, 4:29 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by MrAcid »

Haha, I also had the problem with The Expendables 720p. ;)
TheCaptain
Newbie
Newbie
Posts: 6
Joined: December 11th, 2009, 3:24 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by TheCaptain »

Having trouble with a movie...

I want "Dark House (2009)" which is not available yet, but it keeps downloading "The Dark House (2009)".
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Can't do much about same name, same year movies, as NZBs.org doesn't support IMDBid searching.
This will be less of a "bug" when I implement the "try another nzb"-button, mentioned above.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Small update:
Fixed a bug, where a movie with unknown year was found.
Optimized search speed. Before a search for a movie with 2 qualities, took about 35s. Now it takes around 13s ;) So if you have 80+ movies like me, it won't take about hour to search, but around 20minutes.
A single search using the reload-button next to the movie name, will take about 6, depending on the number of qualities it has to search.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
sacretagent
Newbie
Newbie
Posts: 23
Joined: September 5th, 2010, 3:29 am
Contact:

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by sacretagent »

[me=sacretagent]whistles [/me]


293 wanted  211 snatched  124 downloaded  Show details
Wanted


takes me more time to search LOL

anyway upgrading when r22 comes out ;)

are you willing to add 2 tabs to the main page ? one for downloaded and one for snatched
so that not everything is on one page ?
i guess it will save on queries to display the main page too  and the main page wouldn't be so long  to scroll all the way down
rig1:
w7 64 ult
I5-760 - 8gb hypX kings DDR3- Asus p7p55d
6 x 1 Tb wd gr EARS raid 5
2 x 640GB Sata3 raid1 Os
adaptec 2 * 500gb raid0 SAB

Rig2
W7 64 ult
core 2 duo - P5q-em - 4 gb corsair ddr2
6 x 1TB wd EADS raid5
adaptec 2* 500 gb samsung raid 1 OS

Rig3
unraid 10tb
p5b-plus
davidtm
Newbie
Newbie
Posts: 4
Joined: September 24th, 2010, 5:47 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by davidtm »

Orbi wrote:
Bigmonty wrote: Has anyone got this running on an unraid server yet?  I have Sabnzdb and Sickbeard running fine but I cannot for the life of me get this to run?

All I have done is add "python /mydirectory/CouchPotato.py to my "Go" file but it throws back some error install loggers taking onyl 2 arguements not three or something similar.

Any help appreciated.
Install the latest dependencies package 2.0 from the unraid forum. The Lockstockmod uses 1.3.
If it still doesn't work, maybe CP is launched while the dependencies have not been completely loaded. Try to insert "sleep 10" (without "") in your go file between the dependencies line and nohup python /mydirectory/CouchPotato.py -d &. The sleep command will tell the OS to wait 10 seconds before processing the rest of the script.
I'm having exactly the problem of the first quote and don't quite understand the second quote  :-[
Can anyone help?
csop19
Newbie
Newbie
Posts: 14
Joined: July 30th, 2010, 8:59 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by csop19 »

You need to use python26 or later. You can install several python versions at once.
davidtm
Newbie
Newbie
Posts: 4
Joined: September 24th, 2010, 5:47 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by davidtm »

Hmm, I have Python 2.7 but still getting the error message attached.
Any suggestions?
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Maybe python 2.7 isn't the default python? try running it from terminal.
"python2.7 CouchPotato.py"
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
davidtm
Newbie
Newbie
Posts: 4
Joined: September 24th, 2010, 5:47 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by davidtm »

i get "CouchPotato" is not defined when i try that.
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

You have to run that command from your CP directory of course.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Post Reply