fix(nav): inject request tab via FT HTTP endpoint
File Transformation reflection callbacks often fail across plugin load contexts; register an anonymous TransformIndexHtml endpoint as the reliable injection path. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
e260677dab
commit
bfa8115fd0
9 files changed
+79
-31
No files matched your search
@@ -1,12 +1,17 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Jellyfin.Plugin.Request.Hosting;
|
||||
|
||||
/// <summary>
|
||||
/// Payload shape expected by the File Transformation callback.
|
||||
/// Payload shape expected by the File Transformation callback/endpoint.
|
||||
/// </summary>
|
||||
public sealed class IndexHtmlPatchPayload
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the current file contents.
|
||||
/// </summary>
|
||||
[JsonProperty("contents")]
|
||||
[JsonPropertyName("contents")]
|
||||
public string Contents { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in new issue
Block a user