def people_list_person_movies(id): movies = trakt.get_person_movies(id) if movies["cast"]: meta.navigation.movies.list_trakt_movies_plain(movies["cast"]) else: xbmcgui.Dialog().ok("Error", "No movies found")
def trakt_movies_person(person_id, raw=False): from trakt import trakt result = trakt.get_person_movies(person_id)['cast'] if raw: return result else: return list_trakt_movies_plain(result)