Mailing List Archive

Metadata still
Hi

I know metadata is broken. Over the years I've had endless heartache so what I'm asking is if anybody knows of a workaround:

I'm saving some of the Doc Martin episodes.

I saved 'Doc Martin 9x04.avi' as 'Doc Martin 9x05.avi' by accident.
Of course the meta data retrieved was for 9x05 not 9x04.
I renamed 9x05 as 9x04 populated with 9x03, correct 9x05, 9x06 and 9x07.

[sandypit] /home/jam [1003]% md5sum /store/Movies/Myth-D/Doc\ Martin\ 9*avi
0ca1346e72f3fa0b71e101174f6ef053 /store/Movies/Myth-D/Doc Martin 9x03.avi
3ffd0aa41fbfe8915d369b35edb5b8e7 /store/Movies/Myth-D/Doc Martin 9x04.avi
3ad670f9aab5bed662aa034b34804246 /store/Movies/Myth-D/Doc Martin 9x05.avi
bcdff50b663e9819394470dae4b12a44 /store/Movies/Myth-D/Doc Martin 9x06.avi
9751bfa47e643445022d9f988dca75d6 /store/Movies/Myth-D/Doc Martin 9x07.avi

After much fussing around, restoring this AM backup, scanning on another machine I eventually got 5 episodes with correct meta data, watchable too.

I did a scan with a comletely new movie and
9x05 and 9x06 no longer appear in the listings !!!!!!! (but ofcourse are still present)

It has bitten me so many times I wrote a hashDups:

[sandypit] /store/Movies/Myth-D [1007]% ~/bin/hashDups
----------------------
now doing names
----------------------
[number of files] 77
--------------------------------
now doing hash on files
--------------------------------
now doing hash check
--------------------------------

Checking the entire Movies archive:
[sandypit] /store/Movies [1009]% ~/bin/hashDups
----------------------
now doing names
----------------------
[number of files] 1333
--------------------------------
now doing hash on files
--------------------------------
now doing hash check
--------------------------------
[targ] ./Myth-R/Red Dog.avi 410b4e48418d3fa6
[dup] ./Myth-R/red.avi

Any suggestions .. please
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 still [ In reply to ]
> On 5 Nov 2020, at 10:01 pm, James Linder <jam@tigger.ws> wrote:
>
> Hi
>
> I know metadata is broken. Over the years I've had endless heartache so what I'm asking is if anybody knows of a workaround:
>
> I'm saving some of the Doc Martin episodes.
>
> I saved 'Doc Martin 9x04.avi' as 'Doc Martin 9x05.avi' by accident.
> Of course the meta data retrieved was for 9x05 not 9x04.
> I renamed 9x05 as 9x04 populated with 9x03, correct 9x05, 9x06 and 9x07.
>
> [sandypit] /home/jam [1003]% md5sum /store/Movies/Myth-D/Doc\ Martin\ 9*avi
> 0ca1346e72f3fa0b71e101174f6ef053 /store/Movies/Myth-D/Doc Martin 9x03.avi
> 3ffd0aa41fbfe8915d369b35edb5b8e7 /store/Movies/Myth-D/Doc Martin 9x04.avi
> 3ad670f9aab5bed662aa034b34804246 /store/Movies/Myth-D/Doc Martin 9x05.avi
> bcdff50b663e9819394470dae4b12a44 /store/Movies/Myth-D/Doc Martin 9x06.avi
> 9751bfa47e643445022d9f988dca75d6 /store/Movies/Myth-D/Doc Martin 9x07.avi
>
> After much fussing around, restoring this AM backup, scanning on another machine I eventually got 5 episodes with correct meta data, watchable too.
>
> I did a scan with a comletely new movie and
> 9x05 and 9x06 no longer appear in the listings !!!!!!! (but ofcourse are still present)
>
> It has bitten me so many times I wrote a hashDups:
>
> [sandypit] /store/Movies/Myth-D [1007]% ~/bin/hashDups
> ----------------------
> now doing names
> ----------------------
> [number of files] 77
> --------------------------------
> now doing hash on files
> --------------------------------
> now doing hash check
> --------------------------------
>
> Checking the entire Movies archive:
> [sandypit] /store/Movies [1009]% ~/bin/hashDups
> ----------------------
> now doing names
> ----------------------
> [number of files] 1333
> --------------------------------
> now doing hash on files
> --------------------------------
> now doing hash check
> --------------------------------
> [targ] ./Myth-R/Red Dog.avi 410b4e48418d3fa6
> [dup] ./Myth-R/red.avi
>
> Any suggestions .. please
> James

