fixed image uploading for virtual items

This commit is contained in:
Luke Pulverenti
2013-05-18 13:07:20 -04:00
parent 032bf6b8c6
commit 4cd7030248
4 changed files with 15 additions and 9 deletions

View File

@@ -408,7 +408,7 @@ namespace MediaBrowser.Server.Implementations.Providers
{
return (saveLocally && item.MetaLocation != null) ?
Path.Combine(item.MetaLocation, targetFileName) :
_remoteImageCache.GetResourcePath(item.GetType().FullName + item.Path.ToLower(), targetFileName);
_remoteImageCache.GetResourcePath(item.GetType().FullName + item.Id.ToString(), targetFileName);
}
/// <summary>