Added work remaining url for remote extraction client
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JRay.Models;
|
||||
|
||||
/// <summary>
|
||||
/// A library item that has no truth data yet (neither a managed upload nor
|
||||
/// a sidecar file), offered to an extraction worker as a candidate to process.
|
||||
/// </summary>
|
||||
public class PendingExtractionItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the Jellyfin item id, used to push results back via
|
||||
/// <c>PUT /Plugins/JRay/Items/{itemId}/Truth</c>.
|
||||
/// </summary>
|
||||
[JsonPropertyName("item_id")]
|
||||
public Guid ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the absolute path to the media file, as seen by Jellyfin.
|
||||
/// </summary>
|
||||
[JsonPropertyName("path")]
|
||||
public string Path { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the item's display name.
|
||||
/// </summary>
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user