aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_tmdb_enabled_policy.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-26 16:24:18 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-26 16:24:18 +0200
commitbc94dc672d142e989fa4f483f643d4b43f66b02f (patch)
treebf0cf9b60a79cc3ff607668c928bf88c76511e0d /packages/meshbay-node/tests/test_tmdb_enabled_policy.py
parentc81eaa0bd07e360ec03406dfc63267c3013a0319 (diff)
downloadmeshbay-bc94dc672d142e989fa4f483f643d4b43f66b02f.tar.gz
fix(video): recognize "S1"/"S2"-style season folders, not just full words
Found live: a real show organized its first season as "House.of.the.Dragon. S01E01...mkv" inside a folder named "S1" (the show name embedded in every filename, so grouping worked by guessit's own title alone), but its later seasons as "S02E01. Episode's Own Title.mkv" inside "S2"/"S3" — no show name in any filename at all, relying entirely on the folder. Those seasons showed up as loose individual entries instead of grouped under the show: season_from_folder_name only recognized "season"/"saison"/"livre" as full words, so "S2" didn't register as a season folder at all, and the ancestor-based show-grouping fix (previous commits) never triggered for those seasons. A bare "S" + 1-2 digits as the *whole* folder name is now recognized too — anchored to the entire name so it can't match some unrelated folder that merely starts with "s" followed by digits.
Diffstat (limited to 'packages/meshbay-node/tests/test_tmdb_enabled_policy.py')
0 files changed, 0 insertions, 0 deletions