From 50ab82a2e055b1a78c096cf01ea94df81375821b Mon Sep 17 00:00:00 2001
From: TwistedUmbrellaX <1173913+AbandonedCart@users.noreply.github.com>
Date: Sat, 12 Oct 2024 06:35:46 -0400
Subject: [PATCH] Non-destructive 10.10 config (#343)
---
.../Configuration/PluginConfiguration.cs | 8 +++---
.../Configuration/configPage.html | 28 +++++++++----------
.../Plugin.cs | 10 ++++++-
.../Services/AutoSkip.cs | 4 +--
.../Services/AutoSkipCredits.cs | 4 +--
5 files changed, 31 insertions(+), 23 deletions(-)
diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/PluginConfiguration.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/PluginConfiguration.cs
index 16306ea..61a0bd0 100644
--- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/PluginConfiguration.cs
+++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/PluginConfiguration.cs
@@ -36,17 +36,17 @@ public class PluginConfiguration : BasePluginConfiguration
///
/// Gets or sets the list of client to auto skip for.
///
- public string ClientList { get; set; } = "Kodi";
+ public string ClientList { get; set; } = string.Empty;
///
/// Gets or sets a value indicating whether to scan for intros during a scheduled task.
///
- public bool AutoDetectIntros { get; set; }
+ public bool AutoDetectIntros { get; set; } = true;
///
/// Gets or sets a value indicating whether to scan for credits during a scheduled task.
///
- public bool AutoDetectCredits { get; set; }
+ public bool AutoDetectCredits { get; set; } = true;
///
/// Gets or sets a value indicating whether to analyze season 0.
@@ -131,7 +131,7 @@ public class PluginConfiguration : BasePluginConfiguration
///
/// Gets or sets a value indicating whether to show the skip intro button.
///
- public bool SkipButtonVisible { get; set; } = true;
+ public bool SkipButtonVisible { get; set; } = false;
///
/// Gets a value indicating whether to show the skip intro warning.
diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
index 647c30f..0ec85b0 100644
--- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
+++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
@@ -291,20 +291,6 @@
-
-
-
-
- If checked, a skip button will be displayed according to the settings below, while clients selected in the Auto Skip Client List will skip automatically.
-
-
-
-
-
Failed to add skip button to web interface. See troubleshooting guide for the most common issues.
-
Auto Skip Client List
@@ -313,6 +299,20 @@
+
+
+
+
+ (Restart required!) If checked, a skip button will be displayed according to the settings below, while clients selected in the Auto Skip Client List will still skip automatically.
+
+
+
+
+
Failed to add skip button to web interface. See troubleshooting guide for the most common issues.