Hotfix: Fix ValueError for playing certain files
This commit is contained in:
parent
79ac5be045
commit
1eb90cc5e6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue