From d7c587694f2a1b9688d44a7924a44f7fc9aee54b Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX Date: Sat, 2 Mar 2024 11:53:34 -0500 Subject: [PATCH] Provide a warning about cache option --- .../Configuration/configPage.html | 2 ++ ConfusedPolarBear.Plugin.IntroSkipper/Plugin.cs | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html index c791cd6..5abfdd3 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html @@ -68,6 +68,8 @@
If checked, episode fingerprints will be cached to the filesystem
+ WARNING: Disabling cache may result in lengthy detection +
diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Plugin.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Plugin.cs index 6ce01a2..7f57af8 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Plugin.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Plugin.cs @@ -333,8 +333,6 @@ public class Plugin : BasePlugin, IHasWebPages // Parts of this code are based off of JellyScrub's script injection code. // https://github.com/nicknsy/jellyscrub/blob/4ce806f602988a662cfe3cdbaac35ee8046b7ec4/Nick.Plugin.Jellyscrub/JellyscrubPlugin.cs - _logger.LogInformation("Adding skip button to {Path}", indexPath); - _logger.LogDebug("Reading index.html from {Path}", indexPath); var contents = File.ReadAllText(indexPath); _logger.LogDebug("Successfully read index.html"); @@ -358,6 +356,6 @@ public class Plugin : BasePlugin, IHasWebPages _logger.LogDebug("Saving modified file"); File.WriteAllText(indexPath, contents); - _logger.LogInformation("Skip intro button successfully added to web interface"); + _logger.LogInformation("Skip intro button successfully added"); } }