using MediaBrowser.Model.Plugins; namespace Jellyfin.Plugin.SceneSearch.Configuration; /// /// Configuration for the Scene Search Jellyfin plugin. /// public class PluginConfiguration : BasePluginConfiguration { public PluginConfiguration() { Enabled = true; ApiUrl = "http://127.0.0.1:8097"; ApiKey = string.Empty; RequirePrefix = true; SearchPrefix = "scene:"; MaxResults = 20; TimeoutSeconds = 60; SelectedLibraryIds = []; } /// /// Gets or sets a value indicating whether semantic scene search is enabled. /// public bool Enabled { get; set; } /// /// Gets or sets the scene-search HTTP API base URL. /// public string ApiUrl { get; set; } /// /// Gets or sets the optional shared API key. /// public string ApiKey { get; set; } /// /// Gets or sets a value indicating whether search terms must begin with . /// public bool RequirePrefix { get; set; } /// /// Gets or sets the prefix used to opt in to scene search. /// public string SearchPrefix { get; set; } /// /// Gets or sets the maximum number of Jellyfin items returned by scene search. /// public int MaxResults { get; set; } /// /// Gets or sets the HTTP timeout in seconds. /// public int TimeoutSeconds { get; set; } /// /// Gets or sets the Jellyfin library ids managed by Scene Search. /// public string[] SelectedLibraryIds { get; set; } }