From b1bf068e05168fc2ea3cb25290f840016e486dee Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Tue, 15 Sep 2026 07:00:16 -0400 Subject: [PATCH] Remove External List option from Section Editor until KefinTweaks backend plugin is made --- configuration/homeScreen-configuration.js | 7 ------- configuration/homeScreenAdvancedEditor.js | 13 ++++--------- configuration/homeScreenSectionEditor.js | 7 ------- injector.js | 9 +-------- 4 files changed, 5 insertions(+), 31 deletions(-) diff --git a/configuration/homeScreen-configuration.js b/configuration/homeScreen-configuration.js index 620f51e..8ab53e6 100644 --- a/configuration/homeScreen-configuration.js +++ b/configuration/homeScreen-configuration.js @@ -2082,13 +2082,6 @@ ${buildSelect('home-maxPeopleCount', maxPeopleOptions, String(maxPeopleCount), 'Maximum Person Count')} -
-
External Integrations
-
- Enter your personal API keys for the services below to enable support for home sections based on external lists. -
- ${buildTextInput('libraryCache-mdblistApiKey', libraryCache.mdblistApiKey || '', 'MDBList API Key', 'password', 'Required for External List sections')} -
`; } diff --git a/configuration/homeScreenAdvancedEditor.js b/configuration/homeScreenAdvancedEditor.js index 5f34ad3..11be7bd 100644 --- a/configuration/homeScreenAdvancedEditor.js +++ b/configuration/homeScreenAdvancedEditor.js @@ -1624,15 +1624,6 @@
${escapeHtml(CUSTOM_SOURCE_DESC)}
- `; @@ -3138,6 +3129,10 @@ const toggleBtn = e.target.closest('.toggle-slider, .kefin-toggle-switch'); if (toggleBtn && root.contains(toggleBtn)) { + // Already wired by bindToggleCards — avoid double-flip (Spotlight toggles looked stuck) + if (toggleBtn.classList.contains('kefin-toggle-switch') && toggleBtn.dataset.kefinToggleBound === 'true') { + return; + } const checkboxId = toggleBtn.dataset.checkboxId; if (!checkboxId) return; e.preventDefault(); diff --git a/configuration/homeScreenSectionEditor.js b/configuration/homeScreenSectionEditor.js index f8ac14e..4ec0aaa 100644 --- a/configuration/homeScreenSectionEditor.js +++ b/configuration/homeScreenSectionEditor.js @@ -1930,13 +1930,6 @@
${escapeHtml(CUSTOM_TYPE.description)}
- `; } diff --git a/injector.js b/injector.js index f06e985..a8ebf00 100644 --- a/injector.js +++ b/injector.js @@ -394,13 +394,6 @@ dependencies: ['moviesCache', 'seriesCache'], description: 'Library cache facade for KefinTweaks' }, - { - name: 'externalList', - script: 'externalList.js', - css: null, - dependencies: ['libraryCache', 'libraryCacheUtils', 'apiHelper'], - description: 'MDBList external list matching for home sections' - }, { name: 'skinManager', script: 'skinManager.js', @@ -518,7 +511,7 @@ name: 'homeScreen', script: 'homeScreen3.js', css: 'homeScreen.css', - dependencies: ['cardBuilder', 'localStorageCache', 'utils', 'userHelper', 'homeScreenConfig2', 'homeScreen-configuration', 'peopleCache', 'studiosCache', 'moviesCache', 'seriesCache', 'libraryCache', 'libraryCacheUtils', 'externalList', 'indexedDBCache', 'homeScreenConfigCommunity', 'dataHelper', 'apiHelper', 'sectionHelper', 'homeScreen-migration', 'homeScreen-user-configuration', 'homeScreenSectionConfigure', 'homeScreenPin'], + dependencies: ['cardBuilder', 'localStorageCache', 'utils', 'userHelper', 'homeScreenConfig2', 'homeScreen-configuration', 'peopleCache', 'studiosCache', 'moviesCache', 'seriesCache', 'libraryCache', 'libraryCacheUtils', 'indexedDBCache', 'homeScreenConfigCommunity', 'dataHelper', 'apiHelper', 'sectionHelper', 'homeScreen-migration', 'homeScreen-user-configuration', 'homeScreenSectionConfigure', 'homeScreenPin'], priority: true, // Load immediately after dependencies to reduce UI disruption description: 'Adds custom home screen sections' },