From 30a954300e641ea62fe2ba4ac36ba22e9bc83c1d Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Thu, 13 Sep 2012 16:56:45 -0400 Subject: [PATCH] IBN fix --- MediaBrowser.Controller/Library/ItemController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MediaBrowser.Controller/Library/ItemController.cs b/MediaBrowser.Controller/Library/ItemController.cs index d077785270..6ac2e4f1e3 100644 --- a/MediaBrowser.Controller/Library/ItemController.cs +++ b/MediaBrowser.Controller/Library/ItemController.cs @@ -235,15 +235,15 @@ namespace MediaBrowser.Controller.Library { name = FileData.GetValidFilename(name); - string key = Path.Combine(path, name); + path = Path.Combine(path, name); // Look for it in the cache, if it's not there, create it - if (!ImagesByNameItemCache.ContainsKey(key)) + if (!ImagesByNameItemCache.ContainsKey(path)) { - ImagesByNameItemCache[key] = CreateImagesByNameItem(path, name); + ImagesByNameItemCache[path] = CreateImagesByNameItem(path, name); } - return ImagesByNameItemCache[key] as Task; + return ImagesByNameItemCache[path] as Task; } ///