Merge pull request #5767 from cvium/dont-delete-artwork
Do not touch "old" local artwork unless saving locally
This commit is contained in:
commit
58fb3e9610
|
@ -172,7 +172,9 @@ namespace MediaBrowser.Providers.Manager
|
|||
SetImagePath(item, type, imageIndex, savedPaths[0]);
|
||||
|
||||
// Delete the current path
|
||||
if (currentImageIsLocalFile && !savedPaths.Contains(currentImagePath, StringComparer.OrdinalIgnoreCase))
|
||||
if (currentImageIsLocalFile
|
||||
&& !savedPaths.Contains(currentImagePath, StringComparer.OrdinalIgnoreCase)
|
||||
&& (saveLocally || currentImagePath.Contains(_config.ApplicationPaths.InternalMetadataPath, StringComparison.OrdinalIgnoreCase)))
|
||||
{
|
||||
var currentPath = currentImagePath;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user