using System; using System.Text.Json.Serialization; namespace Jellyfin.Data.Entities; /// /// An entity representing the metadata for a group of trickplay tiles. /// public class TrickplayInfo { /// /// Gets or sets the id of the associated item. /// /// /// Required. /// [JsonIgnore] public Guid ItemId { get; set; } /// /// Gets or sets width of an individual thumbnail. /// /// /// Required. /// public int Width { get; set; } /// /// Gets or sets height of an individual thumbnail. /// /// /// Required. /// public int Height { get; set; } /// /// Gets or sets amount of thumbnails per row. /// /// /// Required. /// public int TileWidth { get; set; } /// /// Gets or sets amount of thumbnails per column. /// /// /// Required. /// public int TileHeight { get; set; } /// /// Gets or sets total amount of non-black thumbnails. /// /// /// Required. /// public int ThumbnailCount { get; set; } /// /// Gets or sets interval in milliseconds between each trickplay thumbnail. /// /// /// Required. /// public int Interval { get; set; } /// /// Gets or sets peak bandwith usage in bits per second. /// /// /// Required. /// public int Bandwidth { get; set; } }