CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!

CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Postby RuudBurger » July 2nd, 2010, 7:14 am

Image
CouchPotato (CP) is an automatic NZB downloader. You can keep a "movies I want"-list and it will search for NZBs of these movies every X minutes. Once a movie is found, it will send it to SABnzbd.

Please also post bugs & feature request on Github (link below), so I can keep a nice todo-list of all things I should do.

Features:
  • Automatic downloading and sending of NZBs to SABnzbd
  • Automatic downloading of .torrent files to a specified folder
  • Easy adding movies via IMDB UserScript
  • Movie sorting & renaming
  • Trailer downloading
  • Quality options to download best available. Overwrite if better is found. (See settings)
  • Support for NZBs.org, NZBMatrix, Newznab.com and ThePirateBay

Todo:
http://github.com/RuudBurger/CouchPotato/blob/master/todo.md

Changelog:
http://github.com/RuudBurger/CouchPotato/blob/master/changelog.md

[url=http://"http://github.com/RuudBurger/CouchPotato"]Image[/url]

Screenshot of the UserScript:
Image

More info & download can be found on:
http://github.com/RuudBurger/CouchPotato
Windows Binary Download


Donate:

Image

I'm building CouchPotato in my spare time, so if you want to buy me a coke while I'm coding, that would be awesome!



IMPORTANT
When you have an error, or something isn't working correctly. Please provide part of the log file using [url=http://"http://pastebin.ca"]pastebin.ca[/url]
Last edited by RuudBurger on March 22nd, 2011, 7:07 pm, edited 1 time in total.
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: 304
Joined: July 2nd, 2010, 7:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby JayBird » July 2nd, 2010, 10:56 am

Can you set the quality to search for?

I only download DVD/720p movies...i avoid CAMS/TS etc

EDIT: stopped been lazy and downloaded the app and you can. Good stuff, gonna test it out this weekend!!

EDIT 2: Really slick interface!!

EDIT 3: Where is the best place to report bugs?
Last edited by JayBird on July 2nd, 2010, 11:23 am, edited 1 time in total.
JayBird
Jr. Member
Jr. Member
 
Posts: 82
Joined: August 18th, 2008, 4:21 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby RuudBurger » July 2nd, 2010, 1:24 pm

Hehe. GitHub is the best place.

Thanks!
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: 304
Joined: July 2nd, 2010, 7:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby fr0st » July 3rd, 2010, 12:02 am

trying it now. Thanks!

EDIT: Here are a few things I noticed.

1. Passwords. I do not use one for sabnzbd and do not wish to use one from this app either. Since no one outside of the network can get to it anyway.
2. Userscript isn't working for me(using chrome)
Last edited by fr0st on July 3rd, 2010, 12:45 am, edited 1 time in total.
fr0st
Newbie
Newbie
 
Posts: 11
Joined: March 15th, 2010, 1:21 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby RuudBurger » July 3rd, 2010, 6:31 am

Password can be removed (nothing filled in) and should be fine. same goes for password for SABnzbd

Is the userscript installed under extensions?

Edit: userscript should work with the latest release.
Last edited by RuudBurger on July 3rd, 2010, 7:41 am, edited 1 time in total.
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: 304
Joined: July 2nd, 2010, 7:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby jbw » July 3rd, 2010, 9:14 am

Hey there. Liking the look of this app. Literally just installed so haven't actually given it a good go yet. I did however run into a few issues installing this on Mac OSX Leopard. All up and running now... details of errors and fixes below.

OSX install notes suggest Leopard (10.5) comes with Python 2.6 installed, mine didn't. If you receive the following error when you first run moviemanager it's because you're using python 2.5. Upgrade at: http://www.python.org/download/releases/2.6.5/
username:moviemanager username$ python MovieManager.py
/Users/username/moviemanager/app/config/configApp.py:81: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
 File "MovieManager.py", line 21, in
   from app.config.configApp import configApp
 File "/Users/username/moviemanager/app/config/configApp.py", line 81
   with open(self.file, 'wb') as configfile:
           ^
SyntaxError: invalid syntax
username:moviemanager username$ python --version
Python 2.5.1


Having done this moviemanager loads fine, SAB is cool but sickbeard throws an error about 'No module named Cheetah.Template'. This error is caused by running an old version of cheetah (2.0.1 in my case). Upgrade to 2.2.1 to fix the sickbeard error. cheetah can be found here: http://sourceforge.net/projects/cheetahtemplate/files/
extract and install cheetah by doing the following (change 'cd' location to match where the cheetah install is)
cd ~/Desktop/Cheetah-2.2.1/
python setup.py install


EDIT - had some time now to play around. Great work! The only thing I'd like to see added is greater choice of quality. Something like the following would be perfect.

1080p
720p
DVD
dvdrip (2cd)
dvdrip
ts
cam
Last edited by jbw on July 3rd, 2010, 9:35 am, edited 1 time in total.
jbw
Release Testers
Release Testers
 
Posts: 11
Joined: January 12th, 2009, 5:19 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby RuudBurger » July 3rd, 2010, 9:38 am

Thanks for the fix, i've added a little note for 10.5 users to upgrade to python 2.6.

I'm working on an updated Quality function. should include all those mentioned.
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: 304
Joined: July 2nd, 2010, 7:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby fr0st » July 3rd, 2010, 12:54 pm

All works good now. Clean and simple. Now I just need to get an iis6 redirect to this app up.

Requests:
Restart button
Posters beside movie names


Thanks!
fr0st
Newbie
Newbie
 
Posts: 11
Joined: March 15th, 2010, 1:21 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby rascalli » July 4th, 2010, 3:30 am

Been looking for something like this for a long time

Now I can set movies & forget about it ;-)


Little request :

* would it be possible to merge cd1 & cd2  into one file with the script ?


I used to have this in my script ,  with the following command .. maybe it helps ??

Code: Select all
   if [ `find . -size +629145600c -regex '.*/.*\.avi' | wc -l` -eq 2 ]
      then
      FILEZ[1]="$FOLDER_PATH`find . -size +629145600c -regex '.*/.*\.avi' | sort | sed -n '1p' | sed 's/^\.//'`"
      FILEZ[2]="$FOLDER_PATH`find . -size +629145600c -regex '.*/.*\.avi' | sort | sed -n '2p' | sed 's/^\.//'`"
      echo "Joining Files..." >> /home/mario/.sabnzbd/logs/sab_proc.log
      mencoder -forceidx -ovc copy -oac copy -o "$FOLDER_PATH/$MOVIE_NAME".avi "${FILEZ[1]}" "${FILEZ[2]}"
User avatar
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: NZB Movie Manager - Automatic Movie Downloader

Postby pspgimp » July 4th, 2010, 5:02 am

Hi really excited about this, installed on my Linux intel based SAN device doing a GIT clone, however when I try to run MovieManager I get the following.



[/share/MD0_DATA/.qpkg/Movie-Manager] # python MovieManager.py -d               /share/MD0_DATA/.qpkg/Movie-Manager/app/config/configApp.py:81: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
 File "MovieManager.py", line 21, in
   from app.config.configApp import configApp
 File "/share/MD0_DATA/.qpkg/Movie-Manager/app/config/configApp.py", line 81
   with open(self.file, 'wb') as configfile:
           ^
SyntaxError: invalid syntax


I do have other python apps running and other web based applications on the SAN, could it be a conflict there ?


EDIT. Just noticed that you script says 2.6 of python however my version is only 2.5.2 could that be the issue ?
Last edited by pspgimp on July 4th, 2010, 5:38 am, edited 1 time in total.
pspgimp
Newbie
Newbie
 
Posts: 44
Joined: October 17th, 2009, 6:05 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby rascalli » July 4th, 2010, 5:39 am

After using it I have some questions :

* How does it select what to download ?
  - I have seen that there are 2 releases for a dvdrip , but it then grabs the biggest one
  - Maybe an option to set max size ?
  - Or more categories as mentioned before

* How does it do the renaming ?
  - I have it set to rename, but it does not do that.
  - Do I need to set a python script (as for example wih sickbeard)
User avatar
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: NZB Movie Manager - Automatic Movie Downloader

Postby jbw » July 4th, 2010, 9:24 am

pspgimp wrote:Hi really excited about this, installed on my Linux intel based SAN device doing a GIT clone, however when I try to run MovieManager I get the following.



[/share/MD0_DATA/.qpkg/Movie-Manager] # python MovieManager.py -d               /share/MD0_DATA/.qpkg/Movie-Manager/app/config/configApp.py:81: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
 File "MovieManager.py", line 21, in
   from app.config.configApp import configApp
 File "/share/MD0_DATA/.qpkg/Movie-Manager/app/config/configApp.py", line 81
   with open(self.file, 'wb') as configfile:
           ^
SyntaxError: invalid syntax


I do have other python apps running and other web based applications on the SAN, could it be a conflict there ?


EDIT. Just noticed that you script says 2.6 of python however my version is only 2.5.2 could that be the issue ?


Yep my earlier post contains this same error. Fixed it by updating to 2.6.
Nice to hear the extra quality settings are on their way! :)
jbw
Release Testers
Release Testers
 
Posts: 11
Joined: January 12th, 2009, 5:19 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby RuudBurger » July 4th, 2010, 9:31 am

rascalli wrote:After using it I have some questions :

* How does it select what to download ?
  - I have seen that there are 2 releases for a dvdrip , but it then grabs the biggest one
  - Maybe an option to set max size ?
  - Or more categories as mentioned before

* How does it do the renaming ?
  - I have it set to rename, but it does not do that.
  - Do I need to set a python script (as for example wih sickbeard)


No max setting (yet) so it just.

For the renaming no python script needed in sabnzbd. Just set you movie download folder, and where you want them to go.
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: 304
Joined: July 2nd, 2010, 7:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Postby rascalli » July 4th, 2010, 9:47 am

I did that, but somehow it is not renaming or replacing it .... any idea ?
User avatar
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: NZB Movie Manager - Automatic Movie Downloader

Postby RuudBurger » July 4th, 2010, 9:49 am

Check the log for "log.cron.cronRenamer" and it should say something like "Moved xx to yy"
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: 304
Joined: July 2nd, 2010, 7:11 am

Next

Return to Third-party Addons