mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-20 00:33:36 +00:00
Make Scene Search participate in normal searches
This commit is contained in:
@@ -12,7 +12,7 @@ public class PluginConfiguration : BasePluginConfiguration
|
|||||||
Enabled = true;
|
Enabled = true;
|
||||||
ApiUrl = "http://127.0.0.1:8097";
|
ApiUrl = "http://127.0.0.1:8097";
|
||||||
ApiKey = string.Empty;
|
ApiKey = string.Empty;
|
||||||
RequirePrefix = true;
|
RequirePrefix = false;
|
||||||
SearchPrefix = "scene:";
|
SearchPrefix = "scene:";
|
||||||
MaxResults = 20;
|
MaxResults = 20;
|
||||||
TimeoutSeconds = 60;
|
TimeoutSeconds = 60;
|
||||||
@@ -35,12 +35,16 @@ public class PluginConfiguration : BasePluginConfiguration
|
|||||||
public string ApiKey { get; set; }
|
public string ApiKey { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </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; }
|
public bool RequirePrefix { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public string SearchPrefix { get; set; }
|
public string SearchPrefix { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user