[mythtv-users] imdbpy.py error

Doug Vaughan r.d.vaughan at rogers.com
Sat Nov 14 03:55:15 UTC 2009


Mark,
    I am a little surprised that your wrapper script crashed jamu as the 
imdb.py was crashing with out aborting jamu. Did you figure out what has 
caused imdb.py to abort or have you created a substitute for imdb.py? Is 
your wrapper outputing text to stdout if it has problems? Jamu is only 
expecting key value pairs from stdout while any error text should be 
sent to stderr.

 From the little I gleamed from the imdb.py abort messages it seems that 
the metadata it gets from IMDB is different then what used to be 
returned. Basically a list rather than a string. I suspect if imdb.py 
was change to appreciate this format change it would work again. See:
"TypeError: coercing to Unicode: need string or buffer, list found"

imdb.py option -M still works but -D (text metadata) and -P URLs for 
movie posters both fail. I thought that -P option was broken a while ago 
due to IMDB TOS about image downloads. But I could be wrong.

To test just run imdb.py from the command line rather than involve jamu.

Doug


More information about the mythtv-users mailing list