|
@@ -161,6 +161,8 @@ namespace MediaBrowser.Providers.Manager
|
|
{
|
|
{
|
|
var currentPath = currentImage.Path;
|
|
var currentPath = currentImage.Path;
|
|
|
|
|
|
|
|
+ _logger.Debug("Deleting previous image {0}", currentPath);
|
|
|
|
+
|
|
_libraryMonitor.ReportFileSystemChangeBeginning(currentPath);
|
|
_libraryMonitor.ReportFileSystemChangeBeginning(currentPath);
|
|
|
|
|
|
try
|
|
try
|
|
@@ -375,11 +377,11 @@ namespace MediaBrowser.Providers.Manager
|
|
}
|
|
}
|
|
|
|
|
|
string filename;
|
|
string filename;
|
|
- var folderName = item is MusicAlbum ||
|
|
|
|
- item is MusicArtist ||
|
|
|
|
- item is PhotoAlbum ||
|
|
|
|
- (saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
|
|
|
|
- "folder" :
|
|
|
|
|
|
+ var folderName = item is MusicAlbum ||
|
|
|
|
+ item is MusicArtist ||
|
|
|
|
+ item is PhotoAlbum ||
|
|
|
|
+ (saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
|
|
|
|
+ "folder" :
|
|
"poster";
|
|
"poster";
|
|
|
|
|
|
switch (type)
|
|
switch (type)
|