The Free Software Media System - Server Backend & API
Fix aspect ratio calculation returning 0 or 1 when item has no default AR
cviumec5b7380792b
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex 57c1398e90..94cfed767b 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -1431,7 +1431,7 @@ namespace Emby.Server.Implementations.Dtoreturn null;}- return width / height;+ return (double)width / height;}}}