debug print

This commit is contained in:
Roy Olav Purser 2021-05-14 16:00:47 +02:00
parent ca49a74a25
commit 481167c7e1
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -316,6 +316,8 @@ class MainHandler(tornado.web.RequestHandler):
self.write("Stream not found. (invalid upstream)")
else:
ctype = await handler.proxy.content_type(upstream)
logger.info(ctype)
logger.info(upstream)
data = None
if "mpegurl" in ctype.lower():
data = rewrite(upstream, provider, proxy)