checksearch) flow, supports optional login/password authentication, and can route streams through streamproxy or an APN host.
Module version: 5.2 (
ModInit.Version in LME.Uaflix/ModInit.cs)HTTP route
| Parameter | Type | Description |
|---|---|---|
title | string | Ukrainian or localized title used for search |
original_title | string | Original (usually English) title |
imdb_id | string | IMDb identifier for matching |
kinopoisk_id | long | Kinopoisk identifier |
year | int | Release year |
serial | int | 1 = TV serial, 0 = movie |
s | int | Season number (-1 = show season list) |
t | string | Selected voice/dubbing track name |
href | string | Direct film URL (skips search) |
play | bool | Resolve and redirect to a raw stream URL |
checksearch | bool | Validate whether content exists (see below) |
rjson | bool | Return JSON instead of HTML templates |
Secondary route
episode_url is provided without play=true, the controller resolves the stream and returns a {"method":"play","url":"...","title":"..."} JSON payload for Lampac’s call method.
Configuration (init.conf)
Add the following block to your init.conf. The key must be "LME.Uaflix".
Parameters
Enables or disables the module. Set to
false to disable without removing the block.Base URL of the Uaflix site. Override if the domain changes.
Label shown for this source in the Lampac UI.
Sort order among sources. Lower numbers appear first.
Username for Uaflix account authentication. Leave
null if the site does not require a login.Password for Uaflix account authentication. Leave
null if unused.Raw cookie string to send with requests, as an alternative to
login/passwd.A CORS-proxy host used for parsing requests. Does not affect stream delivery; compatible with both
useproxy and magic_apn.Route video streams through Lampac’s built-in stream proxy. Mutually exclusive with APN: if
apn is set, streamproxy is automatically disabled.Route outbound HTTP parsing requests through the configured
proxy list.Proxy settings object. Supports SOCKS5 proxies.
useAuth— whether the proxy requires authenticationusername/password— proxy credentialslist— array of proxy URLs, e.g.["socks5://address:port"]
An APN (Alternative Proxy Node) URL template used only for Ashdi-origin stream links. The placeholder
{encodeurl} is replaced with the percent-encoded stream URL. Only applied when the inner player is active and no explicit apn is already configured.Multi-voice support for serials
Whenserial=1, the module navigates a two-level hierarchy: seasons, then voice tracks (dubbing variants) within each season.
s=-1— returns a season picker (SeasonTpl).s=<n>— loads all voice tracks available for that season. The first voice is auto-selected iftis not provided.t=<voice_name>— selects a specific voice track; the controller returns anEpisodeTplmerged with aVoiceTplso the user can switch between dubs.
zetvideo-vod and ashdi-vod, episodes use the call method (indirect resolution). For ashdi-serial and zetvideo-serial, the stream URL is embedded directly.
checksearch support
Whenchecksearch=true, the controller performs a lightweight content availability check instead of returning a full playback response. It calls invoke.CheckSearchAvailability and responds with the plain text data-json= if content is found, or an error otherwise. This integrates with Lampac’s checkOnlineSearch feature to surface or suppress the source depending on availability.
streamproxy and magic_apn interaction
The module enforces the following precedence rules at startup and per-request:- If APN is enabled (via
apn/apn_hostininit.conf):streamproxyis set tofalseautomatically. - If
streamproxy: trueand no APN is configured:apnstreamandapnare cleared. magic_apn.ashdiis a lighter alternative: it activates APN only for Ashdi-origin stream URLs and only when the inner player is in use. It does not conflict withwebcorshost(CORS is used for parsing;magic_apnis used for Ashdi streaming only).webcorshostandstreamproxyare compatible — CORS is used for parsing, the stream proxy is used for video delivery.