Mailing List Archive

metadata chaos
Hi

After a resent scan a whole number of Movies with metadata had the metadata, both description and coverart disapear.

menu->i->Change Video Details->retrieve data winds for a while then says FAILED

menu->i->Change Video Details->reset details
menu->i->Change Video Details->retrieve details does works

Some Movies eg Blue Planet II imediately populate the movie

others eg Bladerunner
reset detail
retrieve details

Do retrive data and art
<selecting> does nothing except say something to the db. Art and description are blank
retrieve (again) fails
reset
retrieve fetches the details again

others
<selection> does nothing
retrieve for another movie (may or maynot work
First movie is populated

Can anybody cast light on what is happening?
Running the graber by hand does get data and art,

Thanks
James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: metadata chaos [ In reply to ]
On Sun, Aug 30, 2020 at 10:51 AM Blue <jam@tigger.ws> wrote:

> Hi
>
> After a resent scan a whole number of Movies with metadata had the
> metadata, both description and coverart disapear.
>
> menu->i->Change Video Details->retrieve data winds for a while then says
> FAILED
>
> menu->i->Change Video Details->reset details
> menu->i->Change Video Details->retrieve details does works
>
> Some Movies eg Blue Planet II imediately populate the movie
>
> others eg Bladerunner
> reset detail
> retrieve details
>
> Do retrive data and art
> <selecting> does nothing except say something to the db. Art and
> description are blank
> retrieve (again) fails
> reset
> retrieve fetches the details again
>
> others
> <selection> does nothing
> retrieve for another movie (may or maynot work
> First movie is populated
>
> Can anybody cast light on what is happening?
> Running the graber by hand does get data and art,
>
> Thanks
> James
>
>
It is important to know that the movie grabber 'tmdb3.py'
limits each action to 30 seconds.
But MythTV internally limits a grabber session to 60 secs.
Additionally, the tmdb3 grabber uses an internal cache.
The cache is located at ' $HOME/.mythtv/cache/pytmdb3.cache'
or defined by the 'MYTHCONFDIR' environment.
That might explain your observation, that the second call
from the terminal succeeds, if the calls are done by the
same user on the same PC.

Please try the following steps:
- delete the cache
- from mythfrontend, run a single update/fetch command
that failed previously
- delete the cache again
- run the tmdb3 command logged by mythmetadatalookup
from the terminal again (as the same user)
- post the output

If that fails as well, try to increase the timeout for tmdb3
to 60 seconds. See
https://forum.mythtv.org/viewtopic.php?f=36&t=3630
how to change the timeout.

On the other hand, it is of interest, if the second call
from the terminal returns *all* the content, or if it
returns the truncated content from the cache, only.

An example for a failed command would be helpful.

Roland
Re: metadata chaos [ In reply to ]
> On 1 Sep 2020, at 1:08 am, Roland Ernst <rcrernst@gmail.com> wrote:
>
>
> On Sun, Aug 30, 2020 at 10:51 AM Blue <jam@tigger.ws> wrote:
> Hi
>
> After a resent scan a whole number of Movies with metadata had the metadata, both description and coverart disapear.
>
> menu->i->Change Video Details->retrieve data winds for a while then says FAILED
>
> menu->i->Change Video Details->reset details
> menu->i->Change Video Details->retrieve details does works
>
> Some Movies eg Blue Planet II imediately populate the movie
>
> others eg Bladerunner
> reset detail
> retrieve details
>
> Do retrive data and art
> <selecting> does nothing except say something to the db. Art and description are blank
> retrieve (again) fails
> reset
> retrieve fetches the details again
>
> others
> <selection> does nothing
> retrieve for another movie (may or maynot work
> First movie is populated
>
> Can anybody cast light on what is happening?
> Running the graber by hand does get data and art,
>
> Thanks
> James
>
>
> It is important to know that the movie grabber 'tmdb3.py'
> limits each action to 30 seconds.
> But MythTV internally limits a grabber session to 60 secs.
> Additionally, the tmdb3 grabber uses an internal cache.
> The cache is located at ' $HOME/.mythtv/cache/pytmdb3.cache'
> or defined by the 'MYTHCONFDIR' environment.
> That might explain your observation, that the second call
> from the terminal succeeds, if the calls are done by the
> same user on the same PC.
>
> Please try the following steps:
> - delete the cache
> - from mythfrontend, run a single update/fetch command
> that failed previously
> - delete the cache again
> - run the tmdb3 command logged by mythmetadatalookup
> from the terminal again (as the same user)
> - post the output
>
> If that fails as well, try to increase the timeout for tmdb3
> to 60 seconds. See
> https://forum.mythtv.org/viewtopic.php?f=36&t=3630
> how to change the timeout.
>
> On the other hand, it is of interest, if the second call
> from the terminal returns *all* the content, or if it
> returns the truncated content from the cache, only.

Roland
Thanks so, so much is explained, but oh so little documentation exists

In fact, as per myth’s coding standatds, a 10 line explation would be so useful!
if you run the grabber within the frontend nothing is logged and mythmetadata is not run.
But your wise words will help troubleshoot. (run the frontend in a terminal to view the detail)
James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: metadata chaos [ In reply to ]
On Tue, Sep 1, 2020 at 6:34 AM jam <jam@tigger.ws> wrote:

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

menu->i->Change Video Details->reset details
menu->i->Change Video Details->retrieve details

Roland