LukePulverenti 12 years ago
commit 913cb3c564

@ -85,6 +85,11 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns> /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
public override bool Supports(BaseItem item) public override bool Supports(BaseItem item)
{ {
if (item.LocationType != LocationType.FileSystem)
{
return false;
}
var video = item as Video; var video = item as Video;
if (video != null) if (video != null)

@ -368,7 +368,7 @@ namespace MediaBrowser.Server.Implementations.Providers
} }
//download and save locally //download and save locally
var localPath = ConfigurationManager.Configuration.SaveLocalMeta ? var localPath = (ConfigurationManager.Configuration.SaveLocalMeta && item.MetaLocation != null) ?
Path.Combine(item.MetaLocation, targetName) : Path.Combine(item.MetaLocation, targetName) :
_remoteImageCache.GetResourcePath(item.GetType().FullName + item.Path.ToLower(), targetName); _remoteImageCache.GetResourcePath(item.GetType().FullName + item.Path.ToLower(), targetName);

Loading…
Cancel
Save