Hotfix: Fix ValueError for playing certain files

This commit is contained in:
tomkat83 2016-07-13 07:24:35 +02:00
parent 79ac5be045
commit 1eb90cc5e6

View file

@ -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: