<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 6:26 PM, Joseph Fry <span dir="ltr">&lt;<a href="mailto:joe@thefrys.com" target="_blank">joe@thefrys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt;&gt; I typically name all my video files with the title and year, and<br>
&gt;&gt; historically this has nearly eliminated any issues where I had to<br>
&gt;&gt; manually scan for details and select the proper movie from a list.<br>
&gt;&gt;<br>
&gt;&gt; However I just noticed today that in most cases, my queries fail.  A<br>
&gt;&gt; quick jaunt to the tmdb page, and searching using &quot;wild bill 2011&quot; for<br>
&gt;&gt; example, fails.<br>
&gt;&gt;<br>
&gt;&gt; Was there a change recently to tmdb or mythtv that would cause the<br>
&gt;&gt; lookups to fail.  Is there new advice on file naming that will help<br>
&gt;&gt; insure a successful scan?<br>
&gt;<br>
</div><div class="im">&gt; TMDB v2 API is no longer available, you&#39;ve got to use tmdbv3.py. The<br>
&gt; issue with this, is that TMDB also doesn&#39;t find any results when you<br>
&gt; search a title and it includes the year (such as &quot;wild bill 2011&quot;, go<br>
&gt; ahead and try it on their website). The new V3 API accepts the year,<br>
&gt; which is exactly what we want. The issue is that there is no way for<br>
&gt; MythTV to know via a filename if part of the filename is the year it<br>
&gt; was released. Ideally, we&#39;d be allowed to put it in parentheses (such<br>
&gt; as &quot;wild bill (2011)&quot;), but currently MythTV strips out everything in<br>
&gt; the parentheses.<br>
&gt;<br>
&gt; Unfortuantely, I don&#39;t know of a workaround for this other than<br>
&gt; manually entering the inetref into mythtv before doing the scan.<br>
<br>
</div>So essentially.... we just need to parse the file name, and if it<br>
finds a 4 digit number at the end of the name, between 1900 and<br>
&lt;current year&gt;, assume it&#39;s a year and submit it as such.  If it<br>
fails, then resubmit with it in the title?<br>
<br>
I may need to dust off my python skills ;-).<br></blockquote><div><br></div><div>What happens to 2012?<br></div><div> <br></div></div></div></div>