<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 11, 2015 at 9:40 PM, Phil Bridges <span dir="ltr"><<a href="mailto:gravityhammer@gmail.com" target="_blank">gravityhammer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Sep 11, 2015 at 5:14 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 09/11/2015 03:52 PM, Phil Bridges wrote:<br>
...<span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
If I manually run "/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US<br>
-D 116149", I get:<br>
<br>
Traceback (most recent call last):<br>
</blockquote></blockquote>
<br></span>
...<span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/request.py", line 163, in handle_status<br>
status = status_handlers[data.get('status_code', 1)]<br>
KeyError: 25<br>
</blockquote></blockquote>
<br></span>
I ran the above (in 0.28-pre) and got<br>
<br>
File "/usr/local/lib/python2.7/dist-packages/MythTV/tmdb3/request.py", line 163, in handle_status<span><br>
status = status_handlers[data.get('status_code', 1)]<br>
<br></span>
Then I remembered that my programs live in /usr/local/... e.g:<br>
<br>
/usr/local/share/mythtv/metadata/Movie/tmdb3.py<br>
<br>
Which works OK. Possibly, you've got the wrong version of tmdb3.py.<br>
I also ran without the -l and -a options in between tests.<span><font color="#888888"><br>
<br>
-- <br>
Bill<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></font></span></blockquote><div><br></div></div></div><div>Thanks for the response. I verified that I had only 1 instance of tmdb3.py, located here: /usr/share/mythtv/metadata/Movie/tmdb3.py</div><div><br></div><div>Here's something interesting: I pulled up the info for Paddington today. It found the right movie, and had artwork. I selected it through mythfrontend, but it is nowhere to be found when I browse my videos - I see a question mark for the image, and no description. Here's the log of that:</div><div><br></div><div><div>2015-09-11 21:27:03.334171 E [2531/2531] CoreContext xmlparsebase.cpp:350 (ParseChildren) - XMLParseBase: Parent is NULL</div><div>2015-09-11 21:27:07.757592 I [2531/24405] MetadataDownload metadatagrabber.cpp:455 (RunGrabber) - Running Grabber: /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -M Paddington</div><div>2015-09-11 21:27:09.260860 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.260955 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.261073 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.261165 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.261273 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.261372 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.261476 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.458891 I [2531/24405] MetadataDownload metadatagrabber.cpp:455 (RunGrabber) - Running Grabber: /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -M Paddington</div><div>2015-09-11 21:27:09.659252 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.659379 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.659511 I [2531/24405] MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) - Result Found, Season 0 Episode 0</div><div>2015-09-11 21:27:09.659559 I [2531/24405] MetadataDownload metadatadownload.cpp:176 (run) - Returning Metadata Results: Paddington 0 0</div><div>2015-09-11 21:27:13.065628 I [2531/24424] MetadataDownload metadatagrabber.cpp:455 (RunGrabber) - Running Grabber: /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 116149</div><div>2015-09-11 21:27:15.567285 I [2531/24424] MetadataDownload metadatagrabber.cpp:455 (RunGrabber) - Running Grabber: /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -C 116149</div><div>2015-09-11 21:27:15.867670 I [2531/24424] MetadataDownload metadatadownload.cpp:187 (run) - Metadata Lookup Failed: No Results Paddington 0 0</div><div>2015-09-11 21:27:15.872372 I [2531/2531] CoreContext videodlg.cpp:3347 (customEvent) - No results found for Paddington 0 0</div></div><div><br></div></div><br></div></div>
</blockquote></div><br></div><div class="gmail_extra"><div class="gmail_extra" style="font-size:12.8px">As another follow-up:</div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px">I just ran this command twice. The first time, I got:</div><div class="gmail_extra" style=""><div class="gmail_extra" style="font-size:12.8px">~ # /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 116149</div><span class="im" style="font-size:12.8px"><div class="gmail_extra">Traceback (most recent call last):</div></span><span class="im" style="font-size:12.8px"><div class="gmail_extra"> File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 300, in <module></div><div class="gmail_extra"> main()</div><div class="gmail_extra"> File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 294, in main</div><div class="gmail_extra"> buildSingle(args[0], opts)</div><div class="gmail_extra"> File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 88, in buildSingle</div><div class="gmail_extra"> if cast.profile: d['thumb'] = cast.profile.geturl()</div><div class="gmail_extra"> File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line 153, in __get__</div><div class="gmail_extra"> self.poller.__get__(inst, owner)()</div><div class="gmail_extra"> File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line 80, in __call__</div><div class="gmail_extra"> self.apply(req.readJSON())</div><div class="gmail_extra"> File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/cache.py", line 118, in __call__</div><div class="gmail_extra"> data = self.func(*args, **kwargs)</div><div class="gmail_extra"> File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/request.py", line 128, in readJSON</div><div class="gmail_extra"> handle_status(data, url)</div></span><span class="im" style="font-size:12.8px"><div class="gmail_extra"> File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/request.py", line 163, in handle_status</div><div class="gmail_extra"> status = status_handlers[data.get('status_code', 1)]</div><div class="gmail_extra">KeyError: 25</div><div><br></div></span><div style="font-size:12.8px">When I ran it again, though, I got responses:</div><div style=""><span style="font-size:12.8px"><a href="http://pastebin.com/MkKpDEnQ">http://pastebin.com/MkKpDEnQ</a></span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What's up with this?</div></div></div></div>