[mythtv-users] Issues with tmbd3 matching - looking for input

Angela angela.schmid at wolke7.net
Sat Feb 25 10:28:26 UTC 2017


This is exactly what I did in my tests, I just didn't post all of the log.

I moved the file out of the way, scanned, moved it back, and scanned again.
You can see that it isn't searching with the date.

 2017-02-17 10:09:28.332952 I  MythVideo::ScanVideoDirectory Scanning Group
(myth://Videos@deathstar/mythtv/video/)
2017-02-17 10:09:28.355839 I  Removing file SG(deathstar) :Movies/A
Clockwork Orange (1971).m4v:
2017-02-17 10:09:46.040700 I  Beginning Video Scan.
2017-02-17 10:09:46.040710 I  buildFileList directory =
myth://Videos@deathstar/mythtv/video/
2017-02-17 10:09:46.040735 I  MythVideo::ScanVideoDirectory Scanning Group
(myth://Videos@deathstar/mythtv/video/)
2017-02-17 10:09:46.096399 I  Adding :  : Movies/A Clockwork Orange
(1971).m4v : ab02344563f622b7
2017-02-17 10:09:47.043186 I  Running Grabber:
/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -M A Clockwork Orange
2017-02-17 10:09:52.151056 E  Multiple exact title matches found for A
Clockwork Orange. Need to match on other criteria.
2017-02-17 10:09:52.151064 I  Returning Metadata Results: A Clockwork Orange
0 0
2017-02-17 10:09:52.152057 I  No results found for A Clockwork Orange 0 0




 

 

Now I remember this behavior when I tested the 0.28 beta. Because of several
reasons I run my own parsing and metadata retrieval, sorry giving you a
false hint.

 

The culprit is in

https://github.com/MythTV/mythtv/blame/master/mythtv/libs/libmythmetadata/vi
deometadata.cpp#L1165

it eats everything between braces.

 

If you set the year without braces in the filename, tmdb3.py would not
understand it as a year.

 

Adapt tmdb3.py with the commit made by chrisaljoudi. The regex used for the
year supports the year with and without braces. 

>From https://code.mythtv.org/trac/ticket/12585 comment#1
<https://code.mythtv.org/trac/ticket/12585%20comment#1> 

https://github.com/MythTV/mythtv/pull/103/commits/f6d9ade62090d9cda84d2dc617
2dc6f5d1400498

 

Angela

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170225/71df44f4/attachment.html>


More information about the mythtv-users mailing list