aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-20 10:06:22 -0400
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-20 10:06:22 -0400
commit9ecd2bbf911df1bb038f0f500b51795da80a51b4 (patch)
treeecf7ec579a463644710ef450f3720354e6052322
parentbd094311f080106c1418a3db95e4a908c1028d54 (diff)
#70 - TV library not being displayed
-rw-r--r--MediaBrowser.Controller/Library/DtoBuilder.cs5
1 files changed, 5 insertions, 0 deletions
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)))