only guess based on title

This commit is contained in:
j 2012-09-14 10:31:04 +02:00
parent fc6b81383e
commit 5399216083

View file

@ -40,7 +40,7 @@ def find(info, guess=True):
m.update()
return m
#For now fallback to ox.web.imdb.guess and try again
if guess:
if guess and 'title' in info:
id = ox.web.imdb.get_movie_id(info['title'])
if id:
i, created = Imdb.objects.get_or_create(imdb=id)