From 68aa53979664781fbc5ba91d2c64c972f7b76e1d Mon Sep 17 00:00:00 2001 From: LJQ Date: Sat, 10 Aug 2024 21:48:50 +0800 Subject: [PATCH] Add Configuration --- .../Configuration/PluginConfiguration.cs | 12 +++++++--- .../Configuration/config.html | 23 +++++++++++++------ 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs index 00e57ae..30c4abf 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 the metadata update in hours for the Check for Metadata Updates Scheduled Task. @@ -89,5 +94,6 @@ public int MetadataUpdateInHours /// Gets or sets a value indicating whether to update movie for the Check for Metadata Updates Scheduled Task. /// public bool UpdateMovieScheduledTask { get; set; } = false; + } } diff --git a/Jellyfin.Plugin.Tvdb/Configuration/config.html b/Jellyfin.Plugin.Tvdb/Configuration/config.html index 309668f..0725e26 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:

+

Check for Metadata Updates Scheduled Task Settings:

@@ -102,9 +109,10 @@

Check for Metadata Updates Scheduled Task Settings:

Check for Metadata Updates Scheduled Task Settings: