Use other name guess. fix #3501
This commit is contained in:
1 parent
b00b6acba8
commit
b6b936ddf3
1 file changed
+2
-2
@@ -639,9 +639,9 @@ class Scanner(Plugin):
|
|||||||
|
|
||||||
# Try with other
|
# Try with other
|
||||||
if len(movie) == 0 and name_year.get('other') and name_year['other'].get('name') and name_year['other'].get('year'):
|
if len(movie) == 0 and name_year.get('other') and name_year['other'].get('name') and name_year['other'].get('year'):
|
||||||
search_q2 = '%(name)s %(year)s' % name_year
|
search_q2 = '%(name)s %(year)s' % name_year.get('other')
|
||||||
if search_q2 != search_q:
|
if search_q2 != search_q:
|
||||||
movie = fireEvent('movie.search', q = '%(name)s %(year)s' % name_year.get('other'), merge = True, limit = 1)
|
movie = fireEvent('movie.search', q = search_q2, merge = True, limit = 1)
|
||||||
|
|
||||||
if len(movie) > 0:
|
if len(movie) > 0:
|
||||||
imdb_id = movie[0].get('imdb')
|
imdb_id = movie[0].get('imdb')
|
||||||
|
|||||||
Reference in new issue
Block a user