Browse Source

#70 - TV library not being displayed

LukePulverenti 12 years ago
parent
commit
9ecd2bbf91
1 changed files with 5 additions and 0 deletions
  1. 5 0
      MediaBrowser.Controller/Library/DtoBuilder.cs

+ 5 - 0
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)))