CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!
User avatar
rascalli
Moderator
Moderator
Posts: 666
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: NZB Movie Manager - Automatic Movie Downloader

Post by rascalli »

Sure we can .. I love this app ...

I did a new standard install, and it worked when starting with puthon (so no init script)

But after an error because of the file being unpacked, the renamer stopped


And we can always chat in IRC  or maybe MSN

jonaskp
Newbie
Newbie
Posts: 37
Joined: July 5th, 2010, 6:07 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by jonaskp »

Thanks for your reply earlier, I found the "download Source" button which was what I had trouble finding.
After reading some of the posts regarding the QNAP and python, I decided to give up on that and just run it from my windows server instead.

Looks to be working - sort of. I can add movies, and it finds the ones that I believe it should find (aka new movies that has been released are found, new movies that has not yet are not found). It sends the files to SABNZBD running on my Qnap and they are downloaded fine.
But after this nothing happens. In the interface, they still show up as "Snatched", even though they finished downloading 6 hours ago. I tried changing the way I connected to the share (mounted it instead of directly) but it did not help.
In the log I can't find anything about "rename" process.

So for now I am doing this manually. I am thinking of moving SABNZBD to my Windows Server as well, since it doesn't look like it's running exceptionally there anyway, so I'll get back with this issue if it still persists after running Sabnzbd and Movie Manager on the same machine.


I have one feature request: More renaming options. I would like to add the quality (720p, 1080p, DVDrip etc.) to the movie name. Is this possible?


btw, the new quality settings look amazing. This is sort of the same way it is handled in Sick Beard when choosing "best" quality, and it looks cool. I really like the "wait for x days" before downloading the lower qualitys. One question: Will it still search for the prefered quealitys during these x-number of days?

User avatar
rascalli
Moderator
Moderator
Posts: 666
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: NZB Movie Manager - Automatic Movie Downloader

Post by rascalli »

HAve a look what the log is saying.
As I have the same sometimes that the renamer stops working

pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by pspgimp »

Hi Just updateed to the latest version by doing a git pull, this is on an install that never worked by the way, it had the movie year error from birth.

Anyway, when you try to add a movie it first of all finds the movie on IMDB but after that when you select a quality, say 720p and click add I just get a spinning symbol and it never adds the movie.

Also on another install I have it does the same.

RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by RuudBurger »

Should be fixed now.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum

pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by pspgimp »

mmm, I got one to be added, but it sits for ages spinning, next one does not seem to complete, found the following in the log

12:11:42,434 INFO  [app.controllers.movie] Searching for: happy gilmore
12:11:42,437 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Searching for movie: happy gilmore
12:11:42,439 INFO  [app.lib.provider.movie.sources.theMovieDb] Search url: http://api.themoviedb.org/2.1/Movie.sea ... py+gilmore
12:11:58,117 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Parsing RSS
12:11:58,135 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '1996', 'imdb': 'tt0116483', 'id': 9614, 'name': u'Happy Gilmore'}, {'year': '1996', 'imdb': 'tt0116483', 'id': 9614, 'name': u'Happy Gilmore - Ein Champ zum Verlieben'}]
12:12:09,726 INFO  [app.controllers.movie] Searching for: happy gilmore
12:12:09,782 CRITI [stderr] [08/Jul/2010:12:12:09] HTTP Traceback (most recent call last):
  File "/home/administrator/moviemanager/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/home/administrator/moviemanager/app/config/render.py", line 13, in __call__
    env.update(self.next_handler())
  File "/home/administrator/moviemanager/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/administrator/moviemanager/app/controllers/movie.py", line 87, in search
    results = cherrypy.session['results']
  File "/home/administrator/moviemanager/cherrypy/__init__.py", line 323, in __getitem__
    return child[key]
  File "/home/administrator/moviemanager/cherrypy/lib/sessions.py", line 167, in __getitem__
    return self._data[key]
KeyError: 'results'

Also how does the quality setting work ? I only seem to be able to select one type, say 720p ?

jonaskp
Newbie
Newbie
Posts: 37
Joined: July 5th, 2010, 6:07 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by jonaskp »

Ruudburger, did you also update the windows package for the new release? I redownloaded, and still just stops after the spinning icon.

The quality settings looks very good and is very intuitive to setup imo. One thing that would be nice, is if you could put in "wait for x days" between some of the quality settings. I prefer 1080p, but would like it to download 720p right away, since this is still HD. If it only finds the DVDrip however, I would like it to wait a little.
Something like:

1080p
720p
---
Wait for 3 days
---
DVDrip
R5
etc.

