Correct typo
This commit is contained in:
parent
3384124f9c
commit
9f7f81fd55
1 changed files with 4 additions and 2 deletions
|
@ -60,7 +60,8 @@ class PlayUtils():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Avoid H265 1080p
|
# Avoid H265 1080p
|
||||||
if utils.settings('transcodeH265') == "true":
|
if (utils.settings('transcodeH265') == "true" and
|
||||||
|
result['MediaSources'][0]['Name'].startswith("1080P/H265")):
|
||||||
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
|
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@ -131,7 +132,8 @@ class PlayUtils():
|
||||||
# FileSystem or Remote, BitRate, supported encoding
|
# FileSystem or Remote, BitRate, supported encoding
|
||||||
|
|
||||||
# Avoid H265 1080p
|
# Avoid H265 1080p
|
||||||
if utils.settings('transcodeH265') == "true":
|
if (utils.settings('transcodeH265') == "true" and
|
||||||
|
result['MediaSources'][0]['Name'].startswith("1080P/H265")):
|
||||||
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
|
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue