From d624b7c57ae586dcaba61b45b6695031ebfba371 Mon Sep 17 00:00:00 2001 From: z0rimo <46391780+z0rimo@users.noreply.github.com> Date: Mon, 5 Oct 2026 19:18:51 -0400 Subject: Backport pull request #18236 from jellyfin/release-12.z Fix user preferences when renaming libraries Original-merge: 9203258175c32b44052d2a0fc5bae9815697c80b Merged-by: crobibero Backported-by: Cody Robibero --- MediaBrowser.Controller/Library/ILibraryManager.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'MediaBrowser.Controller/Library/ILibraryManager.cs') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index 82de3546f0..ae15c75350 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -483,6 +483,15 @@ namespace MediaBrowser.Controller.Library string sortName, string uniqueId); + /// + /// Gets the identifier of a named user view. + /// + /// The user. + /// The parent identifier. + /// Type of the view. + /// The named view identifier. + Guid GetNamedViewId(User user, Guid parentId, CollectionType? viewType); + /// /// Gets the shadow view. /// @@ -495,6 +504,15 @@ namespace MediaBrowser.Controller.Library CollectionType? viewType, string sortName); + /// + /// Gets the identifier of a shadow view. + /// + /// The view name. + /// The parent identifier. + /// Type of the view. + /// The shadow view identifier. + Guid GetShadowViewId(string name, Guid parentId, CollectionType? viewType); + /// /// Gets the season number from path. /// -- cgit v1.2.3