Also, after the newest release, the settings dialog seems messed up on my OSX in Safari. It's like alle the settings pages are on the same page, just beneath each other. Was working without problems on previously release.

Renaming still doesn't work right for me. I got it to move the downloaded files to the new location, but the naming doesn't change. I'll see if it works in latest release once the windows package gets updated.


Despite all of this, this is a great tool, so keep up the good work.

RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by RuudBurger »

@jonaskp
No windows update yet.
Seems to work fine in safari here. maybe clear you cache?

@pspgimp
Do another git pull, logging was (maybe still is?) messed up. Hope I fixed it.. I don't get the whole Threading stuff just yet.
Also, the quality stuff is in your settings.
Last edited by RuudBurger on July 8th, 2010, 6:58 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

jonaskp
Newbie
Newbie
Posts: 37
Joined: July 5th, 2010, 6:07 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by jonaskp »

Clearing the Cache did the trick, thanks.

I'll wait impatiently for the windows update then  :D

Any thoughts on adding more renaming options?

RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by RuudBurger »

New Windows build is up. http://cl.ly/2b7a21de73313725cc32
Damn do I hate compiling stuff :P
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum

pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by pspgimp »

on one of the installs I am playing with I am getting a spinning logo as if I am searching still, fo ever, and the logs look like this

14:22:38,069 INFO  [app.controllers.movie] Searching for: heat
14:22:38,083 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Searching for movie: heat
14:22:38,120 INFO  [app.lib.provider.movie.sources.theMovieDb] Search url: http://api.themoviedb.org/2.1/Movie.sea ... f9543/heat
14:22:58,448 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Parsing RSS
14:23:01,417 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '1972', 'imdb': 'tt0068688', 'id': 4579, 'name': u'Heat'}, {'year': '1972', 'imdb': 'tt0068688', 'id': 4579, 'name': u'Andy Warhols Heat'}, {'year': '1995', 'imdb': 'tt0113277', 'id': 949, 'name': u'Heat'}, {'year': '1995', 'imdb': 'tt0113277', 'id': 949, 'name': u'Heat 1995'}, {'year': '1988', 'imdb': 'tt0095963', 'id': 9604, 'name': u'Red Heat'}, {'year': '1953', 'imdb': 'tt0045555', 'id': 14580, 'name': u'The Big Heat'}, {'year': '1949', 'imdb': 'tt0042041', 'id': 15794, 'name': u'White Heat'}, {'year': '1984', 'imdb': 'tt0087062', 'id': 16969, 'name': u'City Heat'}, {'year': '1999', 'imdb': 'tt0139151', 'id': 19091, 'name': u'Desert Heat'}, {'year': '1999', 'imdb': 'tt0139151', 'id': 19091, 'name': u'Inferno'}, {'year': '2002', 'imdb': 'tt0277744', 'id': 20053, 'name': u'Dead Heat'}]
14:24:25,355 INFO  [app.controllers.movie] Searching for: heat

RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by RuudBurger »

Is that on the most up to date version?
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum

pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by pspgimp »

yes mate, just tried my home install - doing a git pull first and same on that also.

just noticed this coming up in my home installation's Terminal that I am running the python script from whilst I suss out how to auto start when my NAS starts up



[08/Jul/2010:14:46:42] HTTP Traceback (most recent call last):
  File "/share/MD0_DATA/.qpkg/Movie-Manager/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/share/MD0_DATA/.qpkg/Movie-Manager/app/config/render.py", line 13, in __call__
    env.update(self.next_handler())
  File "/share/MD0_DATA/.qpkg/Movie-Manager/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/share/MD0_DATA/.qpkg/Movie-Manager/app/controllers/movie.py", line 87, in search
    results = cherrypy.session['results']
  File "/share/MD0_DATA/.qpkg/Movie-Manager/cherrypy/__init__.py", line 323, in __getitem__
    return child[key]
  File "/share/MD0_DATA/.qpkg/Movie-Manager/cherrypy/lib/sessions.py", line 167, in __getitem__
    return self._data[key]
KeyError: 'results'


Also just checked this also happens on a Linux Mint machine I am building for a colleague at work also.
Last edited by pspgimp on July 8th, 2010, 8:59 am, edited 1 time in total.

jonaskp
Newbie
Newbie
Posts: 37
Joined: July 5th, 2010, 6:07 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by jonaskp »

Thanks for the windows update. I tried it, but it seems theres an issue.

I can add almost no new movies. When I try, it searches and finds the list of movies, I pick the right one and press "Add" again, and then it just hangs. THe little circle keeps spinning, but nothing get's added.

