<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"><<a href="mailto:joe@thefrys.com" target="_blank">joe@thefrys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">>> I typically name all my video files with the title and year, and<br>
>> historically this has nearly eliminated any issues where I had to<br>
>> manually scan for details and select the proper movie from a list.<br>
>><br>
>> However I just noticed today that in most cases, my queries fail. A<br>
>> quick jaunt to the tmdb page, and searching using "wild bill 2011" for<br>
>> example, fails.<br>
>><br>
>> Was there a change recently to tmdb or mythtv that would cause the<br>
>> lookups to fail. Is there new advice on file naming that will help<br>
>> insure a successful scan?<br>
><br>
</div><div class="im">> TMDB v2 API is no longer available, you've got to use tmdbv3.py. The<br>
> issue with this, is that TMDB also doesn't find any results when you<br>
> search a title and it includes the year (such as "wild bill 2011", go<br>
> ahead and try it on their website). The new V3 API accepts the year,<br>
> which is exactly what we want. The issue is that there is no way for<br>
> MythTV to know via a filename if part of the filename is the year it<br>
> was released. Ideally, we'd be allowed to put it in parentheses (such<br>
> as "wild bill (2011)"), but currently MythTV strips out everything in<br>
> the parentheses.<br>
><br>
> Unfortuantely, I don't know of a workaround for this other than<br>
> 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>
<current year>, assume it'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>