add debug print
This commit is contained in:
parent
0c4e62d5fb
commit
3cd9a34535
@ -49,6 +49,7 @@ if icecast_server is not None and stream_server is not None:
|
||||
def rewrite(current, proxy):
|
||||
resp = requests.head(current)
|
||||
ctype = resp.headers.get("Content-Type", "text/plain").lower()
|
||||
print(ctype)
|
||||
if "mpegurl" not in ctype:
|
||||
return None
|
||||
resp = requests.get(current)
|
||||
|
Loading…
Reference in New Issue
Block a user