From b17274c925ee4414b6971ac5543f89801b89efd1 Mon Sep 17 00:00:00 2001 From: Pauljd Date: Thu, 5 Nov 2026 15:09:41 +0000 Subject: [PATCH] Franchise links: the Criterion and New Year collections aren't franchises The box's fuller collections read found TMDB franchise sets ('Godzilla Collection') beside curated ones that share the word (The Criterion Collection, The New Year Collection); those link nothing. Co-Authored-By: Claude Opus 5.5 (1M context) --- android/app/src/main/java/tv/orbit/classic/DirectorScoring.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/java/tv/orbit/classic/DirectorScoring.kt b/android/app/src/main/java/tv/orbit/classic/DirectorScoring.kt index e12690ff..15dcd377 100644 --- a/android/app/src/main/java/tv/orbit/classic/DirectorScoring.kt +++ b/android/app/src/main/java/tv/orbit/classic/DirectorScoring.kt @@ -160,7 +160,7 @@ internal class FranchiseLinks(private val channelsOf: Map>, pri * Which of the library's collections are franchises: only TMDB-style "... Collection" sets. The library's other collections are * curated lists (Trending, IMDB Top 250, Netflix, BBC - Shows...) and say nothing about franchises, so they never link titles. */ -internal val FranchiseCollection = Regex("\\bCollection$", RegexOption.IGNORE_CASE) +internal val FranchiseCollection = Regex("^(?!.*\\b(Criterion|New Year)\\b).*\\bCollection$", RegexOption.IGNORE_CASE) /** The library's broadcaster lists that verify British origin. */ internal val BritishLists = Regex("^(BBC\\b|Channel 4\\b|ITV\\b|Sky Originals|Britbox Originals)", RegexOption.IGNORE_CASE)