|
|
@ -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 ||
|
|
|
|
var folderName = item is MusicAlbum ||
|
|
|
|
item is MusicArtist ||
|
|
|
|
item is MusicArtist ||
|
|
|
|
item is PhotoAlbum ||
|
|
|
|
item is PhotoAlbum ||
|
|
|
|
(saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
|
|
|
|
(saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
|
|
|
|
"folder" :
|
|
|
|
"folder" :
|
|
|
|
"poster";
|
|
|
|
"poster";
|
|
|
|
|
|
|
|
|
|
|
|
switch (type)
|
|
|
|
switch (type)
|
|
|
|