blob: 53d0173750cefa2c879afc1d41fd32fa8ca6fe34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System;
using System.Collections.Generic;
using Jellyfin.Database.Implementations.Entities;
using MediaBrowser.Model.MediaSegments;
namespace MediaBrowser.Model;
/// <summary>
/// Model containing the arguments for enumerating the requested media item.
/// </summary>
public record MediaSegmentGenerationRequest
{
/// <summary>
/// Gets the Id to the BaseItem the segments should be extracted from.
/// </summary>
public Guid ItemId { get; init; }
/// <summary>
/// Gets existing media segments generated on an earlier scan by this provider.
/// </summary>
public required IReadOnlyList<MediaSegmentDto> ExistingSegments { get; init; }
}
|