Make cache setting user configurable

This commit is contained in:
TwistedUmbrellaX 2024-03-01 12:46:23 -05:00
parent b030330857
commit 8841fd3448
2 changed files with 15 additions and 2 deletions

View File

@ -180,5 +180,5 @@ public class PluginConfiguration : BasePluginConfiguration
/// <summary>
/// Gets or sets the notification text sent after automatically skipping an introduction.
/// </summary>
public string AutoSkipNotificationText { get; set; } = "Automatically skipped intro";
public string AutoSkipNotificationText { get; set; } = "Intro skipped";
}

View File

@ -46,6 +46,18 @@
</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription">
<label class="emby-checkbox-label">
<input id="CacheFingerprints" type="checkbox" is="emby-checkbox" />
<span>Cache episode fingerprints</span>
</label>
<div class="fieldDescription">
If checked, episode fingerprints will be cached to the filesystem
<br />
</div>
</div>
<details id="edl">
<summary>EDL file generation</summary>
@ -469,11 +481,12 @@
var booleanConfigurationFields = [
"AnalyzeSeasonZero",
"CacheFingerprints",
"RegenerateEdlFiles",
"AutoSkip",
"SkipFirstEpisode",
"SkipButtonVisible",
"PersistSkipButton",
"SkipButtonVisible"
]
// visualizer elements