From 6b5ce934b3ad522cc73b702538026ec7c99103cd Mon Sep 17 00:00:00 2001 From: ThunderClapLP <59509654+ThunderClapLP@users.noreply.github.com> Date: Tue, 10 Jun 2025 15:45:09 +0200 Subject: Fix existing media segments not being handled on scan (#14218) --- MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MediaBrowser.Model') diff --git a/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs b/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs index 8c1f44de8..53d017375 100644 --- a/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs +++ b/MediaBrowser.Model/MediaSegments/MediaSegmentGenerationRequest.cs @@ -1,4 +1,7 @@ using System; +using System.Collections.Generic; +using Jellyfin.Database.Implementations.Entities; +using MediaBrowser.Model.MediaSegments; namespace MediaBrowser.Model; @@ -11,4 +14,9 @@ public record MediaSegmentGenerationRequest /// Gets the Id to the BaseItem the segments should be extracted from. /// public Guid ItemId { get; init; } + + /// + /// Gets existing media segments generated on an earlier scan by this provider. + /// + public required IReadOnlyList ExistingSegments { get; init; } } -- cgit v1.2.3