/** * Checks if a manga should be ignored for automatic matching. * Checks against automatic matching blacklist (case-insensitive). * @parammanga - The manga to check * @returns True if manga is in the automatic matching blacklist * @source */ exportfunctionshouldIgnoreForAutomaticMatching(manga: AniListManga): boolean { returnisBlacklistedManga(manga); }
/** * Checks if a manga should be skipped during ranking. * Skips light novels, automatic matching blacklist entries, and custom skip rules. * @parammanga - The manga to check * @paramisManualSearch - Whether this is a manual search operation * @paramkenmeiManga - Optional Kenmei manga for custom rule evaluation * @returns True if the manga should be skipped * @source */ exportfunctionshouldSkipManga( manga: AniListManga, isManualSearch: boolean, kenmeiManga?: KenmeiManga, ): boolean { // Skip Light Novels if (manga.format === "NOVEL" || manga.format === "LIGHT_NOVEL") { console.debug( `[MangaSearchService] ⏭️ Skipping light novel: ${manga.title?.romaji||manga.title?.english||"unknown"}`, ); returntrue; }
Skip rules for filtering manga during matching. Handles exclusion based on format (light novels), automatic matching blacklists, and custom rules.
Source