diff --git a/Procfile b/Procfile index d413267..72180f8 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1 @@ -release: apt-get update && apt-get install -y tesseract-ocr libtesseract-dev && apt-get clean && rm -rf /var/lib/apt/lists/* && pip install --no-cache-dir pytesseract web: uvicorn run:app --host=0.0.0.0 --port=$PORT --workers 2 \ No newline at end of file diff --git a/run.py b/run.py index ec5495c..210fa26 100644 --- a/run.py +++ b/run.py @@ -256,9 +256,9 @@ async def addon_stream(request: Request,config, type, id,): streams = await animeworld(streams,id,client) else: if provider_maps['STREAMINGCOMMUNITY'] == "1" and SC == "1": - if provider_maps['SC_MFP'] == "0": - MFP == "0" - streams = await streaming_community(streams,id,client,MFP,MFP_CREDENTIALS) + if provider_maps['SC_MFP'] != "0": + SC_MFP == "1" + streams = await streaming_community(streams,id,client,SC_MFP,MFP_CREDENTIALS) if provider_maps['STREAMINGWATCH'] == "1" and SW == "1": streams = await streamingwatch(streams,id,client) if provider_maps['CB01'] == "1" and CB == "1":