I just fixed the above dup, and scan and all metadata is correct (9x03 .. 9x07)
So problem is solved.
my HashDups is a Qt console app, if anybody wants it just ask. It is not packaged, you'll need to compile it
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 still [ In reply to ]
> On 26 Jun 2021, at 6:19 pm, Roland Ernst <rcrernst@gmail.com> wrote:
>
>
>
> On Sat, Jun 26, 2021 at 8:40 AM James Linder <jam@tigger.ws <mailto:jam@tigger.ws>> wrote:
> The other week I reported that metadata lookup was working just fine. It is.
>
> Before I go spelunking I’d appreciate any words of advice:
>
> I I->C->R detail on Starsky & Hutch
>
> The metadata is found and presented
>
> 2021-06-26 13:13:15.940648 I Metadata Image Download: http://image.tmdb.org/t/p/original/i011DoAZF2krWvxhb7XAxl2lEcK.jpg <http://image.tmdb.org/t/p/original/i011DoAZF2krWvxhb7XAxl2lEcK.jpg> -> myth://Coverart@sandypit/tmdb3.py_9384_coverart.jpg
>
> On [accept] nothing happens and the art is not loaded
>
> 2021-06-26 13:12:37.473063 I Running Grabber: /usr/local/share/mythtv/metadata/Television/ttvdb.py -l en -a AU -M Starsky & Hutch
> 2021-06-26 13:12:37.823546 I Result Found, Season 0 Episode 0
> 2021-06-26 13:12:37.823596 I Returning Metadata Results: Starsky & Hutch 0 0
> 2021-06-26 13:12:52.985240 I Manual Metadata Lookup: Selected Item: Type: Video : Subtype: Movie : InetRef: tmdb3.py_9384
> 2021-06-26 13:12:53.543553 I Running Grabber: /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a AU -D 9384
> 2021-06-26 13:13:11.157253 E XMLParseBase: Parent is NULL
> 2021-06-26 13:13:15.938202 I Result Found, Season 0 Episode 0
> 2021-06-26 13:13:15.938906 I Returning Metadata Results: Starsky & Hutch 0 0
>
> [sandypit] /store/Movies/Myth-S [1025]% ls /store/Coverart/tmdb3.py_938*
> /store/Coverart/tmdb3.py_9384_coverart.jpg /store/Coverart/tmdb3.py_9386_coverart.jpg /store/Coverart/tmdb3.py_9386_coverart.jpg.160x160.jpg
>
> So the art is found, can be manually loaded, but the words that are found are not loaded and accept does nothing.
> I need to findout WHY
> James
>
>
> Please post the output of the mysql command:
> SELECT title, tagline, plot, coverfile FROM videometadata WHERE inetref = 'tmdb3.py_9384';
>

Roland thanks.
That is now a bad example since I did lots of fiddling - loaded the downkoaded image by hand, then repeatedly I->C->R until the metadata was loaded

MariaDB [mythconverg]> SELECT title, tagline, plot, coverfile FROM videometadata WHERE inetref = 'tmdb3.py_9384';
+-----------------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------+
| title | tagline | plot | coverfile |
+-----------------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------+
| Starsky & Hutch | They're the man. | Join uptight David Starsky and laid-back Ken "Hutch" Hutchinson as they're paired for the first time as undercover cops. The new partners must overcome their differences to solve an important case with help from street informant Huggy Bear and persuasive criminal Reese Feldman. | tmdb3.py_9384_coverart.jpg |
+-----------------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------+

But here is another I->C->R displays correct data and art [accept] does nothing - but your question part 2

> Do you use mouse or keyboard or remote control?
> The line "Manual Metadata Lookup: Selected Item:..." is only logged after you pressed [enter,space] on the selected metadata.
> That means, [accept] did something, the question is, why the words are not displayed.

Keyboard

But here is an example

2021-06-27 07:24:39.034886 I Running Grabber: /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a AU -C 48138
2021-06-27 07:24:39.485388 I Metadata Lookup Failed: No Results Unknown 0 0
2021-06-27 07:24:39.487312 I No results found for Unknown 0 0

BUT THE CORRECT WORDS AND ART ARE SHOWN

and

MariaDB [mythconverg]> SELECT title, tagline, plot, coverfile FROM videometadata WHERE inetref = 'tmdb3.py_48138';
+---------+---------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+
| title | tagline | plot | coverfile |
+---------+---------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+
| Unknown | Take Back Your Life | An American biologist attending a conference in Berlin awakens from a coma after a car accident, only to discover that someone has taken his identity and that no one, not even his wife, believes him. With the help of an illegal immigrant and a former Stazi agent, he sets out to prove who he is and find out why people are trying to kill him. | tmdb3.py_48138_coverart.jpg |
+---------+---------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+
1 row in set (0.003 sec)

John pointed out that my use of 'fiddle' does not align with the Oxford English definition. I mean painstaking, careful, detailed.

The error messages are not correct but I start to 'know' what to do without being able to 'explain'
Thanks (for you really helped lots)
James