Debug for DLHD

This commit is contained in:
UrloMythus
2024-09-29 14:28:16 +02:00 Unverified
parent 4f3f9c5a04
commit 0a5a8c6269
2 changed files with 4 additions and 3 deletions
+4 -2
View File
@@ -208,9 +208,11 @@ async def addon_stream(request: Request,config, type, id,):
streams['streams'].append({'title': f"{HF}Server {i} " + channel['title'],'url': webru_url})
if id in webru_dlhd:
if DLHD == "1":
print("Webru DLHD triggered")
i = i+1
webru_url = await webru(id,"dlhd",client)
streams['streams'].append({'title': f"{HF}Server {i} " + channel['title'],'url': webru_url})
webru_url_2 = await webru(id,"dlhd",client)
print(webru_url_2)
streams['streams'].append({'title': f"{HF}Server {i} " + channel['title'],'url': webru_url_2})
if not streams['streams']:
raise HTTPException(status_code=404)
return respond_with(streams)