mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 11:16:58 -05:00
Add Additional Error Handling for Streams
This commit is contained in:
parent
cd24c5a4fe
commit
308c56da09
@ -99,6 +99,9 @@ class Tuners():
|
||||
stream_info = {"url": stream_info}
|
||||
stream_args["stream_info"] = stream_info
|
||||
|
||||
if not stream_args["stream_info"]["url"]:
|
||||
raise TunerError("806 - Tune Failed")
|
||||
|
||||
if stream_args["stream_info"]["url"].startswith("udp://"):
|
||||
stream_args["true_content_type"] = "video/mpeg"
|
||||
stream_args["content_type"] = "video/mpeg"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user