AIOLiveTVAIOLiveTV
Configuration

Environment Variables

Complete reference for AIOLiveTV environment variables and runtime settings.

AIOLiveTV has two kinds of configuration:

  • Bootstrap variables — read from the environment only, before the database is available. They configure the things needed to start the process (server, database, encryption, operator auth, logging). These must be set as environment variables and cannot be changed in the dashboard.
  • Runtime settings — everything else. These are stored in the database and are best configured in the dashboard (Settings page) where they can be edited live, validated, and changed without redeploying. Every runtime setting still has a matching environment variable: if that variable is set, it becomes a locked override — the value is forced and the field is shown as read-only in the UI. Leave it unset to manage the setting from the dashboard.

Recommended approach: set only the bootstrap variables in your .env, then configure everything else from the dashboard. The .env.sample intentionally only contains bootstrap variables for this reason. Use environment overrides for runtime settings only when you need to lock a value (for example in ephemeral hosts like Vercel).

The generated tables below still list inherited AIOStreams settings (debrid, Usenet, TMDB, anime DB, NZB proxy, torrent scrape). The dashboard Settings page hides those. Leave them at defaults unless you know you need an env override for the leftover pipeline.


Bootstrap Variables (environment-only)

These are validated at startup and cannot be set from the dashboard.

Essential

