MovieGrabber - Completely Automated Movie Downloader

Got a program that plays well with SABnzbd? Share it here!
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Re: MovieGrabber - Completely Automated Movie Downloader

Post by roontoon »

Just tried this and it is doing the same thing. This line is throwing the error in the traceback, (am I right?)

Code: Select all

Traceback (most recent call last):
  File "moviegrabber.py", line 3530, in RunDownloader
    MetaData()
  File "moviegrabber.py", line 1612, in MetaData
    ErrorLogging("MyMovies Creation Function")
  File "moviegrabber.py", line 1526, in MetaData
    imdb_movie_director_name = imdb_movie_director["name"]["name"]
TypeError: string indices must be integers, not str
 
I don't see what this has to do with the SMTP server.
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

roontoon wrote:Just tried this and it is doing the same thing. This line is throwing the error in the traceback, (am I right?)

Code: Select all

Traceback (most recent call last):
  File "moviegrabber.py", line 3530, in RunDownloader
    MetaData()
  File "moviegrabber.py", line 1612, in MetaData
    ErrorLogging("MyMovies Creation Function")
  File "moviegrabber.py", line 1526, in MetaData
    imdb_movie_director_name = imdb_movie_director["name"]["name"]
TypeError: string indices must be integers, not str
 
I don't see what this has to do with the SMTP server.
ok this is a known bug and is fixed in the next release 2.1.3, its due to imdb not having the directors name and is not related to mail notification, i think the email notification is now working. can you please download 2.1.3, to upgrade simply shutdown moviegrabber and then unzip to the same root folder overwritting all files, then start and try a run now.
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Re: MovieGrabber - Completely Automated Movie Downloader

Post by roontoon »

Ok will try tonight.
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Re: MovieGrabber - Completely Automated Movie Downloader

Post by roontoon »

Got a new issue with the new build....

On launch I get the traceback below.

Code: Select all

Traceback (most recent call last):
  File "moviegrabber.py", line 102, in <module>
    from Cheetah.Template import Template
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 54, in <module>
    from Cheetah.Compiler import Compiler, DEFAULT_COMPILER_SETTINGS
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Compiler.py", line 1514
    self.setSetting('useStackFrames', False)                    
    ^
IndentationError: expected an indented block
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

roontoon wrote:Got a new issue with the new build....

On launch I get the traceback below.

Code: Select all

Traceback (most recent call last):
  File "moviegrabber.py", line 102, in <module>
    from Cheetah.Template import Template
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 54, in <module>
    from Cheetah.Compiler import Compiler, DEFAULT_COMPILER_SETTINGS
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Compiler.py", line 1514
    self.setSetting('useStackFrames', False)                    
    ^
IndentationError: expected an indented block
arghh!, my bad, can you re-download 2.1.3 again, should have this fixed now.
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Got no moviegrabber love

Post by roontoon »

binhex wrote:arghh!, my bad, can you re-download 2.1.3 again, should have this fixed now.
;D

Just tried again and got some errors. ??? First is the traceback from the console and the second is from a 500 internal server error from the browser.

Code: Select all

[14/Dec/2011:15:38:09] ENGINE Listening for SIGHUP.
[14/Dec/2011:15:38:09] ENGINE Listening for SIGTERM.
[14/Dec/2011:15:38:09] ENGINE Listening for SIGUSR1.
[14/Dec/2011:15:38:09] ENGINE Bus STARTING
[14/Dec/2011:15:38:09] ENGINE Started monitor thread 'Monitor'.
[14/Dec/2011:15:38:09] ENGINE Started monitor thread '_TimeoutMonitor'.
[14/Dec/2011:15:38:09] ENGINE Serving on 127.0.0.1:9191
[14/Dec/2011:15:38:09] ENGINE Bus STARTED
[14/Dec/2011:15:38:25] HTTP 
Request Headers:
  HOST: 127.0.0.1:9191
  CONNECTION: keep-alive
  Remote-Addr: 127.0.0.1
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7
  ACCEPT-LANGUAGE: en-us
  ACCEPT-ENCODING: gzip, deflate
[14/Dec/2011:15:38:25] HTTP Traceback (most recent call last):
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "moviegrabber.py", line 4794, in index
    template = Template(file = os.path.join(templates_dir, "home.tmpl"))
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 1259, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 1553, in _compile
    keepRefToGeneratedCode=True)
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 740, in compile
    settings=(compilerSettings or {}))
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Compiler.py", line 1508, in __init__
    warnings.warn()
TypeError: Required argument 'message' (pos 1) not found

127.0.0.1 - - [14/Dec/2011:15:38:25] "GET / HTTP/1.1" 500 2107 "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7"
from the browser

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 "/Library/WebServer/Documents/moviegrabber/lib/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "moviegrabber.py", line 4794, in index
    template = Template(file = os.path.join(templates_dir, "home.tmpl"))
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 1259, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 1553, in _compile
    keepRefToGeneratedCode=True)
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Template.py", line 740, in compile
    settings=(compilerSettings or {}))
  File "/Library/WebServer/Documents/moviegrabber/lib/site-packages/Cheetah/Compiler.py", line 1508, in __init__
    warnings.warn()
TypeError: Required argument 'message' (pos 1) not found
Powered by CherryPy 3.2.2
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

Got it! Ok grab 2.1.3 one more time. >:D
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Woot!

Post by roontoon »

Yea it's working.... No errors in any logs!! ;D

Now for a couple of questions. The only folders that are getting any data are the metadata and watched folder. As per this screen shot. http://screencast.com/t/1panEm8Wsn I don't quite understand why the queue is not populating with data. I would like to set my filter to a low threshold put it in the queue and at that time I can review the queue and release the nab for download. Does this describe correctly how the queue is suppose to work. Not sure why there is nothing there. Thanks for getting me this far!


