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

Michael mythtv at blandford.net
Tue Feb 14 20:29:25 UTC 2017


Hello,


I use both MythTV and Plex for watching content on various home theatre 
devices, tables, etc.  Both are awesome and I am not looking to have any 
debates over the tools :)


After using both for a while, one thing I noticed was plex would match 
new media much better than MythTV so I wanted to look into why and see 
if there was something that could be done to improve upon that situation.


My backend is running Fedora 25 x86_64 using rpms from rpmfusion: 
mythtv-0.28-12.fc25.x86_64


All of my movies are m4v or mpg and the naming scheme is:

"A Movie Title (year).ext" such as: Zero Dark Thirty (2012).m4v


This works great for plex, but MythTV strips off the date in ()s when 
conducting the search which often leads to duplicate titles which must 
be manually resolved.  Looking at the wiki: 
https://www.mythtv.org/wiki/MythVideo_File_Parsing , It lists the 
following naming conventions as acceptable.

Filenames
A Movie Title.mpg
A Movie Title YYYY.mpg
Title s01e01 Subtitle.mpg
Title 1x01 Subtitle.mpg
Title Season 1 Episode 1 Subtitle.mpg
Note: Adding the year in YYYY format to a movies filename will help with 
duplicate matching.


So, I wrote a script to hard link all of my movie files to the name, but 
without the () but including the date, so I have files like: Zero Dark 
Thirty 2012.m4v.  My hope was that by providing the date, the matching 
would go up drastically without requiring intervention.  Unfortunately, 
the opposite was true.  Now, out of a huge number of movies, only a 
handful matched all all.


Below are the logs from trying with the date in parens and as part of 
the title.  When the date is stripped, it finds the show, but there are 
many so it has to be manually selected instead of finding the right one.

2017-02-14 13:20:23.810900 I  Adding :  : Movies/A Clockwork Orange 
1971.m4v : ab02344563f622b7
2017-02-14 13:20:24.882162 I  Running Grabber: 
/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -M A Clockwork 
Orange 1971
2017-02-14 13:20:25.482971 I  Running Grabber: 
/usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -M A 
Clockwork Orange 1971
2017-02-14 13:20:25.833437 I  Metadata Lookup Failed: No Results A 
Clockwork Orange 1971 0 0
2017-02-14 13:20:25.834676 I  No results found for A Clockwork Orange 
1971 0 0
2017-02-14 13:20:55.537401 I  Beginning Video Scan.
2017-02-14 13:20:55.537411 I  buildFileList directory = 
myth://Videos@deathstar/mythtv/video/
2017-02-14 13:20:55.537439 I  MythVideo::ScanVideoDirectory Scanning 
Group (myth://Videos@deathstar/mythtv/video/)
2017-02-14 13:20:55.560751 I  Removing file SG(deathstar) :Movies/A 
Clockwork Orange 1971.m4v:
2017-02-14 13:21:47.646557 I  Beginning Video Scan.
2017-02-14 13:21:47.646566 I  buildFileList directory = 
myth://Videos@deathstar/mythtv/video/
2017-02-14 13:21:47.646579 I  MythVideo::ScanVideoDirectory Scanning 
Group (myth://Videos@deathstar/mythtv/video/)
2017-02-14 13:21:47.672912 I  Adding :  : Movies/A Clockwork Orange 
(1971).m4v : ab02344563f622b7
2017-02-14 13:21:48.658055 I  Running Grabber: 
/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -M A Clockwork Orange
2017-02-14 13:21:50.711412 I  Result Found, Season 0 Episode 0
2017-02-14 13:21:50.711504 I  Result Found, Season 0 Episode 0
2017-02-14 13:21:50.711594 I  Result Found, Season 0 Episode 0
2017-02-14 13:21:50.711675 I  Result Found, Season 0 Episode 0
2017-02-14 13:21:50.711743 I  Result Found, Season 0 Episode 0
2017-02-14 13:21:50.711771 E  Multiple exact title matches found for A 
Clockwork Orange. Need to match on other criteria.
2017-02-14 13:21:50.711779 I  Returning Metadata Results: A Clockwork 
Orange 0 0
2017-02-14 13:21:50.712910 I  No results found for A Clockwork Orange 0 0
2017-02-14 13:21:56.120095 I  Running Grabber: 
/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 185
2017-02-14 13:21:58.775935 I  Result Found, Season 0 Episode 0
2017-02-14 13:21:58.776174 I  Returning Metadata Results: A Clockwork 
Orange 0

Any suggestions on how to get the date to be part of the search criteria 
to improve the lookups?


Also, any idea why it takes so for tmdb3 to run?  Plex indexed >1000 
movies in just over 15 minutes.  Mythtv took ~4.5 hours to process the 
same movies.


Michael




More information about the mythtv-users mailing list