<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2017 at 06:29, Michael <span dir="ltr"><<a href="mailto:mythtv@blandford.net" target="_blank">mythtv@blandford.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
<br>
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 :)<br>
<br>
<br>
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.<br>
<br>
<br>
My backend is running Fedora 25 x86_64 using rpms from rpmfusion: mythtv-0.28-12.fc25.x86_64<br>
<br>
<br>
All of my movies are m4v or mpg and the naming scheme is:<br>
<br>
"A Movie Title (year).ext" such as: Zero Dark Thirty (2012).m4v<br>
<br>
<br>
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: <a href="https://www.mythtv.org/wiki/MythVideo_File_Parsing" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/My<wbr>thVideo_File_Parsing</a> , It lists the following naming conventions as acceptable.<br>
<br>
Filenames<br>
A Movie Title.mpg<br>
A Movie Title YYYY.mpg<br>
Title s01e01 Subtitle.mpg<br>
Title 1x01 Subtitle.mpg<br>
Title Season 1 Episode 1 Subtitle.mpg<br>
Note: Adding the year in YYYY format to a movies filename will help with duplicate matching.<br>
<br>
<br>
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.<br>
<br>
<br>
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.<br>
<br>
2017-02-14 13:20:23.810900 I  Adding :  : Movies/A Clockwork Orange 1971.m4v : ab02344563f622b7<br>
2017-02-14 13:20:24.882162 I  Running Grabber: /usr/share/mythtv/metadata/Mov<wbr>ie/tmdb3.py -l en -a US -M A Clockwork Orange 1971<br>
2017-02-14 13:20:25.482971 I  Running Grabber: /usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -l en -a US -M A Clockwork Orange 1971<br>
2017-02-14 13:20:25.833437 I  Metadata Lookup Failed: No Results A Clockwork Orange 1971 0 0<br>
2017-02-14 13:20:25.834676 I  No results found for A Clockwork Orange 1971 0 0<br>
2017-02-14 13:20:55.537401 I  Beginning Video Scan.<br>
2017-02-14 13:20:55.537411 I  buildFileList directory = myth://Videos@deathstar/mythtv<wbr>/video/<br>
2017-02-14 13:20:55.537439 I  MythVideo::ScanVideoDirectory Scanning Group (myth://Videos@deathstar/mytht<wbr>v/video/)<br>
2017-02-14 13:20:55.560751 I  Removing file SG(deathstar) :Movies/A Clockwork Orange 1971.m4v:<br>
2017-02-14 13:21:47.646557 I  Beginning Video Scan.<br>
2017-02-14 13:21:47.646566 I  buildFileList directory = myth://Videos@deathstar/mythtv<wbr>/video/<br>
2017-02-14 13:21:47.646579 I  MythVideo::ScanVideoDirectory Scanning Group (myth://Videos@deathstar/mytht<wbr>v/video/)<br>
2017-02-14 13:21:47.672912 I  Adding :  : Movies/A Clockwork Orange (1971).m4v : ab02344563f622b7<br>
2017-02-14 13:21:48.658055 I  Running Grabber: /usr/share/mythtv/metadata/Mov<wbr>ie/tmdb3.py -l en -a US -M A Clockwork Orange<br>
2017-02-14 13:21:50.711412 I  Result Found, Season 0 Episode 0<br>
2017-02-14 13:21:50.711504 I  Result Found, Season 0 Episode 0<br>
2017-02-14 13:21:50.711594 I  Result Found, Season 0 Episode 0<br>
2017-02-14 13:21:50.711675 I  Result Found, Season 0 Episode 0<br>
2017-02-14 13:21:50.711743 I  Result Found, Season 0 Episode 0<br>
2017-02-14 13:21:50.711771 E  Multiple exact title matches found for A Clockwork Orange. Need to match on other criteria.<br>
2017-02-14 13:21:50.711779 I  Returning Metadata Results: A Clockwork Orange 0 0<br>
2017-02-14 13:21:50.712910 I  No results found for A Clockwork Orange 0 0<br>
2017-02-14 13:21:56.120095 I  Running Grabber: /usr/share/mythtv/metadata/Mov<wbr>ie/tmdb3.py -l en -a US -D 185<br>
2017-02-14 13:21:58.775935 I  Result Found, Season 0 Episode 0<br>
2017-02-14 13:21:58.776174 I  Returning Metadata Results: A Clockwork Orange 0<br>
<br>
Any suggestions on how to get the date to be part of the search criteria to improve the lookups?<br>
<br>
<br>
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.<br>
<br>
<br>
Michael<br></blockquote><div><br></div><div>I was under the impression the format for movies was  A Movie Title [year].ext which seems to work pretty well for me.</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div></div></div>