Browse Source

Catch metadata exception and continue

pull/84/head
Ruud 13 years ago
parent
commit
d1315ffc81
  1. 3
      couchpotato/core/plugins/scanner/main.py

3
couchpotato/core/plugins/scanner/main.py

@ -365,7 +365,6 @@ class Scanner(Plugin):
def getMeta(self, filename):
try:
p = enzyme.parse(filename)
return {
'video': p.video[0].codec,
@ -377,6 +376,8 @@ class Scanner(Plugin):
log.debug('Failed to parse meta for %s' % filename)
except NoParserError:
log.debug('No parser found for %s' % filename)
except:
log.debug('Failed parsing %s' % filename)
return {}

Loading…
Cancel
Save