aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ILibraryManager.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-02-05 00:17:44 +0100
committerShadowghost <Ghost_of_Stone@web.de>2026-02-05 01:41:07 +0100
commita0346fe5b70a434860f973086be176ecc2018a52 (patch)
tree9e005d17c7d7712ccf65527fae7c009ef5d0967c /MediaBrowser.Controller/Library/ILibraryManager.cs
parentaedd2b04a2687adfcc52db96aa3fb7b2ad94fdcc (diff)
Fix multiple version handling
Diffstat (limited to 'MediaBrowser.Controller/Library/ILibraryManager.cs')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs
index adb590ddbe..9b46dec3fe 100644
--- a/MediaBrowser.Controller/Library/ILibraryManager.cs
+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs
@@ -20,6 +20,7 @@ using MediaBrowser.Model.IO;
using MediaBrowser.Model.Querying;
using Episode = MediaBrowser.Controller.Entities.TV.Episode;
using Genre = MediaBrowser.Controller.Entities.Genre;
+using LinkedChildType = MediaBrowser.Controller.Entities.LinkedChildType;
using Person = MediaBrowser.Controller.Entities.Person;
namespace MediaBrowser.Controller.Library
@@ -230,6 +231,14 @@ namespace MediaBrowser.Controller.Library
IEnumerable<Video> GetLinkedAlternateVersions(Video video);
/// <summary>
+ /// Creates or updates a LinkedChild entry linking a parent to a child item.
+ /// </summary>
+ /// <param name="parentId">The parent item ID.</param>
+ /// <param name="childId">The child item ID.</param>
+ /// <param name="childType">The type of linked child relationship.</param>
+ void UpsertLinkedChild(Guid parentId, Guid childId, LinkedChildType childType);
+
+ /// <summary>
/// Adds the parts.
/// </summary>
/// <param name="rules">The rules.</param>