From 1eb90cc5e6af32bdb97a0e962ccb4fa722e05a99 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 13 Jul 2016 07:24:35 +0200 Subject: [PATCH] Hotfix: Fix ValueError for playing certain files --- resources/lib/playutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index dd200345..7d4de6f0 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -172,7 +172,7 @@ class PlayUtils(): return False try: resolution = int(videoCodec['resolution']) - except TypeError: + except (TypeError, ValueError): self.logMsg('No video resolution from PMS, not transcoding.', 1) return False if 'h265' in codec: