add debug print
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user