From 50450af68077dcb5489eb9f7652343136cf0424b Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Thu, 10 Sep 2026 18:46:03 -0400 Subject: [PATCH] Prevent Watchlist from using CustomTabs plugin on Jellyfin v12+ --- scripts/watchlist.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/watchlist.js b/scripts/watchlist.js index 210b3b1..cc1c5e4 100644 --- a/scripts/watchlist.js +++ b/scripts/watchlist.js @@ -7276,8 +7276,11 @@ In the Custom Tabs plugin, add a new tab with the following HTML content: let watchlistUrl = '#/watchlist'; + // Major version of Jellyfin + const jellyfinVersion = window.KefinTweaks.getJellyfinMajorVersion() ?? null; + // If watchlist tab index is null or undefined, add to top navigation - if (watchlistTabIndex === null || watchlistTabIndex === undefined) { + if (watchlistTabIndex === null || watchlistTabIndex === undefined || jellyfinVersion >= 12) { options.topNavigation = 'main'; } else { watchlistUrl = `#/home?tab=${watchlistTabIndex}`;