mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 03:46:58 -05:00
Logging that Direct Method cannot transcode
This commit is contained in:
parent
6a924cbca2
commit
03927ec495
@ -23,6 +23,9 @@ 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,6 +20,9 @@ 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