diff --git a/sickbeard/image_cache.py b/sickbeard/image_cache.py index e242054b83a71baf26b871f53bb52e661a9b4d4e..091e77b135419d5edb04cb872e2702d2e315428d 100644 --- a/sickbeard/image_cache.py +++ b/sickbeard/image_cache.py @@ -60,7 +60,9 @@ class ImageCache: img_parser = createParser(path) img_metadata = extractMetadata(img_parser) img_ratio = float(img_metadata.get('width'))/float(img_metadata.get('height')) - + + img_parser.stream._input.close() + if 0.55 < img_ratio < 0.8: return self.POSTER elif 5 < img_ratio < 6: