<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 1, 2020 at 6:34 AM jam <<a href="mailto:jam@tigger.ws">jam@tigger.ws</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 1 Sep 2020, at 1:08 am, Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank">rcrernst@gmail.com</a>> wrote:<br>
> <br>
> <br>
> On Sun, Aug 30, 2020 at 10:51 AM Blue <<a href="mailto:jam@tigger.ws" target="_blank">jam@tigger.ws</a>> wrote:<br>
> Hi<br>
> <br>
> After a resent scan a whole number of Movies with metadata had the metadata, both description and coverart disapear.<br>
> <br>
> menu->i->Change Video Details->retrieve data winds for a while then says FAILED<br>
> <br>
> menu->i->Change Video Details->reset details<br>
> menu->i->Change Video Details->retrieve details does works<br>
> <br>
> Some Movies eg Blue Planet II imediately populate the movie<br>
> <br>
> others eg Bladerunner<br>
> reset detail<br>
> retrieve details<br>
> <br>
> Do retrive data and art<br>
> <selecting> does nothing except say something to the db. Art and description are blank<br>
> retrieve (again) fails<br>
> reset<br>
> retrieve fetches the details again<br>
> <br>
> others<br>
> <selection> does nothing<br>
> retrieve for another movie (may or maynot work<br>
> First movie is populated<br>
> <br>
> Can anybody cast light on what is happening?<br>
> Running the graber by hand does get data and art,<br>
> <br>
> Thanks<br>
> James<br>
> <br>
> <br>
> It is important to know that the movie grabber 'tmdb3.py'<br>
> limits each action to 30 seconds.<br>
> But MythTV internally limits a grabber session to 60 secs.<br>
> Additionally, the tmdb3 grabber uses an internal cache.<br>
> The cache is located at ' $HOME/.mythtv/cache/pytmdb3.cache'<br>
> or defined by the 'MYTHCONFDIR' environment.<br>
> That might explain your observation, that the second call<br>
> from the terminal succeeds, if the calls are done by the<br>
> same user on the same PC.<br>
> <br>
> Please try the following steps:<br>
> - delete the cache<br>
> - from mythfrontend, run a single update/fetch command<br>
> that failed previously<br>
> - delete the cache again<br>
> - run the tmdb3 command logged by mythmetadatalookup<br>
> from the terminal again (as the same user)<br>
> - post the output<br>
> <br>
> If that fails as well, try to increase the timeout for tmdb3<br>
> to 60 seconds. See<br>
> <a href="https://forum.mythtv.org/viewtopic.php?f=36&t=3630" rel="noreferrer" target="_blank">https://forum.mythtv.org/viewtopic.php?f=36&t=3630</a><br>
> how to change the timeout.<br>
> <br>
> On the other hand, it is of interest, if the second call<br>
> from the terminal returns *all* the content, or if it<br>
> returns the truncated content from the cache, only.<br>
<br>
Roland<br>
Thanks so, so much is explained, but oh so little documentation exists<br>
<br>
In fact, as per myth’s coding standatds, a 10 line explation would be so useful!<br>
if you run the grabber within the frontend nothing is logged and mythmetadata is not run.<br>
But your wise words will help troubleshoot. (run the frontend in a terminal to view the detail)<br>
James<br><br></blockquote><div><br></div><div>I've pushed now a set of changes which should fix fetching metadata.</div><div>Please update to the latest fixes/31 and try on a selected video:<br></div><div><br></div><div>menu->i->Change Video Details->reset details<br>
menu->i->Change Video Details->retrieve details <br></div><div><br></div><div>Roland<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>