[mythtv-commits] Ticket #12585: tmdb3: Use searchMovieWithYear instead of searchMovie

MythTV noreply at mythtv.org
Fri Jan 8 00:57:32 UTC 2016


#12585: tmdb3: Use searchMovieWithYear instead of searchMovie
------------------------------------+---------------------------
 Reporter:  angela.schmid@…         |          Owner:  jyavenard
     Type:  Bug Report - General    |         Status:  new
 Priority:  minor                   |      Milestone:  unknown
Component:  MythTV - Video Library  |        Version:  0.27.5
 Severity:  low                     |     Resolution:
 Keywords:  tmdb year               |  Ticket locked:  0
------------------------------------+---------------------------

Comment (by angela.schmid@…):

 Yes it will.
 When it does not find "(xxxx)" at the end of the query string it uses the
 query string as is and calls searchMovie unchanged.
 In case it finds "(xxxx)" and xxxx is a valid date, it strips "(xxxx)" to
 be passed as the query and calls searchMovie with the additional year
 argument.

 See mythtv/bindings/python/tmdb3/tmdb3/tmdb_api.py

 Three years ago i removed the brackets and searched with "Blues Brothers
 2000", but i got much better search results for query="Star Wars" and a
 separate year argument starting with tmdb v3.

 Adapting the source to interprete 9999 at the end and checking for a valid
 year range will give better search results also for "Blues Brothers 2000".

 After stripping the date away I would check if the query string is not
 empty, leaving all as is, in cases like the movie "2012".

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12585#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list