debug print
This commit is contained in:
parent
ca49a74a25
commit
481167c7e1
@ -316,6 +316,8 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
self.write("Stream not found. (invalid upstream)")
|
self.write("Stream not found. (invalid upstream)")
|
||||||
else:
|
else:
|
||||||
ctype = await handler.proxy.content_type(upstream)
|
ctype = await handler.proxy.content_type(upstream)
|
||||||
|
logger.info(ctype)
|
||||||
|
logger.info(upstream)
|
||||||
data = None
|
data = None
|
||||||
if "mpegurl" in ctype.lower():
|
if "mpegurl" in ctype.lower():
|
||||||
data = rewrite(upstream, provider, proxy)
|
data = rewrite(upstream, provider, proxy)
|
||||||
|
Loading…
Reference in New Issue
Block a user