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 = false; 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 the legacy prefix requirement flag. /// /// /// Retained for backwards-compatible configuration deserialization. Scene /// Search now participates in normal Jellyfin searches regardless of this value. /// public bool RequirePrefix { get; set; } /// /// Gets or sets an optional prefix stripped before querying 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; } }