From 4c812c9ba4b58a30c24b3cebbfdf2d33969bb3e0 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sun, 2 Aug 2026 18:02:22 +0200 Subject: Switch to opt-in --- .../Tmdb/Configuration/PluginConfiguration.cs | 10 ++++----- .../Plugins/Tmdb/Configuration/config.html | 17 +++++++++------ .../Plugins/Tmdb/TV/TmdbMissingEpisodeProvider.cs | 24 ++++++++------------- .../Plugins/Tmdb/TV/TmdbUpcomingEpisodesTask.cs | 25 +++++++++------------- 4 files changed, 34 insertions(+), 42 deletions(-) diff --git a/MediaBrowser.Providers/Plugins/Tmdb/Configuration/PluginConfiguration.cs b/MediaBrowser.Providers/Plugins/Tmdb/Configuration/PluginConfiguration.cs index 0ebeebf1e2..b3a67189bb 100644 --- a/MediaBrowser.Providers/Plugins/Tmdb/Configuration/PluginConfiguration.cs +++ b/MediaBrowser.Providers/Plugins/Tmdb/Configuration/PluginConfiguration.cs @@ -58,12 +58,12 @@ namespace MediaBrowser.Providers.Plugins.Tmdb /// /// Gets or sets the ids (the "N" formatted GUIDs from VirtualFolderInfo.ItemId) of the - /// libraries for which the unaired/missing episode provider is disabled. Whether episodes are - /// imported at all, and how, is still controlled by the global toggles above; this list only - /// opts individual libraries out. Libraries not listed here are enabled, so the global toggles - /// apply to every library unless it is explicitly opted out. + /// libraries for which the unaired/missing episode provider is enabled. Whether episodes are + /// imported at all, and how, is still controlled by the global toggles above; those toggles only + /// apply to the libraries listed here. Libraries not listed, including newly added ones, are + /// never processed, so an empty list disables the feature entirely. /// - public string[] DisabledMissingEpisodeLibraries { get; set; } = []; + public string[] EnabledMissingEpisodeLibraries { get; set; } = []; /// /// Gets or sets how often, in days, the scheduled task re-checks TMDb for newly announced diff --git a/MediaBrowser.Providers/Plugins/Tmdb/Configuration/config.html b/MediaBrowser.Providers/Plugins/Tmdb/Configuration/config.html index b010749936..582753759f 100644 --- a/MediaBrowser.Providers/Plugins/Tmdb/Configuration/config.html +++ b/MediaBrowser.Providers/Plugins/Tmdb/Configuration/config.html @@ -56,7 +56,7 @@

Libraries

-
Choose which TV libraries the unaired/missing episode options above apply to. The settings above are global; this only controls which libraries they run for. New libraries are enabled by default.
+
Choose which TV libraries the unaired/missing episode options above apply to. The settings above are global; this only controls which libraries they run for. Libraries are opted in individually, so newly added libraries are not processed until they are enabled here.
@@ -119,7 +119,7 @@ Dashboard.showLoadingMsg(); var clientConfig, pluginConfig; - var populateMissingEpisodeLibraries = function (disabledLibraries) { + var populateMissingEpisodeLibraries = function (enabledLibraries) { var container = document.querySelector('#missingEpisodeLibraries'); ApiClient.getVirtualFolders().then(function (folders) { // Series only live in TV libraries (and mixed-content libraries, which report @@ -134,7 +134,7 @@ } container.innerHTML = tvLibraries.map(function (folder) { - var checked = disabledLibraries.indexOf(folder.ItemId) === -1 ? ' checked' : ''; + var checked = enabledLibraries.indexOf(folder.ItemId) === -1 ? '' : ' checked'; return '