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> /// <summary>
/// Gets or sets the notification text sent after automatically skipping an introduction. /// Gets or sets the notification text sent after automatically skipping an introduction.
/// </summary> /// </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> </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"> <details id="edl">
<summary>EDL file generation</summary> <summary>EDL file generation</summary>
@ -469,11 +481,12 @@
var booleanConfigurationFields = [ var booleanConfigurationFields = [
"AnalyzeSeasonZero", "AnalyzeSeasonZero",
"CacheFingerprints",
"RegenerateEdlFiles", "RegenerateEdlFiles",
"AutoSkip", "AutoSkip",
"SkipFirstEpisode", "SkipFirstEpisode",
"SkipButtonVisible",
"PersistSkipButton", "PersistSkipButton",
"SkipButtonVisible"
] ]
// visualizer elements // visualizer elements