mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
0d17d161c1
@ -223,6 +223,11 @@ namespace MediaBrowser.Controller.Library
|
|||||||
_logger.Error("Image file does not exist: {0}", path);
|
_logger.Error("Image file does not exist: {0}", path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.ErrorException("Failed to determine primary image aspect ratio for {0}", ex, path);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var enhancer in Kernel.Instance.ImageEnhancers
|
foreach (var enhancer in Kernel.Instance.ImageEnhancers
|
||||||
.Where(i => i.Supports(item, ImageType.Primary)))
|
.Where(i => i.Supports(item, ImageType.Primary)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user