The Free Software Media System - Server Backend & API
Fix
Bond_009441301069e8e
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex 6e7970e014..cfa714f236 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -960,8 +960,9 @@ namespace Emby.Server.Implementations.Libraryvar path = getPathFn(name);var id = GetItemByNameId<T>(path);+ var item = GetItemById(id) as T;- if (GetItemById(id) is T item)+ if (item == null){item = new T{@@ -977,7 +978,7 @@ namespace Emby.Server.Implementations.Libraryreturn item;}- return null;+ return item;}private Guid GetItemByNameId<T>(string path)