diff --git a/components/home/Home.tv.tsx b/components/home/Home.tv.tsx index d509f095..3aab9276 100644 --- a/components/home/Home.tv.tsx +++ b/components/home/Home.tv.tsx @@ -680,11 +680,14 @@ export const Home = () => { > {sections.map((section, index) => { - // Render Streamystats sections after Continue Watching and Next Up - // When merged, they appear after index 0; otherwise after index 1 - const streamystatsIndex = settings.mergeNextUpAndContinueWatching - ? 0 - : 1; + // Render Streamystats sections after Recently Added sections + // For default sections: place after Recently Added, before Suggested Movies (if present) + // For custom sections: place at the very end + const hasSuggestedMovies = + !settings?.streamyStatsMovieRecommendations && + !settings?.home?.sections; + const streamystatsIndex = + sections.length - 1 - (hasSuggestedMovies ? 1 : 0); const hasStreamystatsContent = settings.streamyStatsMovieRecommendations || settings.streamyStatsSeriesRecommendations ||