From 0589ae4ff3783da9f13f68688f197cdc9a019b33 Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Thu, 5 Feb 2026 18:26:14 -0500 Subject: [PATCH] Fix Popular Studios for 10.11.x --- scripts/homeScreen.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/homeScreen.js b/scripts/homeScreen.js index e13157e..0059926 100644 --- a/scripts/homeScreen.js +++ b/scripts/homeScreen.js @@ -2596,9 +2596,10 @@ uniqueStudios.sort((a, b) => (b.ChildCount || 0) - (a.ChildCount || 0)); // Filter by minimum shows - const filteredStudios = uniqueStudios.filter(studio => - (studio.ChildCount || 0) >= minimumShowsForNetwork - ); + const filteredStudios = uniqueStudios.filter(studio => { + const itemCount = studio.ChildCount || studio.SeriesCount || 0; + return itemCount >= minimumShowsForNetwork; + }); LOG(`Fetched ${filteredStudios.length} Popular TV Networks (filtered from ${uniqueStudios.length})`);