aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-09-01 19:49:25 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-09-01 19:49:25 +0200
commit50f08d41a411254f67cf2305fd7bb838119a1bc1 (patch)
tree14c5433591dba61df45ab7c254757735c3b25256 /Emby.Server.Implementations/Library/LibraryManager.cs
parent792ce4a391c524f8e20f676be2d6cab07e5a59c4 (diff)
Find dead people and artists by id, not by name
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 672a86eb8a..48b61b78a3 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -1204,6 +1204,12 @@ namespace Emby.Server.Implementations.Library
}
/// <inheritdoc />
+ public Guid GetPersonId(string name)
+ {
+ return GetItemByNameId<Person>(Person.GetPath(name));
+ }
+
+ /// <inheritdoc />
public Person? GetPerson(string name)
{
var path = Person.GetPath(name);