From 9ecd2bbf911df1bb038f0f500b51795da80a51b4 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Wed, 20 Mar 2013 10:06:22 -0400 Subject: [PATCH] #70 - TV library not being displayed --- MediaBrowser.Controller/Library/DtoBuilder.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MediaBrowser.Controller/Library/DtoBuilder.cs b/MediaBrowser.Controller/Library/DtoBuilder.cs index 48aa67f79..9008c966c 100644 --- a/MediaBrowser.Controller/Library/DtoBuilder.cs +++ b/MediaBrowser.Controller/Library/DtoBuilder.cs @@ -223,6 +223,11 @@ namespace MediaBrowser.Controller.Library _logger.Error("Image file does not exist: {0}", path); 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 .Where(i => i.Supports(item, ImageType.Primary)))