From f65c79cbd95944f7c37d74423926afad1120073c Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Wed, 28 Jan 2026 17:10:45 -0500 Subject: [PATCH] Small fix for Episodes of Series page --- scripts/seriesEpisodes.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/seriesEpisodes.js b/scripts/seriesEpisodes.js index 689fd31..b9f04bb 100644 --- a/scripts/seriesEpisodes.js +++ b/scripts/seriesEpisodes.js @@ -715,7 +715,8 @@ * Processes a series page to add episodes section * @param {string} seriesId - The series ID */ - async function processSeriesPage(seriesId) { + async function processSeriesPage(series) { + const seriesId = series.Id; const activePage = document.querySelector('.libraryPage:not(.hide)'); if (!activePage) { WARN('Active page not found'); @@ -859,7 +860,7 @@ // Small delay to ensure page is ready setTimeout(async () => { - await processSeriesPage(item.Id); + await processSeriesPage(item); }, 100); } },