mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-18 07:51:27 +00:00
Add caption job plugin models
This commit is contained in:
@@ -97,3 +97,76 @@ public sealed class SceneSearchIndexStatus
|
||||
[JsonPropertyName("pruned")]
|
||||
public int? Pruned { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public sealed class SceneSearchCaptionRequest
|
||||
{
|
||||
[JsonPropertyName("library_ids")]
|
||||
public List<string> LibraryIds { get; set; } = [];
|
||||
|
||||
[JsonPropertyName("force")]
|
||||
public bool Force { get; set; }
|
||||
}
|
||||
|
||||
public sealed class SceneSearchCaptionStatus
|
||||
{
|
||||
[JsonPropertyName("running")]
|
||||
public bool Running { get; set; }
|
||||
|
||||
[JsonPropertyName("stage")]
|
||||
public string Stage { get; set; } = "idle";
|
||||
|
||||
[JsonPropertyName("started_at")]
|
||||
public string? StartedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("finished_at")]
|
||||
public string? FinishedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("error")]
|
||||
public string? Error { get; set; }
|
||||
|
||||
[JsonPropertyName("title")]
|
||||
public string? Title { get; set; }
|
||||
|
||||
[JsonPropertyName("timestamp_ms")]
|
||||
public long? TimestampMs { get; set; }
|
||||
|
||||
[JsonPropertyName("model")]
|
||||
public string? Model { get; set; }
|
||||
|
||||
[JsonPropertyName("route")]
|
||||
public string? Route { get; set; }
|
||||
|
||||
[JsonPropertyName("indexed_frames")]
|
||||
public int? IndexedFrames { get; set; }
|
||||
|
||||
[JsonPropertyName("already_captioned")]
|
||||
public int? AlreadyCaptioned { get; set; }
|
||||
|
||||
[JsonPropertyName("frames_selected")]
|
||||
public int? FramesSelected { get; set; }
|
||||
|
||||
[JsonPropertyName("frames_total")]
|
||||
public int? FramesTotal { get; set; }
|
||||
|
||||
[JsonPropertyName("frames_completed")]
|
||||
public int? FramesCompleted { get; set; }
|
||||
|
||||
[JsonPropertyName("failed")]
|
||||
public int? Failed { get; set; }
|
||||
|
||||
[JsonPropertyName("retained")]
|
||||
public int? Retained { get; set; }
|
||||
|
||||
[JsonPropertyName("general_total")]
|
||||
public int? GeneralTotal { get; set; }
|
||||
|
||||
[JsonPropertyName("specialist_total")]
|
||||
public int? SpecialistTotal { get; set; }
|
||||
|
||||
[JsonPropertyName("documents_processed")]
|
||||
public int? DocumentsProcessed { get; set; }
|
||||
|
||||
[JsonPropertyName("percent")]
|
||||
public double? Percent { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user