def remove(self, videoid): """Remove an item from the Kodi library""" if ui.ask_for_confirmation(common.get_local_string(30030), common.get_local_string(30124)): library.execute_library_tasks(videoid, [library.remove_item], common.get_local_string(30030)) common.container_refresh(use_delay=True)
def update(self, videoid): """Update an item in the Kodi library""" library.execute_library_tasks(videoid, library.update_item, common.get_local_string(30061)) common.refresh_container()
def export(self, videoid): """Export an item to the Kodi library""" library.execute_library_tasks(videoid, library.export_item, common.get_local_string(30018))