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

Joseph Fry joe at thefrys.com
Fri Sep 27 06:26:52 UTC 2013


>> 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 ;-).


More information about the mythtv-users mailing list