diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-09-01 19:49:25 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-09-01 19:49:25 +0200 |
| commit | 50f08d41a411254f67cf2305fd7bb838119a1bc1 (patch) | |
| tree | 14c5433591dba61df45ab7c254757735c3b25256 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 792ce4a391c524f8e20f676be2d6cab07e5a59c4 (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.cs | 6 |
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); |
