def IgnoreListMenu(): oc = ObjectContainer(title2="Ignore list", replace_parent=True) for key in ignore_list.key_order: values = ignore_list[key] for value in values: add_ignore_options(oc, key, title=ignore_list.get_title(key, value), rating_key=value, callback_menu=IgnoreMenu) return oc
def IgnoreListMenu(): oc = SubFolderObjectContainer(title2="Ignore list", replace_parent=True) for key in ignore_list.key_order: values = ignore_list[key] for value in values: add_ignore_options(oc, key, title=ignore_list.get_title(key, value), rating_key=value, callback_menu=IgnoreMenu) return oc