Edit: Got the queue working....
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Re: MovieGrabber - Completely Automated Movie Downloader

Post by roontoon »

Seems to be running well!! Thanks. I do have a question, can moviegrabber filter out movies that have been dubbed? For instance there are several movies that were made in the US and then dubbed in German and on NZB.su they are listed as movies>foreign. Example here http://screencast.com/t/bdEwskFv21. The foreign tag is on all of these types of films. Thanks again.
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

roontoon wrote:Seems to be running well!! Thanks. I do have a question, can moviegrabber filter out movies that have been dubbed? For instance there are several movies that were made in the US and then dubbed in German and on NZB.su they are listed as movies>foreign. Example here http://screencast.com/t/bdEwskFv21. The foreign tag is on all of these types of films. Thanks again.
there are two ways to filter out non english movies:-

The first and easiest method is to stop using the "all formats" category and narrow down the "category" to the media type you want, go to configuration/website and then on the dropdown for category select a closer match, for instance if your after hd material then choose hd/x264, this should then stop any "foreign" movies from slipping in. If your already doing this then you may need to employ the second method:-

The second way is to put in negative search criteria, for e.g.:-

+720p +bluray -german -french

this will then filter out any post titles with either the string "german" or "french".

both methods are not completely 100% but it will def help reduce the number of foreign movies potentially downloaded.

binhex.
Mikie
Newbie
Newbie
Posts: 10
Joined: October 21st, 2011, 10:46 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by Mikie »

How do I use the download link?

Worked it out.
Last edited by Mikie on December 27th, 2011, 10:29 am, edited 1 time in total.
steve1977
Newbie
Newbie
Posts: 26
Joined: July 4th, 2010, 12:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by steve1977 »

Any easy how-to to get it running on mac os? Thanks!
Mikie
Newbie
Newbie
Posts: 10
Joined: October 21st, 2011, 10:46 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by Mikie »

Is there a way to set a category in sabnzbd+ for movies moviegrabber downloads?

Is there any sort of api or any thought of adding one?
war59312
Jr. Member
Jr. Member
Posts: 86
Joined: January 4th, 2011, 11:24 pm
Location: U.S.A
Contact:

Re: MovieGrabber - Completely Automated Movie Downloader

Post by war59312 »

I had version 2.0.7 working just fine.

Tried to upgrade to 2.1.3 and now I get this, and yes I tried a clean install too:
Traceback (most recent call last):
File "MovieGrabber.py", line 372, in <module>
WebConfigWrite()
File "MovieGrabber.py", line 317, in WebConfigWrite
webconfig_parser.set("/", "tools.auth_basic.checkpassword", cherrypy.lib.auth_basic.checkpassword_dict({"":""}))
AttributeError: 'module' object has no attribute 'auth_basic'
I get that error as soon as I run: "python MovieGrabber.py".

Running Ubuntu Server 11.04.
steve1977
Newbie
Newbie
Posts: 26
Joined: July 4th, 2010, 12:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by steve1977 »

Got it running on mac osx just by executing the py file (python moviegrabber.py). That was easier than anticipated... ;-)

Facing one problem though - I have set up everything. After pressing "run now", I am getting an error message saying "python quit unexpectedly". Details as follows:


Process: Python [357]
Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: Python [325]

Date/Time: 2011-12-28 02:04:48.474 +0800
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9

Interval Since Last Report: 181091 sec
Crashes Since Last Report: 5
Per-App Crashes Since Last Report: 5
Anonymous UUID: 0797F0F6-28A7-4D64-B9E2-C7ED72C0ED5C

Crashed Thread: 0

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000108

VM Regions Near 0x108:
-->
__TEXT 000000010eb70000-000000010eb71000 [ 4K] r-x/rwx SM=COW /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Application Specific Information:
objc[325]: garbage collection is OFF

Thread 0 Crashed:
0 libdispatch.dylib 0x00007fff8f26bce9 _dispatch_wakeup + 108
1 libdispatch.dylib 0x00007fff8f26e876 _dispatch_resume_slow + 20
2 com.apple.CoreFoundation 0x00007fff8627462c -[NSXPCConnection start] + 92
3 com.apple.CoreFoundation 0x00007fff86276ca3 __CFXNotificationCenterSetupConnection + 387
4 com.apple.CoreFoundation 0x00007fff86276b11 __CFXNotificationCenterCreate + 273
5 com.apple.CoreFoundation 0x00007fff862769ea __CFNotificationCenterGetDistributedCenter_block_invoke_1 + 26
6 libdispatch.dylib 0x00007fff8f26e224 dispatch_once_f + 53
7 com.apple.CoreFoundation 0x00007fff86265e0a CFNotificationCenterGetDistributedCenter + 74
8 com.apple.CoreFoundation 0x00007fff862a4eb8 ____CFXPreferencesGetSourceForTriplet_block_invoke_1 + 40
9 libdispatch.dylib 0x00007fff8f26e224 dispatch_once_f + 53
10 com.apple.CoreFoundation 0x00007fff86271a4a __CFXPreferencesGetSourceForTriplet + 58
11 com.apple.CoreFoundation 0x00007fff8627de67 __CFXPreferencesGetSearchListForBundleID + 215
12 com.apple.CoreFoundation 0x00007fff8627dd48 ___CFXPreferencesCopyAppValue_block_invoke_1 + 24
13 com.apple.CoreFoundation 0x00007fff8627dcea CFPreferencesCopyAppValue + 218
14 com.apple.SystemConfiguration 0x00007fff8448988c SCDynamicStoreCopyProxies + 43
(...)
Post Reply