def run_internal(self, args): keyboard = xbmc.Keyboard(settings.get_current_search(), plugin.getLS(30004)) keyboard.doModal() if not keyboard.isConfirmed(): return search_term = keyboard.getText() settings.set_current_search(search_term) self.__add_items__(search_term, 1, [], False)