Vixsrc support added, please use that site in the config
This commit is contained in:
@@ -323,11 +323,11 @@ async def addon_stream(request: Request,config, type, id,):
|
||||
url_streaming_community,quality_sc, slug_sc = await streaming_community(id,client,SC_FAST_SEARCH,MFP)
|
||||
if url_streaming_community is not None:
|
||||
print(f"StreamingCommunity Found Results for {id}")
|
||||
if MFP == "1" and "iframe" in url_streaming_community:
|
||||
if MFP == "1":
|
||||
url_streaming_community = f'{MFP_url}/extractor/video?api_password={MFP_password}&d={url_streaming_community}&host=VixCloud&redirect_stream=false'
|
||||
url_streaming_community = await transform_mfp(url_streaming_community,client)
|
||||
if "hf.space" in MFP_url:
|
||||
streams['streams'].append({"name":f'{Name}', 'title': f'{Icon}StreamingCommunity\n Sorry StreamingCommunity wont work with MFP hosted on HuggingFace','url': url_streaming_community})
|
||||
streams['streams'].append({"name":f'{Name}', 'title': f'{Icon}StreamingCommunity\n Sorry StreamingCommunity wont work, most likely, with MFP hosted on HuggingFace','url': url_streaming_community})
|
||||
|
||||
streams['streams'].append({"name":f'{Name}\n{quality_sc} Max', 'title': f'{Icon}StreamingCommunity\n {slug_sc.replace("-"," ").capitalize()}','url': url_streaming_community,'behaviorHints':{'notWebReady': False, 'bingeGroup': f'streamingcommunity{quality_sc}'}})
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user