using MediaBrowser.Model.Plugins; namespace Jellyfin.Plugin.JRay.Configuration; /// /// Plugin configuration. /// public class PluginConfiguration : BasePluginConfiguration { /// /// Initializes a new instance of the class. /// public PluginConfiguration() { TruthFileSuffix = ".jray.json"; CacheDurationMinutes = 60; EnableOverlay = true; } /// /// Gets or sets the filename suffix used to find a scene-actor-extraction /// "truth" file for a media item. The plugin looks for a file named /// "<media file basename><TruthFileSuffix>" next to the media file, /// e.g. "Movie.mkv" -> "Movie.jray.json". /// public string TruthFileSuffix { get; set; } /// /// Gets or sets how long (in minutes) a loaded truth file is cached in /// memory before being re-read from disk. /// public int CacheDurationMinutes { get; set; } /// /// Gets or sets a value indicating whether JRay should inject its /// pause-overlay script into the web client's index.html. When disabled, /// any previously injected script is removed. /// public bool EnableOverlay { get; set; } }