mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
add addon name env var
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
ADDON_ID=stremio.comet.fast # for Stremio
|
||||
ADDON_NAME=Comet # for Stremio
|
||||
FASTAPI_HOST=0.0.0.0
|
||||
FASTAPI_PORT=8000
|
||||
FASTAPI_WORKERS=1 # remove to destroy CPU -> max performances
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ async def manifest():
|
||||
return {
|
||||
"id": settings.ADDON_ID,
|
||||
"version": "1.0.0",
|
||||
"name": "Comet",
|
||||
"name": settings.ADDON_NAME,
|
||||
"description": "Stremio's fastest torrent/debrid search add-on.",
|
||||
"logo": "https://i.imgur.com/jmVoVMu.jpeg",
|
||||
"background": "https://i.imgur.com/WwnXB3k.jpeg",
|
||||
|
||||
@@ -12,6 +12,7 @@ class AppSettings(BaseSettings):
|
||||
)
|
||||
|
||||
ADDON_ID: str = "stremio.comet.fast"
|
||||
ADDON_NAME: str = "Comet"
|
||||
FASTAPI_HOST: str = "0.0.0.0"
|
||||
FASTAPI_PORT: int = 8000
|
||||
FASTAPI_WORKERS: int = 2 * (os.cpu_count() or 1)
|
||||
|
||||
Reference in New Issue
Block a user