From 4eee97996bbbd6968b7240c849827d779a8bace3 Mon Sep 17 00:00:00 2001 From: JQ <81431263+scampower3@users.noreply.github.com> Date: Wed, 30 Oct 2024 07:31:30 +0800 Subject: [PATCH] Remove All Missing Episodes On Refresh (#176) --- .../Configuration/PluginConfiguration.cs | 11 ++++++--- .../Configuration/config.html | 23 +++++++++++++++---- .../Providers/TvdbMissingEpisodeProvider.cs | 14 +++++++---- 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs index 3fdb272..69b5b65 100644 --- a/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs @@ -52,14 +52,19 @@ public int CacheDurationInDays public bool ImportSeasonName { get; set; } = false; /// - /// Gets or sets a value indicating whether to include missing specials. + /// Gets or sets a value indicating whether to fallback to original language. + /// + public bool FallbackToOriginalLanguage { get; set; } = false; + + /// + /// Gets or sets a value indicating whether to include missing specials for Missing Episode Provider. /// public bool IncludeMissingSpecials { get; set; } = true; /// - /// Gets or sets a value indicating whether to fallback to original language. + /// Gets or sets a value indicating whether to remove all missing episodes on refresh for Missing Episode Provider. /// - public bool FallbackToOriginalLanguage { get; set; } = false; + public bool RemoveAllMissingEpisodesOnRefresh { get; set; } = false; /// /// Gets or sets a value indicating whether to include original country in tags. diff --git a/Jellyfin.Plugin.Tvdb/Configuration/config.html b/Jellyfin.Plugin.Tvdb/Configuration/config.html index f293506..63759b1 100644 --- a/Jellyfin.Plugin.Tvdb/Configuration/config.html +++ b/Jellyfin.Plugin.Tvdb/Configuration/config.html @@ -44,15 +44,22 @@

TheTVDB Settings:

+ +
+

Missing Episode Provider Settings:

+