Skip image processing for live tv sources

This commit is contained in:
Bill Thornton 2020-07-21 16:40:38 -04:00
parent 0750357916
commit 2fa2952791

View File

@ -1882,6 +1882,9 @@ namespace Emby.Server.Implementations.Library
return; return;
} }
// Skip image processing for live tv
if (item.SourceType == SourceType.Library)
{
foreach (var img in outdated) foreach (var img in outdated)
{ {
var image = img; var image = img;
@ -1937,6 +1940,7 @@ namespace Emby.Server.Implementations.Library
_logger.LogError(ex, "Cannot update DateModified for {0}", image.Path); _logger.LogError(ex, "Cannot update DateModified for {0}", image.Path);
} }
} }
}
_itemRepository.SaveImages(item); _itemRepository.SaveImages(item);
RegisterItem(item); RegisterItem(item);