mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 11:26:57 -05:00
Compare commits
No commits in common. "e8aa5bd3f42ec0a662a2d89ef0a9c22366a78114" and "4bd2ff971e702a2bb46dbe120f15cb6ecbad37c2" have entirely different histories.
e8aa5bd3f4
...
4bd2ff971e
@ -129,12 +129,8 @@ class Tuners():
|
||||
quality_profile = stream_args["origin_quality"]
|
||||
|
||||
if not quality_profile:
|
||||
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
|
||||
quality_profile = "high"
|
||||
self.fhdhr.logger.info("Origin Quality not set in config. Defaulting to Highest Quality")
|
||||
else:
|
||||
quality_profile = quality_profile.lower()
|
||||
self.fhdhr.logger.info("Origin Quality set in config to %s" % (quality_profile))
|
||||
|
||||
@ -23,9 +23,6 @@ class Direct_M3U8_Stream():
|
||||
|
||||
self.fhdhr.logger.info("Detected stream of m3u8 URL: %s" % self.stream_args["stream_info"]["url"])
|
||||
|
||||
if self.stream_args["transcode_quality"]:
|
||||
self.fhdhr.logger.info("Client requested a %s transcode for stream. Direct Method cannot transcode." % self.stream_args["transcode_quality"])
|
||||
|
||||
def generate():
|
||||
|
||||
try:
|
||||
|
||||
@ -20,9 +20,6 @@ class Direct_Stream():
|
||||
|
||||
self.fhdhr.logger.info("Direct Stream of %s URL: %s" % (self.stream_args["true_content_type"], self.stream_args["stream_info"]["url"]))
|
||||
|
||||
if self.stream_args["transcode_quality"]:
|
||||
self.fhdhr.logger.info("Client requested a %s transcode for stream. Direct Method cannot transcode." % self.stream_args["transcode_quality"])
|
||||
|
||||
if self.stream_args["stream_info"]["headers"]:
|
||||
req = self.fhdhr.web.session.get(self.stream_args["stream_info"]["url"], stream=True, headers=self.stream_args["stream_info"]["headers"])
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user