19 lines
582 B
C#
19 lines
582 B
C#
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();
|
|
}
|