From d1315ffc815ccc4441cc2def02ee70decdd1c4ba Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 11 Mar 2012 00:25:52 +0100 Subject: [PATCH] Catch metadata exception and continue --- couchpotato/core/plugins/scanner/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index f170dcd9..2d9607cb 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/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 {}