first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JRay.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Extensible "what's happening at time t" context for a media item.
|
||||
/// Returned by the <c>jray?t=</c> endpoint; new fields (e.g. locations,
|
||||
/// trivia) can be added here without changing the route.
|
||||
/// </summary>
|
||||
public class JRayContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the list of actors visible on screen at the queried timestamp.
|
||||
/// </summary>
|
||||
[JsonPropertyName("actors")]
|
||||
public Collection<ActorAtTime> Actors { get; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user