Fix existing media segments not being handled on scan (#14218)

This commit is contained in:
ThunderClapLP
2025-06-10 15:45:09 +02:00
committed by GitHub
parent 7174bb6a93
commit 6b5ce934b3
4 changed files with 59 additions and 14 deletions

View File

@@ -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.
/// </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; }
}