VariableDefaultDescription
BASE_URL—Required. Public URL of your instance, including protocol (e.g. https://aiolivetv.example.com).
SECRET_KEY—Required. 64-character hex string used to encrypt stored configurations. Generate with openssl rand -hex 32. Cannot be changed after first run. The legacy alias SESSION_SECRET is still accepted for one minor release.
PORT3000 (80 on Vercel)Port the server listens on. Do not set this manually on Vercel; the platform provides it.
DATABASE_URIsqlite://./data/db.sqliteDatabase connection URI. Supports SQLite and PostgreSQL (postgres://user:pass@host:port/db). PostgreSQL is required on Vercel; SQLite is rejected when VERCEL=1. Prefer a pooled connection string.
DATABASE_POOL_MAX10 (3 on Vercel)Maximum PostgreSQL connections per process. Keep this low on Vercel because each instance opens its own pool.
REDIS_URI—Redis URI for shared caching. Recommended for multi-instance deployments and required for consistent cache on Vercel.
REDIS_TIMEOUT5000Redis client connect timeout in milliseconds.
SETTINGS_REFRESH_INTERVAL30How often (seconds) each instance polls the DB settings version and reloads runtime config if another instance changed a setting via the dashboard. Keeps multi-instance deployments consistent. Set 0 to disable on single-instance setups. On Vercel, settings are also refreshed at the start of requests.
INTERNAL_URLhttp://localhost:${PORT}Internal URL used for communication with built-in addons. The default is fine for almost all setups, including Vercel Container Functions.
AIOLIVETV_AGE_RATING_ICONS_BASE_URLhttps://cdn.jsdelivr.net/gh/mrcanelas/age-rating-kit@latestBase URL for age-rating SVG icons used when an EPG source does not provide ContentRating.icon.
CRON_SECRET—Bearer token required by /api/internal/tasks/*. Vercel Cron Jobs send Authorization: Bearer ${CRON_SECRET} automatically when this variable is set.
HTTP_ALLOW_PRIVATE_URLSfalseAllow outbound HTTP to localhost and private/reserved IP ranges (RFC1918, link-local, cloud metadata). Leave false on public or multi-user instances. Set true only for a personal LAN that hosts XMLTV or M3U locally.

SECRET_KEY is required and must be a 64-character hexadecimal string. AIOLiveTV will refuse to start without it, and changing it after first run makes existing encrypted configurations undecryptable.

Operator Authentication

VariableDefaultDescription
AIOLIVETV_AUTH—Comma-separated username:password pairs defining all valid credentials. e.g. user1:pass1,user2:pass2. Legacy alias AIOSTREAMS_AUTH is still accepted.
AIOLIVETV_AUTH_ADMINS—Comma-separated usernames (from AIOLIVETV_AUTH) that are admins. Admins can access the configure page and admin-only endpoints (proxy stats, proxy URL generation). If unset, all users are admins. Legacy alias AIOSTREAMS_AUTH_ADMINS.
AIOLIVETV_AUTH_PROXY—Comma-separated usernames (from AIOLIVETV_AUTH) allowed to use the built-in proxy. If unset, all authenticated users can use the proxy. Users not listed can still log in and access the configure page. Legacy alias AIOSTREAMS_AUTH_PROXY.
AIOLIVETV_AUTH_CONNECTIONS_LIMIT—Comma-separated username:limit connection limits (0 for unlimited) for the built-in proxy. Legacy alias AIOSTREAMS_AUTH_CONNECTIONS_LIMIT.

Logging

These configure the logger

VariableDefaultDescription
LOG_LEVELinfoerror, warn, info, http, verbose, debug, silly.
LOG_FORMATjsontext or json. json is recommended for production.
LOG_BUFFER_MAX_BYTES67108864 (2097152 on Vercel)Max bytes of recent log lines kept in memory for the dashboard Logs page.
LOG_BUFFER_MAX_ENTRIES200000 (5000 on Vercel)Hard cap on recent log lines kept in memory for the dashboard Logs page.

Runtime / Build

VariableDefaultDescription
NODE_ENVproductionproduction, development, or test.
SYSTEM_LIFECYCLE_ENABLEDfalseAllow the dashboard System page to restart/stop the AIOLiveTV process.

Runtime Settings

Everything below is stored in the database and editable from the dashboard Settings page. The sections, groups, and labels mirror the dashboard exactly. Set the listed environment variable only if you want to lock that value (it will appear read-only in the UI). Defaults shown are the built-in defaults used when neither the environment variable nor a stored value is present.

Core

General

Environment VariableUI SettingTypeDefaultDescription
AIOLIVETV_AUTH_REQUIREDAuth RequiredbooleanfalseWhen true, /stremio/configure requires a valid login session (any user in AIOLIVETV_AUTH) and the config-write gate (CONFIG_ACCESS_KEY) is enforced. When false, the config page is public. Legacy alias AIOSTREAMS_AUTH_REQUIRED is still accepted.
CONFIG_ACCESS_KEYConfig Access Keystring(unset)Single key embedded in a config and checked on create/update/serve. If unset while authRequired is true, one is generated and persisted automatically. Rotating it invalidates every existing config until re-saved. (secret)
SESSION_TTL_SECONDSSession TTL Secondsduration86400Lifetime of a login session before the user must log in again. Defaults to 24 hours (1d).
ALIASED_CONFIGURATIONSAliased Configurationsmap(unset)Map of aliases to {uuid, password} accessible at /stremio/u/<alias>/manifest.json. Env-supplied form: comma-separated alias:uuid:password entries. (secret)
ENABLE_SEARCH_APIEnable Search APIbooleantrueWhen true, the /api/search endpoint is mounted and reachable. (restart required)
PROVIDE_STREAM_DATAProvide Stream DataboolOrList—Whether stream metadata is included in Stremio stream responses. null (default) auto-detects from User-Agent (AIOLiveTV/* or AIOStreams/* always gets it). true/false overrides for everyone. An IP list enables it only for matching request IPs.
EXPOSE_USER_COUNTExpose User CountbooleanfalseInclude the total user count on the public status endpoint.
STREMIO_ADDONS_CONFIG_ISSUERStremio Addons Config Issuerstringhttps://stremio-addons.netIssuer URL declared in the manifest for the Stremio Addons Config integration.
STREMIO_ADDONS_CONFIG_SIGNATUREStremio Addons Config Signaturestring(unset)Signed JWT for the Stremio Addons Config integration. Both issuer and signature must be set for the manifest field to be emitted. (secret)
TRUSTED_IPSTrusted Ipslist["172.17.0.0/16","127.0.0.1/32","::1/128"]Comma-separated list of trusted IPs / CIDR ranges. Used when determining the requesting IP. User IP is always trusted via headers regardless of this setting.

Branding

Environment VariableUI SettingTypeDefaultDescription
ADDON_NAMEAddon NamestringAIOLiveTVDisplay name shown in the manifest and UI.
ADDON_IDAddon IDstringcom.aiolivetvReverse-DNS identifier published in the manifest. (restart required)
CUSTOM_HTMLCustom Htmlstring—Optional HTML injected into the configuration page.
ALTERNATE_DESIGNAlternate DesignbooleanfalseSwitches the frontend to the alternate design (different logo and theme).

Templates

Environment VariableUI SettingTypeDefaultDescription
FEATURED_TEMPLATE_IDSFeatured Idslist—Up to 2 template IDs featured on the about page. Defaults to the first 2 available templates when unset.
TEMPLATE_URLSUrlslist—Remote template URLs to fetch and cache locally. Templates are downloaded once and refreshed on the schedule below.
TEMPLATE_REFRESH_INTERVALRefresh Intervalduration86400How often remote templates are refreshed (accepts e.g. "12h", "1d"). Set to 0 to disable automatic refresh.

Metadata

TMDB

Environment VariableUI SettingTypeDefaultDescription
TMDB_ACCESS_TOKENTMDB › Access Tokenstring(unset)TMDB Read Access Token used for strict title matching. (secret)
TMDB_API_KEYTMDB › API Keystring(unset)TMDB API key used for strict title matching. (secret)

TVDB

Environment VariableUI SettingTypeDefaultDescription
TVDB_API_KEYTVDB › API Keystring(unset)TVDB API key used for fetching metadata. (secret)

Trakt

Environment VariableUI SettingTypeDefaultDescription
TRAKT_CLIENT_IDTrakt › Client IDstring—Trakt client ID used for fetching aliases.
FETCH_TRAKT_ALIASESTrakt › Fetch AliasesbooleantrueEnable fetching aliases from Trakt.

Anime DB

Environment VariableUI SettingTypeDefaultDescription
ANIME_DB_LEVEL_OF_DETAILAnime DB › Level Of Detailenumnone"none" disables the anime DB (AIOLiveTV default); "required" loads only required mappings; "full" loads everything. (restart required)
ANIME_DB_FRIBB_MAPPINGS_REFRESH_INTERVALAnime DB › Refresh › Fribb Mappingsduration86400Refresh interval for the Fribb anime mappings (seconds; accepts e.g. "1d"). (restart required)
ANIME_DB_MANAMI_DB_REFRESH_INTERVALAnime DB › Refresh › Manami DBduration604800Refresh interval for the Manami anime offline database. (restart required)
ANIME_DB_KITSU_IMDB_MAPPING_REFRESH_INTERVALAnime DB › Refresh › Kitsu Imdb Mappingduration86400Refresh interval for the Kitsu↔IMDB mapping. (restart required)
ANIME_DB_EXTENDED_ANITRAKT_MOVIES_REFRESH_INTERVALAnime DB › Refresh › Extended Anitrakt Moviesduration86400Refresh interval for the Extended Anitrakt movies dataset. (restart required)
ANIME_DB_EXTENDED_ANITRAKT_TV_REFRESH_INTERVALAnime DB › Refresh › Extended Anitrakt Tvduration86400Refresh interval for the Extended Anitrakt TV dataset. (restart required)
ANIME_DB_ANIME_LIST_REFRESH_INTERVALAnime DB › Refresh › Anime Listduration604800Refresh interval for the Anime List XML dataset. (restart required)
ANIME_DB_ANIMEAPI_REFRESH_INTERVALAnime DB › Refresh › Anime APIduration86400Refresh interval for the nattadasu/animeApi dataset (anidb/anilist/mal/kitsu/imdb/tmdb/tvdb/trakt mappings). (restart required)

Logging

Environment VariableUI SettingTypeDefaultDescription
LOG_SENSITIVE_INFOLog Sensitive InfobooleanfalseWhen true, sensitive values may appear in logs. Use only for debugging. (restart required)

Network

HTTP

Environment VariableUI SettingTypeDefaultDescription
DEFAULT_USER_AGENTDefault User AgentstringAIOLiveTV/{version}Default User-Agent header for outbound HTTP requests. Supports {version} and {random} placeholders. (restart required)
AIOLIVETV_USER_AGENTAiostreams User AgentstringAIOLiveTV/{version}User-Agent identifying this addon to upstream services. Supports {version} and {random} placeholders. Legacy alias AIOSTREAMS_USER_AGENT is still accepted. (restart required)
HOSTNAME_USER_AGENT_OVERRIDESHostname User Agent Overridesmap—Per-hostname User-Agent overrides. Env shape: host1:ua1,host2:ua2,.... Takes priority over the default user agents.
ADDON_PROXYAddon Proxylist—Outbound HTTP proxy URL(s) used when fetching addon endpoints.
ADDON_PROXY_CONFIGAddon Proxy Configmap—Per-hostname proxy enablement / index. Env shape: host1:bool|index,host2:bool|index,.... Index references addonProxy when configured as a list.
REQUEST_URL_MAPPINGSRequest URL Mappingsmap—Origin-level URL rewrites applied to outbound requests. JSON object of {origin: replacement} URLs.

Proxy

Encryption

Environment VariableUI SettingTypeDefaultDescription
ENCRYPT_MEDIAFLOW_URLSEncryption › MediaflowbooleantrueEncrypt MediaFlow proxy URLs surfaced to clients.
ENCRYPT_STREMTHRU_URLSEncryption › StremthrubooleantrueEncrypt StremThru proxy URLs surfaced to clients.

Default

Environment VariableUI SettingTypeDefaultDescription
DEFAULT_PROXY_ENABLEDDefault › Enabledjson—When set, used as the default proxy enabled state for new users.
DEFAULT_PROXY_IDDefault › IDstring—Default proxy service identifier.
DEFAULT_PROXY_URLDefault › URLstring—Default proxy URL.
DEFAULT_PROXY_PUBLIC_URLDefault › Public URLstring—Public-facing default proxy URL surfaced to clients (when different from the internal one).
DEFAULT_PROXY_CREDENTIALSDefault › Credentialsstring(unset)Credentials for the default proxy. (secret)
DEFAULT_PROXY_PUBLIC_IPDefault › Public IPstring—Public IP of the default proxy.
DEFAULT_PROXY_PROXIED_SERVICESDefault › Proxied Serviceslist—List of serviceIds to proxy by default. JSON array of strings.

Force

Environment VariableUI SettingTypeDefaultDescription
FORCE_PROXY_ENABLEDForce › Enabledjson—Override user choice of whether the proxy is enabled.
FORCE_PROXY_IDForce › IDstring—Override user choice of proxy service identifier.
FORCE_PROXY_URLForce › URLstring—Override user choice of proxy URL.
FORCE_PROXY_PUBLIC_URLForce › Public URLstring—Override user choice of proxy public URL.
FORCE_PROXY_CREDENTIALSForce › Credentialsstring(unset)Override user choice of proxy credentials. (secret)
FORCE_PROXY_PUBLIC_IPForce › Public IPstring—Override user choice of proxy public IP.
FORCE_PROXY_DISABLE_PROXIED_ADDONSForce › Disable Proxied AddonsbooleanfalseWhen forcing a proxy, also disable any addons that already proxy themselves.
FORCE_PROXY_PROXIED_SERVICESForce › Proxied Serviceslist—List of serviceIds to force-proxy. JSON array of strings.

IP

Environment VariableUI SettingTypeDefaultDescription
PROXY_IP_CACHE_TTLIP › Cache TTLnumber900Cache TTL for resolved proxy IPs (seconds).

NZB Proxy

Environment VariableUI SettingTypeDefaultDescription
NZB_PROXY_PUBLIC_ENABLEDPublic EnabledbooleanfalseEnable the public/generic NZB proxy endpoint. Disabled by default for security. (restart required)
NZB_PROXY_EASYNEWS_ENABLEDEasynews EnabledbooleanfalseEnable the Easynews-specific NZB proxy endpoint. (restart required)
NZB_PROXY_MAX_SIZEMax Sizesize20000000Maximum size of NZBs that can be proxied. Accepts plain bytes or 20MB-style strings.
NZB_PROXY_RATE_LIMIT_WINDOWRate Limit Windownumber3600Sliding window for the NZB proxy rate limit (seconds). (restart required)
NZB_PROXY_RATE_LIMIT_PER_USERRate Limit Per Usernumber100Maximum NZB proxy requests per user per window. (restart required)
ZYCLOPS_HEALTH_PROXY_ENDPOINTZyclops Health Proxy Endpointstringhttps://zyclops.elfhosted.comBase URL of the Zyclops health proxy used by the Newznab preset.

Rate Limits

Environment VariableUI SettingTypeDefaultDescription
RATE_LIMIT_STOREStoreenummemoryBackend used to track rate-limit counters. (restart required)
DISABLE_RATE_LIMITSDisabledbooleanfalseWhen true, all rate limiters are disabled. (restart required)

Static

Environment VariableUI SettingTypeDefaultDescription
STATIC_RATE_LIMIT_WINDOWStatic › Windownumber5Sliding-window length (seconds) for the static file rate limiter. (restart required)
STATIC_RATE_LIMIT_MAX_REQUESTSStatic › Max Requestsnumber200Maximum requests per IP within the window for the static file rate limiter. (restart required)

User API

Environment VariableUI SettingTypeDefaultDescription
USER_API_RATE_LIMIT_WINDOWUser API › Windownumber5Sliding-window length (seconds) for the user API rate limiter. (restart required)
USER_API_RATE_LIMIT_MAX_REQUESTSUser API › Max Requestsnumber5Maximum requests per IP within the window for the user API rate limiter. (restart required)

Stream API

Environment VariableUI SettingTypeDefaultDescription
STREAM_API_RATE_LIMIT_WINDOWStream API › Windownumber10Sliding-window length (seconds) for the stream API rate limiter. (restart required)
STREAM_API_RATE_LIMIT_MAX_REQUESTSStream API › Max Requestsnumber5Maximum requests per IP within the window for the stream API rate limiter. (restart required)

Format API

Environment VariableUI SettingTypeDefaultDescription
FORMAT_API_RATE_LIMIT_WINDOWFormat API › Windownumber5Sliding-window length (seconds) for the format API rate limiter. (restart required)
FORMAT_API_RATE_LIMIT_MAX_REQUESTSFormat API › Max Requestsnumber30Maximum requests per IP within the window for the format API rate limiter. (restart required)

Catalog API

Environment VariableUI SettingTypeDefaultDescription
CATALOG_API_RATE_LIMIT_WINDOWCatalog API › Windownumber5Sliding-window length (seconds) for the catalog API rate limiter. (restart required)
CATALOG_API_RATE_LIMIT_MAX_REQUESTSCatalog API › Max Requestsnumber5Maximum requests per IP within the window for the catalog API rate limiter. (restart required)

Anime API

Environment VariableUI SettingTypeDefaultDescription
ANIME_API_RATE_LIMIT_WINDOWAnime API › Windownumber60Sliding-window length (seconds) for the anime API rate limiter. (restart required)
ANIME_API_RATE_LIMIT_MAX_REQUESTSAnime API › Max Requestsnumber120Maximum requests per IP within the window for the anime API rate limiter. (restart required)

Stremio Stream

Environment VariableUI SettingTypeDefaultDescription
STREMIO_STREAM_RATE_LIMIT_WINDOWStremio Stream › Windownumber15Sliding-window length (seconds) for the Stremio stream rate limiter. (restart required)
STREMIO_STREAM_RATE_LIMIT_MAX_REQUESTSStremio Stream › Max Requestsnumber10Maximum requests per IP within the window for the Stremio stream rate limiter. (restart required)

Stremio Catalog

Environment VariableUI SettingTypeDefaultDescription
STREMIO_CATALOG_RATE_LIMIT_WINDOWStremio Catalog › Windownumber5Sliding-window length (seconds) for the Stremio catalog rate limiter. (restart required)
STREMIO_CATALOG_RATE_LIMIT_MAX_REQUESTSStremio Catalog › Max Requestsnumber30Maximum requests per IP within the window for the Stremio catalog rate limiter. (restart required)

Stremio Manifest

Environment VariableUI SettingTypeDefaultDescription
STREMIO_MANIFEST_RATE_LIMIT_WINDOWStremio Manifest › Windownumber5Sliding-window length (seconds) for the Stremio manifest rate limiter. (restart required)
STREMIO_MANIFEST_RATE_LIMIT_MAX_REQUESTSStremio Manifest › Max Requestsnumber5Maximum requests per IP within the window for the Stremio manifest rate limiter. (restart required)

Stremio Subtitle

Environment VariableUI SettingTypeDefaultDescription
STREMIO_SUBTITLE_RATE_LIMIT_WINDOWStremio Subtitle › Windownumber5Sliding-window length (seconds) for the Stremio subtitle rate limiter. (restart required)
STREMIO_SUBTITLE_RATE_LIMIT_MAX_REQUESTSStremio Subtitle › Max Requestsnumber10Maximum requests per IP within the window for the Stremio subtitle rate limiter. (restart required)

Stremio Meta

Environment VariableUI SettingTypeDefaultDescription
STREMIO_META_RATE_LIMIT_WINDOWStremio Meta › Windownumber5Sliding-window length (seconds) for the Stremio meta rate limiter. (restart required)
STREMIO_META_RATE_LIMIT_MAX_REQUESTSStremio Meta › Max Requestsnumber15Maximum requests per IP within the window for the Stremio meta rate limiter. (restart required)

Easynews NZB

Environment VariableUI SettingTypeDefaultDescription
EASYNEWS_NZB_RATE_LIMIT_WINDOWEasynews NZB › Windownumber60Sliding-window length (seconds) for the Easynews NZB rate limiter. (restart required)
EASYNEWS_NZB_RATE_LIMIT_MAX_REQUESTSEasynews NZB › Max Requestsnumber15Maximum requests per IP within the window for the Easynews NZB rate limiter. (restart required)

Login

Environment VariableUI SettingTypeDefaultDescription
LOGIN_RATE_LIMIT_WINDOWLogin › Windownumber300Sliding-window length (seconds) for the login rate limiter. (restart required)
LOGIN_RATE_LIMIT_MAX_REQUESTSLogin › Max Requestsnumber5Maximum requests per IP within the window for the login rate limiter. (restart required)

Content

Services

Environment VariableUI SettingTypeDefaultDescription
DEFAULT_SERVICE_CREDENTIALSDefault Credentialsmap(unset)Default credentials pre-filled into user configurations when not provided. Format: one serviceId.credentialId=value entry per line (use \n if your environment cannot store multiline values). Service IDs: realdebrid, alldebrid, premiumize, debridlink, torbox, offcloud, putio, easynews, easydebrid, debrider, pikpak, seedr, nzbdav, altmount, stremthru_newz. Credential IDs vary by service (e.g. apiKey, username, password, clientId, encodedToken). Example: realdebrid.apiKey=xxx / easynews.username=user / easynews.password=pass. (secret)
FORCED_SERVICE_CREDENTIALSForced Credentialsmap(unset)Credentials that override whatever the user has configured and are hidden from the configuration UI. Same serviceId.credentialId=value per-line format and service/credential IDs as DEFAULT_SERVICE_CREDENTIALS. (secret)

Presets

Environment VariableUI SettingTypeDefaultDescription
DEFAULT_TIMEOUTDefault Timeoutnumber7000Fallback timeout for preset stream fetching when a preset does not set its own (milliseconds).

Debridio Tv

Environment VariableUI SettingTypeDefaultDescription
DEBRIDIO_TV_URLDebridio Tv › URLlist["https://tv.lb.debridio.com"]Upstream URL(s) for the Debridio TV addon.
DEFAULT_DEBRIDIO_TV_TIMEOUTDebridio Tv › Default Timeoutnumber—Default timeout for the Debridio TV addon (milliseconds). Falls back to the global default when unset.
DEFAULT_DEBRIDIO_TV_USER_AGENTDebridio Tv › Default User Agentstring—Default User-Agent for the Debridio TV addon. Supports {version}/{random} placeholders.

Usa Tv

Environment VariableUI SettingTypeDefaultDescription
USA_TV_URLUsa Tv › URLlist["https://raw.githubusercontent.com/yowmamasita/usa-tv-next/main"]Upstream URL(s) for the USA TV addon.
DEFAULT_USA_TV_TIMEOUTUsa Tv › Default Timeoutnumber—Default timeout for the USA TV addon (milliseconds). Falls back to the global default when unset.
DEFAULT_USA_TV_USER_AGENTUsa Tv › Default User Agentstring—Default User-Agent for the USA TV addon. Supports {version}/{random} placeholders.

Argentina Tv

Environment VariableUI SettingTypeDefaultDescription
ARGENTINA_TV_URLArgentina Tv › URLlist["https://848b3516657c-argentinatv.baby-beamup.club"]Upstream URL(s) for the Argentina TV addon.
DEFAULT_ARGENTINA_TV_TIMEOUTArgentina Tv › Default Timeoutnumber—Default timeout for the Argentina TV addon (milliseconds). Falls back to the global default when unset.
DEFAULT_ARGENTINA_TV_USER_AGENTArgentina Tv › Default User Agentstring—Default User-Agent for the Argentina TV addon. Supports {version}/{random} placeholders.

Frost View

Environment VariableUI SettingTypeDefaultDescription
FROSTVIEW_URLFrost View › URLlist["https://frostview.cloutteam.com"]Upstream URL(s) for the FrostView TV addon.
DEFAULT_FROSTVIEW_TIMEOUTFrost View › Default Timeoutnumber—Default timeout for the FrostView TV addon (milliseconds). Falls back to the global default when unset.
DEFAULT_FROSTVIEW_USER_AGENTFrost View › Default User Agentstring—Default User-Agent for the FrostView TV addon. Supports {version}/{random} placeholders.

Fenix Tv

Environment VariableUI SettingTypeDefaultDescription
FENIX_TV_URLFenix Tv › URLlist["https://fenixtv.fenixhub.online"]Upstream URL(s) for the Fenix TV addon.
DEFAULT_FENIX_TV_TIMEOUTFenix Tv › Default Timeoutnumber—Default timeout for the Fenix TV addon (milliseconds). Falls back to the global default when unset.
DEFAULT_FENIX_TV_USER_AGENTFenix Tv › Default User Agentstring—Default User-Agent for the Fenix TV addon. Supports {version}/{random} placeholders.

Minha Tv

Environment VariableUI SettingTypeDefaultDescription
MINHA_TV_URLMinha Tv › URLlist["https://da5f663b4690-minhatv.baby-beamup.club"]Upstream URL(s) for the Minha TV addon.
DEFAULT_MINHA_TV_TIMEOUTMinha Tv › Default Timeoutnumber—Default timeout for the Minha TV addon (milliseconds). Falls back to the global default when unset.
DEFAULT_MINHA_TV_USER_AGENTMinha Tv › Default User Agentstring—Default User-Agent for the Minha TV addon. Supports {version}/{random} placeholders.

Built-ins

Stremthru

Environment VariableUI SettingTypeDefaultDescription
BUILTIN_STREMTHRU_URLStremthru › URLstringhttps://stremthru.13377001.xyzBase URL of the StremThru instance used by the built-in addons.
TORBOX_USENET_VIA_STREMTHRUStremthru › Torbox Usenet Via StremthrubooleanfalseRoute Torbox usenet operations entirely through StremThru rather than the Torbox API. (restart required)

Debrid

Environment VariableUI SettingTypeDefaultDescription
BUILTIN_DEBRID_INSTANT_AVAILABILITY_CACHE_TTLDebrid › Instant Availability Cache TTLduration1800Cache TTL for instant-availability checks.
BUILTIN_DEBRID_PLAYBACK_LINK_CACHE_TTLDebrid › Playback Link Cache TTLduration3600Cache TTL for resolved playback links.
BUILTIN_DEBRID_ERROR_CACHE_TTLDebrid › Error Cache TTLduration3600How long content-level failures (e.g. download status = failed/invalid) are cached globally to suppress retries.
BUILTIN_DEBRID_LIBRARY_CACHE_TTLDebrid › Library Cache TTLduration604800Cache TTL for library list results (listMagnets/listNzbs).
BUILTIN_DEBRID_LIBRARY_STALE_THRESHOLDDebrid › Library Stale Thresholdduration600Time after which cached library data is treated as stale (background refresh while serving cached data).
BUILTIN_DEBRID_LIBRARY_PAGE_LIMITDebrid › Library Page Limitnumber1Maximum pages fetched per listMagnets / listNzbs request.
BUILTIN_DEBRID_LIBRARY_PAGE_SIZEDebrid › Library Page Sizenumber500Maximum items per page when listing library items. StremThru caps at 500, Torbox at 1000.
BUILTIN_DEBRID_USE_TORRENT_DOWNLOAD_URLDebrid › Use Torrent Download URLbooleantruePrefer .torrent URLs over magnets for better private-tracker compatibility.
BUILTIN_DEBRID_METADATA_STOREDebrid › Metadata Storeenum—Backend used to persist debrid metadata. Defaults to the platform-default when unset. (restart required)
BUILTIN_DEBRID_FILEINFO_STOREDebrid › Fileinfo StorejsontrueBackend (or true/false) used for the debrid fileinfo store. (restart required)
BUILTIN_PLAYBACK_LINK_VALIDITYDebrid › Playback Link Validityduration86400How long a generated playback link is treated as valid (seconds).
BUILTIN_DOWNLOAD_POLL_INTERVALDebrid › Download Poll Intervalmap{"nzbdav":2000,"altmount":2000,"stremthru_newz":2000,"*":10000}Per-service download-status poll interval. Env shape: service:duration,.... Wildcard * covers unlisted services.
BUILTIN_DOWNLOAD_MAX_WAIT_TIMEDebrid › Download Max Wait Timemap{"nzbdav":90000,"altmount":90000,"stremthru_newz":90000,"*":120000}Per-service maximum wait time before timing out a download check. Env shape: service:duration,....

Scrape

Environment VariableUI SettingTypeDefaultDescription
BUILTIN_SCRAPE_WITH_ALL_TITLESScrape › With All TitlesboolOrListfalseBy default, built-in addons only use the primary title for text-based queries. true enables all alternative titles for every indexer; false (default) uses the primary title only; a comma-separated hostname list (e.g. jackett,knaben.org) enables it only for those indexers. Superseded per-indexer by BUILTIN_SCRAPE_TITLE_LANGUAGES.
BUILTIN_SCRAPE_TITLE_LANGUAGESScrape › Title Languagesmap—Fine-grained alternative-title control, per indexer hostname, indexer name, or addon type. Supersedes BUILTIN_SCRAPE_WITH_ALL_TITLES. Format: <key>:<spec>[,<spec>...][,<key>:<spec>...]. Keys (checked in priority order): exact indexer hostname (e.g. my-indexer.com); auto-extracted indexer name (Jackett /api/v2.0/indexers/<name>/..., NZBHydra2 ?indexers=<name>); addon-id (newznab, torznab, easynews, knaben, prowlarr, torrent-galaxy); * wildcard fallback. Specs: default (primary/English-style title), all (all alternative titles up to BUILTIN_SCRAPE_TITLE_LIMIT), original (TMDB original-language title), <lang> (ISO 639-1 code, e.g. de, fr). Multiple specs under one key are combined (duplicates removed); only the highest-priority matching key applies; always falls back to the primary title. Examples: *:default,original — every indexer gets default + TMDB original-language title. *:default,newznab:default,original,de — newznab indexers query English + original + German, others English only. *:default,germanindexer.com:de,default — germanindexer.com queries German + English, all others English only.
BUILTIN_SCRAPE_TITLE_LIMITScrape › Title Limitnumber3Maximum alternative titles used per scrape.
BUILTIN_SCRAPE_QUERY_CONCURRENCYScrape › Query Concurrencynumber5Maximum concurrent scrape queries.

Get Torrent

Environment VariableUI SettingTypeDefaultDescription
BUILTIN_GET_TORRENT_TIMEOUTGet Torrent › Timeoutnumber5000Timeout for fetching torrent files.
BUILTIN_GET_TORRENT_CONCURRENCYGet Torrent › Concurrencynumber100Maximum concurrent torrent fetches.
BUILTIN_GET_TORRENT_LAZILYGet Torrent › LazilybooleantrueFetch torrents lazily in the background. First search returns immediately with available results.

Torrent

Environment VariableUI SettingTypeDefaultDescription
BUILTIN_TORRENT_METADATA_CACHE_TTLTorrent › Metadata Cache TTLduration604800Cache TTL for torrent metadata.
BUILTIN_MINIMUM_BACKGROUND_REFRESH_INTERVALTorrent › Minimum Background Refresh Intervalduration86400Minimum interval between background search-cache refreshes triggered during normal searches.

Posters

Environment VariableUI SettingTypeDefaultDescription
POSTER_API_KEY_VALIDITY_CACHE_TTLAPI Key Validity Cache TTLnumber604800How long an RPDB / poster-API key validity check is cached (seconds).

Resources

Environment VariableUI SettingTypeDefaultDescription
STREAM_URL_MAPPINGSStream URL Mappingsmap—Origin-level rewrites applied to stream URLs returned to clients. JSON object of {origin: replacement} URLs.

Timeouts

Environment VariableUI SettingTypeDefaultDescription
MANIFEST_TIMEOUTTimeouts › Manifestnumber3000Timeout for /manifest.json fetches (milliseconds). Slower manifest operations use the increased timeout below.
MANIFEST_INCREASED_TIMEOUTTimeouts › Manifest Increasednumber10000Extended timeout used during slower manifest operations (milliseconds).
META_TIMEOUTTimeouts › Metanumber30000Timeout for /meta requests (milliseconds).
CATALOG_TIMEOUTTimeouts › Catalognumber30000Timeout for /catalog/* fetches (milliseconds).

Precache

Environment VariableUI SettingTypeDefaultDescription
PRECACHE_NEXT_EPISODE_MIN_INTERVALPrecache › Next Episode Min Intervalduration86400Minimum interval before re-attempting to precache the same next episode (accepts e.g. "30m", "1h").

Preload

Environment VariableUI SettingTypeDefaultDescription
PRELOAD_MIN_INTERVALPreload › Min Intervalduration3600Minimum interval between preload operations for the same item per user (0 disables the cooldown).
PRELOAD_STREAMS_CONCURRENCYPreload › Streams Concurrencynumber5Maximum simultaneous stream preload requests.

Background

Environment VariableUI SettingTypeDefaultDescription
BACKGROUND_RESOURCE_REQUESTS_ENABLEDBackground › EnabledbooleantrueIssue resource requests in the background to keep caches warm.
BACKGROUND_RESOURCE_REQUEST_TIMEOUTBackground › Timeoutnumber—Timeout for background resource requests (milliseconds). When unset, the maximum HTTP timeout is used.

Cache

Environment VariableUI SettingTypeDefaultDescription
DEFAULT_MAX_CACHE_SIZECache › Default Max Sizenumber100000Default maximum number of items per cache instance. (restart required)
SQL_CACHE_MAX_SIZECache › Sql Max Sizenumber100000Maximum number of items in the shared SQL cache. (restart required)
MANIFEST_CACHE_TTLCache › Manifest › TTLmap{"*":21600}Per-key cache TTL for manifest responses (seconds; -1 disables). Env shape: integer or key:value,....
MANIFEST_CACHE_MAX_SIZECache › Manifest › Max Sizenumber—Maximum number of cached manifests. (restart required)
SUBTITLE_CACHE_TTLCache › Subtitle › TTLmap{"*":300}Per-key cache TTL for subtitle responses (seconds; -1 disables).
SUBTITLE_CACHE_MAX_SIZECache › Subtitle › Max Sizenumber—Maximum number of cached subtitle responses. (restart required)
STREAM_CACHE_TTLCache › Stream › TTLmap{"*":-1}Per-key cache TTL for stream responses (seconds; -1 disables, the default).
STREAM_CACHE_MAX_SIZECache › Stream › Max Sizenumber—Maximum number of cached stream responses. (restart required)
CATALOG_CACHE_TTLCache › Catalog › TTLmap{"*":300}Per-key cache TTL for catalog responses (seconds; -1 disables).
CATALOG_CACHE_MAX_SIZECache › Catalog › Max Sizenumber1000Maximum number of cached catalog responses. (restart required)
META_CACHE_TTLCache › Meta › TTLmap{"*":300}Per-key cache TTL for meta responses (seconds; -1 disables).
META_CACHE_MAX_SIZECache › Meta › Max Sizenumber—Maximum number of cached meta responses. (restart required)
ADDON_CATALOG_CACHE_TTLCache › Addon Catalog › TTLmap{"*":300}Per-key cache TTL for addon-catalog responses (seconds; -1 disables).
ADDON_CATALOG_CACHE_MAX_SIZECache › Addon Catalog › Max Sizenumber—Maximum number of cached addon-catalog responses. (restart required)

Limits

User Limits

Environment VariableUI SettingTypeDefaultDescription
MAX_ADDONSMax Addonsnumber15Maximum number of addons a user configuration can install.
MAX_KEYWORD_FILTERSMax Keyword Filtersnumber30Maximum number of keyword filters per keyword filter group.
MAX_FORMATTER_TEMPLATE_LENGTHMax Formatter Template Lengthnumber5000Maximum length (characters) of a single formatter template string. Enforced during config validation.
MAX_NZB_FAILOVER_COUNTMax NZB Failover Countnumber5Maximum NZB failover attempts a user can configure.
MAX_GROUPSMax Groupsnumber20Maximum number of stream groups in a user configuration.
MAX_MERGED_CATALOG_SOURCESMax Merged Catalog Sourcesnumber10Maximum source catalogs in a single merged catalog.
MAX_BACKGROUND_PINGSMax Background Pingsnumber2Maximum streams pinged in a background preload/precache operation.

Timeouts

Environment VariableUI SettingTypeDefaultDescription
MIN_TIMEOUTTimeouts › Min Timeoutnumber1000Lower bound (milliseconds) for any user-configurable HTTP timeout.
MAX_TIMEOUTTimeouts › Max Timeoutnumber50000Upper bound (milliseconds) for any user-configurable HTTP timeout.

Regex

Environment VariableUI SettingTypeDefaultDescription
REGEX_FILTER_ACCESSRegex › AccessenumtrustedWho can use regex filters: "none", "trusted" (only trusted UUIDs), or "all".
WHITELISTED_REGEX_PATTERNSRegex › Patternslist—Regex patterns whitelisted for non-trusted users.
WHITELISTED_REGEX_PATTERNS_URLSRegex › Patterns Urlslist—URLs from which to fetch additional whitelisted regex patterns periodically.
WHITELISTED_REGEX_PATTERNS_DESCRIPTIONRegex › Patterns Descriptionstring—Free-form description shown alongside the whitelisted regex patterns.

SEL

Environment VariableUI SettingTypeDefaultDescription
SEL_SYNC_ACCESSSEL › Accessenumtrusted"all" = anyone can sync from any URL; "trusted" = non-trusted users limited to whitelisted SEL URLs.
WHITELISTED_SEL_URLSSEL › Urlslist—Stream Expression Language sync URLs that non-trusted users may use.
MAX_STREAM_EXPRESSIONSSEL › Max Expressionsnumber200Maximum total stream expressions across all filter types.
MAX_STREAM_EXPRESSIONS_TOTAL_CHARACTERSSEL › Max Expression Charactersnumber50000Maximum total character count across all stream expressions.
MAX_SEL_LENGTHSEL › Max Expression Lengthnumber3000Maximum length (characters) of a single stream expression. Enforced during config validation.

Sync

Environment VariableUI SettingTypeDefaultDescription
WHITELISTED_SYNC_REFRESH_INTERVALSync › Refresh Intervalduration86400How often whitelisted regex/SEL sync URLs are refreshed (accepts e.g. "5m", "1h"). (restart required)

Disabled

Environment VariableUI SettingTypeDefaultDescription
DISABLED_ADDONSDisabled › Addonsmap—Map of disabled addon IDs to a reason. Env-supplied form: comma-separated "addon:reason" entries.
REMOVED_ADDONSDisabled › Removed Addonsmap—Map of removed addon IDs (hidden from marketplace; errors on save) to a reason. Env-supplied form: comma-separated "addon:reason" entries.
DISABLED_SERVICESDisabled › Servicesmap—Map of disabled service IDs to a reason. Env-supplied form: comma-separated "service:reason" entries.
DISABLED_HOSTSDisabled › Hostsmap—Map of disabled hostnames to a reason. Env-supplied form: comma-separated "host:reason" entries.
DISABLED_STREAM_TYPESDisabled › Stream Typeslist—Stream types that should never be returned to clients (e.g. p2p, http, live).

Self Scraping

Environment VariableUI SettingTypeDefaultDescription
DISABLE_SELF_SCRAPINGSelf Scraping › DisabledbooleantrueWhen true, addons cannot scrape the same AIOLiveTV instance.

Trusted

Environment VariableUI SettingTypeDefaultDescription
TRUSTED_UUIDSTrusted › Uuidsstring—Comma-separated list of trusted user UUIDs. Trusted users may use regex filters and bypass certain access policies.

Recursion

Environment VariableUI SettingTypeDefaultDescription
RECURSION_THRESHOLD_LIMITThreshold Limitnumber60Maximum number of requests to the same URL within the threshold window before marking the chain as recursive.
RECURSION_THRESHOLD_WINDOWThreshold Windowduration10Time window for the recursion threshold (seconds; accepts e.g. "30s", "1m").

Tasks

Pruning

Environment VariableUI SettingTypeDefaultDescription
PRUNE_INTERVALPruning › Intervalduration86400How often to run the inactive-user pruning task (accepts e.g. "12h", "1d"). (restart required)
PRUNE_MAX_DAYSPruning › Max Daysnumber-1Days of inactivity before a user is pruned. Use -1 to disable pruning entirely.

Other

Analytics

Environment VariableUI SettingTypeDefaultDescription
ANALYTICS_ENABLEDEnabledbooleantrueWhen false, all request analytics collection is disabled — zero events are written.
USER_ANALYTICS_ENABLEDUser Analytics EnabledbooleanfalseWhen enabled, the configure-page "Stats" tab is available to every authenticated user. Adds one event per addon per stream request.
ANALYTICS_EVENT_RETENTION_DAYSEvent Retention Daysnumber7How many days of raw per-request analytics events to keep before the rollup task prunes them. The per-user Stats tab is limited to this window.
ANALYTICS_DAILY_RETENTION_DAYSDaily Retention Daysnumber90How many days of aggregated daily analytics to keep.

On this page