From 694db80d4c8e83ff381af56d2a3dde29e0855c3d Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Fri, 30 Jan 2026 21:58:24 +0100 Subject: Reroute on version removal --- MediaBrowser.Controller/Library/ILibraryManager.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'MediaBrowser.Controller/Library/ILibraryManager.cs') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index c19d15d85f..48859de04b 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -714,5 +714,14 @@ namespace MediaBrowser.Controller.Library /// The path to the virtualfolder. /// The new virtualfolder. public void CreateShortcut(string virtualFolderPath, MediaPathInfo pathInfo); + + /// + /// Re-routes LinkedChildren references from one child to another. + /// Used when video versions change to maintain playlist/BoxSet integrity. + /// + /// The child ID to re-route from. + /// The child ID to re-route to. + /// Number of references updated. + int RerouteLinkedChildReferences(Guid fromChildId, Guid toChildId); } } -- cgit v1.2.3