From 50f08d41a411254f67cf2305fd7bb838119a1bc1 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Tue, 1 Sep 2026 19:49:25 +0200 Subject: Find dead people and artists by id, not by name --- MediaBrowser.Controller/Library/ILibraryManager.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index 71b3f054ff..9028b0d6b8 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -707,6 +707,14 @@ namespace MediaBrowser.Controller.Library /// true if ignored, false otherwise. bool IgnoreFile(FileSystemMetadata file, BaseItem parent); + /// + /// Gets the id a item for the name would have, without looking it up + /// or creating it. + /// + /// The name of the person. + /// The item id for the name. + Guid GetPersonId(string name); + Guid GetStudioId(string name); Guid GetGenreId(string name); -- cgit v1.2.3