Ejemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     super(DialogActorInfo, self).__init__(*args, **kwargs)
     data = tmdb.extended_actor_info(actor_id=kwargs.get('id'))
     if not data:
         return None
     self.info, self.lists = data
     self.info.update_properties(imagetools.blur(self.info.get_art("thumb")))
Ejemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     super(DialogActorInfo, self).__init__(*args, **kwargs)
     data = tmdb.extended_actor_info(actor_id=kwargs.get('id'))
     if not data:
         return None
     self.info, self.lists = data
     self.info.update_properties(imagetools.blur(self.info.get_art("thumb")))
Ejemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     super(DialogActorInfo, self).__init__(*args, **kwargs)
     self.id = kwargs.get('id', False)
     self.type = 'Actor'
     data = TheMovieDB.extended_actor_info(actor_id=self.id)
     if not data:
         return None
     self.info, self.data = data
     self.info['ImageFilter'], self.info[
         'ImageColor'] = ImageTools.filter_image(
             input_img=self.info.get('thumb', ''), radius=25)
     self.listitems = [
         (150, self.data['movie_roles']),
         (250, self.data['tvshow_roles']), (450, self.data['images']),
         (550, Utils.merge_dict_lists(self.data['movie_crew_roles'])),
         (650, Utils.merge_dict_lists(self.data['tvshow_crew_roles'])),
         (750, self.data['tagged_images'])
     ]