[qcineoob] search by id

[qcookboob] undo previous modif on backends, exceptions  are handled by app
This commit is contained in:
Julien Veyssier 2013-03-17 18:19:07 +01:00
commit 5e247db743
9 changed files with 90 additions and 31 deletions

View file

@ -75,7 +75,7 @@ class ImdbBrowser(BaseBrowser):
for cat in ['name_popular', 'name_exact', 'name_approx']:
if cat in jres:
for p in jres[cat]:
person = Person(p['id'], latin2unicode(p['name']))
person = Person(p['id'], latin2unicode(unicode(p['name'])))
person.real_name = NotLoaded
person.birth_place = NotLoaded
person.birth_date = NotLoaded
@ -218,6 +218,7 @@ dict_hex = {'á': u'á',
'à': u'à',
'À': u'À',
'â': u'â',
'É': u'É',
'ç': u'ç'
}