Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/9eba11379a3695eda732a481634fbac620ac0624?style=split&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

catch skia errors when getting image dimensions

pull/3445/head
crobibero 5 years ago
parent 91c51ae675
commit 9eba11379a

@ -1894,9 +1894,19 @@ namespace Emby.Server.Implementations.Library
} }
} }
try
{
ImageDimensions size = _imageProcessor.GetImageDimensions(item, image); ImageDimensions size = _imageProcessor.GetImageDimensions(item, image);
image.Width = size.Width; image.Width = size.Width;
image.Height = size.Height; image.Height = size.Height;
}
catch (Exception ex)
{
_logger.LogError(ex, "Cannnot get image dimensions for {0}", image.Path);
image.Width = 0;
image.Height = 0;
continue;
}
try try
{ {

Loading…
Cancel
Save