mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 04:56:57 -05:00
Allow ffmpeg/vlc to select quality when origin_quality is set to None
This commit is contained in:
parent
63685f4a0e
commit
6a924cbca2
@ -129,8 +129,12 @@ class Tuners():
|
||||
quality_profile = stream_args["origin_quality"]
|
||||
|
||||
if not quality_profile:
|
||||
quality_profile = "high"
|
||||
self.fhdhr.logger.info("Origin Quality not set in config. Defaulting to Highest Quality")
|
||||
if stream_args["method"] == "direct":
|
||||
quality_profile = "high"
|
||||
self.fhdhr.logger.info("Origin Quality not set in config. Direct Method set and will default to Highest Quality")
|
||||
else:
|
||||
self.fhdhr.logger.info("Origin Quality not set in config. %s Method will select the Quality Automatically" % stream_args["method"])
|
||||
return m3u8_url
|
||||
else:
|
||||
quality_profile = quality_profile.lower()
|
||||
self.fhdhr.logger.info("Origin Quality set in config to %s" % (quality_profile))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user