<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 16, 2015 at 2:04 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/16/2015 12:44 PM, Phil Bridges wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
< confpath = os.path.join(confdir, 'pytmdb3.cache')<br>
---<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> confpath = os.path.join(confdir, 'cache', 'pytmdb3.cache')<br>
</blockquote></blockquote>
<br></span>
Forgot that there's now a cache directory in 0.28-pre, so the<br>
version I'm using may not work for you.<br>
<br>
It might be worthwhile to remove your tmdb3.cache. I tried it and it failed<br>
like yours:<br>
<br>
/usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 116149<br>
...<span class=""><br>
status = status_handlers[data.get('status_code', 1)]<br>
KeyError: 25<br>
<br></span>
Then I ran /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 11614<br>
(note the missing last digit):<br>
<br>
and it worked, as did the original (-D 116149.) And I repeated it<br>
eight times. All returned the same non-errored result.<div class="HOEnZb"><div class="h5"><br>
<br></div></div></blockquote><div><br></div><div>The first few times I ran the 11614 query it worked fine, then it crashed with the same error. Running it again worked. I can't seem to figure out why it errors sometimes, and doesn't others.</div></div></div></div>