logger.info(f"Processing {pretty}: {data['limit']} Anime from {util.pretty_seasons[data['season']]}{data['year']} sorted by {util.anilist_pretty[data['sort_by']]}")
logger.info(f"Processing {pretty}: {data['limit']ifdata['limit']>0else'All'} Anime from {util.pretty_seasons[data['season']]}{data['year']} sorted by {util.anilist_pretty[data['sort_by']]}")
logger.info(f"Processing {pretty}: {data['limit']ifdata['limit']>0else'All'} Anime from the Genre: {data['genre']} sorted by {util.anilist_pretty[data['sort_by']]}")
logger.info(f"Processing {pretty}: {data['limit']ifdata['limit']>0else'All'} Anime from the Tag: {data['tag']} sorted by {util.anilist_pretty[data['sort_by']]}")
elifdata[m]["sort_by"]notin["score","popular"]:logger.warning(f"Collection Warning: anilist_season sort_by attribute {data[m]['sort_by']} invalid must be either 'score' or 'popular' using score as default")
if"season"notindata[m]:logger.warning(f"Collection Warning: anilist_season season attribute not found using the current season: {new_dictionary['season']} as default")
elifnotdata[m]["season"]:logger.warning(f"Collection Warning: anilist_season season attribute is blank using the current season: {new_dictionary['season']} as default")
elifdata[m]["season"]notinutil.pretty_seasons:logger.warning(f"Collection Warning: anilist_season season attribute {data[m]['season']} invalid must be either 'winter', 'spring', 'summer' or 'fall' using the current season: {new_dictionary['season']} as default")
if"season"notindata[m]:logger.warning(f"Collection Warning: anilist_season season attribute not found using the current season: {new_dictionary['season']} as default")
elifnotdata[m]["season"]:logger.warning(f"Collection Warning: anilist_season season attribute is blank using the current season: {new_dictionary['season']} as default")
elifmethod_name=="anilist_genre":
elifdata[m]["season"]notinutil.pretty_seasons:logger.warning(f"Collection Warning: anilist_season season attribute {data[m]['season']} invalid must be either 'winter', 'spring', 'summer' or 'fall' using the current season: {new_dictionary['season']} as default")
if"genre"notindata[m]:raiseFailed(f"Collection Warning: anilist_genre genre attribute not found")
else:new_dictionary["season"]=data[m]["season"]
elifnotdata[m]["genre"]:raiseFailed(f"Collection Warning: anilist_genre genre attribute is blank")
if"sort_by"notindata[m]:logger.warning(f"Collection Warning: {method_name} sort_by attribute not found using score as default")
elifnotdata[m]["sort_by"]:logger.warning(f"Collection Warning: {method_name} sort_by attribute is blank using score as default")
elifdata[m]["sort_by"]notin["score","popular"]:logger.warning(f"Collection Warning: {method_name} sort_by attribute {data[m]['sort_by']} invalid must be either 'score' or 'popular' using score as default")