update image size

This commit is contained in:
Luke Pulverenti 2015-10-26 12:40:35 -04:00
parent 175d8dae5e
commit 3bca39bb68

View File

@ -421,10 +421,12 @@ namespace Emby.Drawing
{
size = GetImageSizeInternal(path, allowSlowMethod);
if (size.Width > 0 && size.Height > 0)
{
StartSaveImageSizeTimer();
_cachedImagedSizes.AddOrUpdate(cacheHash, size, (keyName, oldValue) => size);
}
}
return size;
}