[mythtv-users] Changes to tmdb? Video details lookup failing.

Mark Perkins perkins1724 at hotmail.com
Fri Sep 27 09:32:06 UTC 2013


> On 27 Sep 2013, at 5:16 pm, "Nick Rout" <nick.rout at gmail.com> wrote:
> 
> 
> 
> 
>> On Fri, Sep 27, 2013 at 6:26 PM, Joseph Fry <joe at thefrys.com> wrote:
>> >> I typically name all my video files with the title and year, and
>> >> historically this has nearly eliminated any issues where I had to
>> >> manually scan for details and select the proper movie from a list.
>> >>
>> >> However I just noticed today that in most cases, my queries fail.  A
>> >> quick jaunt to the tmdb page, and searching using "wild bill 2011" for
>> >> example, fails.
>> >>
>> >> Was there a change recently to tmdb or mythtv that would cause the
>> >> lookups to fail.  Is there new advice on file naming that will help
>> >> insure a successful scan?
>> >
>> > TMDB v2 API is no longer available, you've got to use tmdbv3.py. The
>> > issue with this, is that TMDB also doesn't find any results when you
>> > search a title and it includes the year (such as "wild bill 2011", go
>> > ahead and try it on their website). The new V3 API accepts the year,
>> > which is exactly what we want. The issue is that there is no way for
>> > MythTV to know via a filename if part of the filename is the year it
>> > was released. Ideally, we'd be allowed to put it in parentheses (such
>> > as "wild bill (2011)"), but currently MythTV strips out everything in
>> > the parentheses.
>> >
>> > Unfortuantely, I don't know of a workaround for this other than
>> > manually entering the inetref into mythtv before doing the scan.
>> 
>> So essentially.... we just need to parse the file name, and if it
>> finds a 4 digit number at the end of the name, between 1900 and
>> <current year>, assume it's a year and submit it as such.  If it
>> fails, then resubmit with it in the title?
>> 
>> I may need to dust off my python skills ;-).
> 
> What happens to 2012?
>  
> ____________________________________________
[Mark] Took me more than a few seconds, but 2012 is a genuine movie title.....

Would just need to add an if statement to check that title less year resulted in a non null title.

Or would it be better / simpler to just use some sort of delimiter other than () that MythTV doesn't strip out?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130927/72e0cc12/attachment.html>
-------------- next part --------------
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list