[mythtv-users] tmdb3.py with/without year

Thomas Mashos thomas at mashos.com
Mon Jan 12 18:39:56 UTC 2015


On Mon, Jan 12, 2015 at 8:51 AM, Angela <angela.schmid at wolke7.net> wrote:
>> > However, the first one is what I want, and the metadata shows
>> > <year>1987</year>, so I'll add that to the filename, and maybe it will
>> > filter out all the extraneous results.  Nope, now I get zero results:
>> > # tmdb3.py -M "Predator 1987"
>
> Change /usr/share/mythtv/metadata/Movie/tmdb3.py
> from MythTV.tmdb3 import searchMovie
> into
> from MythTV.tmdb3 import searchMovieWithYear
>
> and use
>
> tmdb3.py  -M "Predator (1987)"
>
> Your files need to be in this format.
>
>
> I looked also a long time how to minimize the results on a specific year,
> investigated the tmdb api, etc. Till I noticed that everything already
> exists, in tmdb_api.py:  the code is available under searchMovieWithYear.
> I used it for a long time and never had issues, I think it should be the
> default, as it also supports finding movies without a year.
> Sometimes the date is incorrect and nothing is found, it would be great if
> it makes a second search without the year.
>
> Angela
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Last I head MythTV strips out everything between the () in a filename
when passing it to tmdb3.py

-- 
Thanks,

Thomas Mashos


More information about the mythtv-users mailing list