using MediaBrowser.Model.Plugins; namespace ConfusedPolarBear.Plugin.IntroSkipper.Configuration; /// /// Plugin configuration. /// public class PluginConfiguration : BasePluginConfiguration { /// /// Initializes a new instance of the class. /// public PluginConfiguration() { } // ===== Analysis settings ===== /// /// Gets or sets a value indicating whether the episode's fingerprint should be cached to the filesystem. /// public bool CacheFingerprints { get; set; } = true; /// /// Gets or sets the max degree of parallelism used when analyzing episodes. /// public int MaxParallelism { get; set; } = 2; /// /// Gets or sets a value indicating the action to write to created EDL files. /// public EdlAction EdlAction { get; set; } = EdlAction.None; /// /// Gets or sets a value indicating whether or not to overwrite existing EDL files. /// public bool OverwriteExistingEdlFiles { get; set; } = false; // ===== Playback settings ===== /// /// Gets or sets a value indicating whether introductions should be automatically skipped. /// public bool AutoSkip { get; set; } /// /// Gets or sets the seconds before the intro starts to show the skip prompt at. /// public int ShowPromptAdjustment { get; set; } = 5; /// /// Gets or sets the seconds after the intro starts to hide the skip prompt at. /// public int HidePromptAdjustment { get; set; } = 10; }