aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-09 20:18:37 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-09 20:18:37 -0500
commit913cb3c564e58dd440dbf3af81f38aad68c1ac2a (patch)
tree037f1197a71e975af509b9d951f836b12485b8f3 /MediaBrowser.Server.Implementations
parent937e434ab6f32ef4444066a9f84bfbea23538432 (diff)
parent6ebab4a965e2b79599c784d767edff395858845b (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Server.Implementations')
-rw-r--r--MediaBrowser.Server.Implementations/Providers/ProviderManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs b/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs
index 5accc06d7..a8239deb4 100644
--- a/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs
+++ b/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs
@@ -368,7 +368,7 @@ namespace MediaBrowser.Server.Implementations.Providers
}
//download and save locally
- var localPath = ConfigurationManager.Configuration.SaveLocalMeta ?
+ var localPath = (ConfigurationManager.Configuration.SaveLocalMeta && item.MetaLocation != null) ?
Path.Combine(item.MetaLocation, targetName) :
_remoteImageCache.GetResourcePath(item.GetType().FullName + item.Path.ToLower(), targetName);