This is what the log says:

Code: Select all

15:34:43,851 INFO  [app.controllers.movie] Searching for: avatar
15:34:43,852 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Searching for movie: avatar
15:34:43,854 INFO  [app.lib.provider.movie.sources.theMovieDb] Search url: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/avatar
15:34:44,122 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Parsing RSS
15:34:44,785 INFO  [app.lib.provider.movie.sources.theMovieDb] Found movie, but with no date, getting data from tt1116023.
15:34:45,546 WARNI [imdbpy.parser.http.domparser] unable to use "lxml": No module named lxml
15:34:45,548 WARNI [imdbpy.parser.http.domparser] falling back to "beautifulsoup"
15:34:46,890 ERROR [imdbpy.parser.http.domparser] DOMHTMLMovieParser: caught exception extracting XPath "//div[@id='tn15title']//span[starts-with(text(), 'TV series')]"
Traceback (most recent call last):
  File "..\build\pyi.win32\MovieManager\outPYZ1.pyz/imdb.parser.http.utils", line 517, in xpath
  File "..\build\pyi.win32\MovieManager\outPYZ1.pyz/imdb.parser.http.bsouplxml.etree", line 57, in xpath
  File "..\build\pyi.win32\MovieManager\outPYZ1.pyz/imdb.parser.http.bsouplxml.bsoupxpath", line 113, in apply
  File "..\build\pyi.win32\MovieManager\outPYZ1.pyz/imdb.parser.http.bsouplxml.bsoupxpath", line 287, in apply
  File "..\build\pyi.win32\MovieManager\outPYZ1.pyz/imdb.parser.http.bsouplxml.bsoupxpath", line 331, in __call__
  File "..\build\pyi.win32\MovieManager\outPYZ1.pyz/imdb.parser.http.bsouplxml.bsoupxpath", line 360, in __starts_with
IndexError: list index out of range
15:34:47,872 WARNI [imdbpy.parser.http.domparser] unable to use "lxml": No module named lxml
15:34:47,874 WARNI [imdbpy.parser.http.domparser] falling back to "beautifulsoup"
15:34:48,016 WARNI [imdbpy.parser.http.domparser] unable to use "lxml": No module named lxml
15:34:48,016 WARNI [imdbpy.parser.http.domparser] falling back to "beautifulsoup"
15:34:48,138 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '2009', 'imdb': 'tt0499549', 'id': 19995, 'name': u'Avatar'}, {'year': '2009', 'imdb': 'tt0499549', 'id': 19995, 'name': u'James Camerons Avatar'}, {'year': '2014', 'imdb': 'tt1630029', 'id': 37739, 'name': u'Avatar 2'}, {'year': '2014', 'imdb': 'tt1630029', 'id': 37739, 'name': u'Navi'}, {'year': '2007', 'imdb': 'tt0884335', 'id': 13336, 'name': u'Chrysalis'}, {'year': '2007', 'imdb': 'tt0884335', 'id': 13336, 'name': u'Avatar'}, {'year': '2010', 'imdb': None, 'id': 38110, 'name': u'RiffTrax Avatar'}, {'year': '2010', 'imdb': None, 'id': 38110, 'name': u'RiffTrax - Avatar'}, {'year': '2009', 'imdb': 'tt1599280', 'id': 31631, 'name': u'Avatar Creating the World of Pandora'}, {'year': '2009', 'imdb': 'tt1599280', 'id': 31631, 'name': u'Avatar Aufbruch nach Pandora'}, {'year': '2008', 'imdb': 'tt0940580', 'id': 1782, 'name': u'Afterwards'}, {'year': '2008', 'imdb': 'tt1224366', 'id': 8926, 'name': u'Afterschool'}, {'year': 2007, 'imdb': 'tt1116023', 'id': 39172, 'name': u'After'}]
15:34:48,141 INFO  [app.lib.provider.movie.sources.imdbWrapper] IMDB - Searching for movie: RiffTrax Avatar (2010)
15:34:49,405 INFO  [app.lib.provider.movie.sources.imdbWrapper] IMDB - Searching for movie: RiffTrax - Avatar (2010)
15:34:55,496 INFO  [app.controllers.movie] Searching for: avatar
Funny thing is I am able to add movies that are not out yet. Tried adding Tron Legacy and Avatar 2, and they got added fine to the list.

pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: NZB Movie Manager - Automatic Movie Downloader

Post by pspgimp »

glad it's not just my two installs !  :D

Post Reply