Browse Source

[TV] Catch missing "video" info in caper result chain

pull/3761/head
Dean Gardiner 11 years ago
parent
commit
106c5c2d7f
  1. 3
      couchpotato/core/media/show/quality/main.py

3
couchpotato/core/media/show/quality/main.py

@ -143,6 +143,9 @@ class ShowQuality(QualityBase):
def propertyScore(self, quality, chain): def propertyScore(self, quality, chain):
score = 0 score = 0
if 'video' not in chain.info:
return 0
info = fireEvent('matcher.flatten_info', chain.info['video'], single = True) info = fireEvent('matcher.flatten_info', chain.info['video'], single = True)
for key in ['codec', 'resolution', 'source']: for key in ['codec', 'resolution', 'source']:

Loading…
Cancel
Save