Page 1 of 88
CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 2nd, 2010, 6:14 am
by RuudBurger
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/CouchPotat ... er/todo.md
Changelog:
http://github.com/RuudBurger/CouchPotat ... angelog.md
[url=http://"http://github.com/RuudBurger/CouchPotato"]
[/url]
Screenshot of the UserScript:
More info & download can be found on:
http://github.com/RuudBurger/CouchPotato
Windows Binary Download
Donate:
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]
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 2nd, 2010, 9:56 am
by JayBird
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?
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 2nd, 2010, 12:24 pm
by RuudBurger
Hehe. GitHub is the best place.
Thanks!
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 2nd, 2010, 11:02 pm
by fr0st
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)
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 3rd, 2010, 5:31 am
by RuudBurger
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.
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 3rd, 2010, 8:14 am
by jbw
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
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 3rd, 2010, 8:38 am
by RuudBurger
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.
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 3rd, 2010, 11:54 am
by fr0st
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!
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 2:30 am
by rascalli
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]}"
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 4:02 am
by pspgimp
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 ?
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 4:39 am
by rascalli
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)
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 8:24 am
by jbw
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!
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 8:31 am
by RuudBurger
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.
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 8:47 am
by rascalli
I did that, but somehow it is not renaming or replacing it .... any idea ?
Re: NZB Movie Manager - Automatic Movie Downloader
Posted: July 4th, 2010, 8:49 am
by RuudBurger
Check the log for "log.cron.cronRenamer" and it should say something like "Moved xx to yy"