From 178859e0bdc450f7d91e0ce0123971c96bbd69c5 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Wed, 13 Mar 2013 22:13:32 -0400 Subject: [PATCH] #11 - Image change in Trailer folder is only picked up on server start --- .../Providers/ImageFromMediaLocationProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs b/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs index 70de387431..56f4792059 100644 --- a/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs +++ b/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs @@ -139,7 +139,7 @@ namespace MediaBrowser.Controller.Providers /// true if [is in same directory] [the specified item]; otherwise, false. private bool IsInSameDirectory(BaseItem item, string path) { - return string.Equals(Path.GetDirectoryName(path), item.Path, StringComparison.OrdinalIgnoreCase); + return string.Equals(Path.GetDirectoryName(path), item.MetaLocation, StringComparison.OrdinalIgnoreCase); } ///