Make Scene Search participate in normal searches

This commit is contained in:
Sleeps
2026-10-07 17:21:15 +01:00
parent 1a36ce9517
commit 165db3db66
@@ -12,7 +12,7 @@ public class PluginConfiguration : BasePluginConfiguration
Enabled = true;
ApiUrl = "http://127.0.0.1:8097";
ApiKey = string.Empty;
RequirePrefix = true;
RequirePrefix = false;
SearchPrefix = "scene:";
MaxResults = 20;
TimeoutSeconds = 60;
@@ -35,12 +35,16 @@ public class PluginConfiguration : BasePluginConfiguration
public string ApiKey { get; set; }
/// <summary>
/// Gets or sets a value indicating whether search terms must begin with <see cref="SearchPrefix"/>.
/// Gets or sets the legacy prefix requirement flag.
/// </summary>
/// <remarks>
/// Retained for backwards-compatible configuration deserialization. Scene
/// Search now participates in normal Jellyfin searches regardless of this value.
/// </remarks>
public bool RequirePrefix { get; set; }
/// <summary>
/// Gets or sets the prefix used to opt in to scene search.
/// Gets or sets an optional prefix stripped before querying Scene Search.
/// </summary>
public string SearchPrefix { get; set; }