mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 05:46:58 -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"]
|
quality_profile = stream_args["origin_quality"]
|
||||||
|
|
||||||
if not quality_profile:
|
if not quality_profile:
|
||||||
quality_profile = "high"
|
if stream_args["method"] == "direct":
|
||||||
self.fhdhr.logger.info("Origin Quality not set in config. Defaulting to Highest Quality")
|
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:
|
else:
|
||||||
quality_profile = quality_profile.lower()
|
quality_profile = quality_profile.lower()
|
||||||
self.fhdhr.logger.info("Origin Quality set in config to %s" % (quality_profile))
|
self.fhdhr.logger.info("Origin Quality set in config to %s" % (quality_profile))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user