Skip to main content
LME.Uaflix is the primary general-purpose streaming module in the Lampac Ukraine collection. It connects Lampac NextGen to uafix.net and provides access to Ukrainian-language movies, TV shows, and anime. For serials it exposes full season and per-voice (dubbing track) navigation; for movies it returns one or more labelled stream variants. The module also participates in Lampac’s “refine search” (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

GET /lite/lme.uaflix
Key query parameters accepted by the controller:
ParameterTypeDescription
titlestringUkrainian or localized title used for search
original_titlestringOriginal (usually English) title
imdb_idstringIMDb identifier for matching
kinopoisk_idlongKinopoisk identifier
yearintRelease year
serialint1 = TV serial, 0 = movie
sintSeason number (-1 = show season list)
tstringSelected voice/dubbing track name
hrefstringDirect film URL (skips search)
playboolResolve and redirect to a raw stream URL
checksearchboolValidate whether content exists (see below)
rjsonboolReturn JSON instead of HTML templates

Secondary route

GET /lite/lme.uaflix?episode_url=<url>
When 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".
"LME.Uaflix": {
  "enable": true,
  "domain": "https://uafix.net",
  "displayname": "UaFlix",
  "displayindex": 1,
  "login": null,
  "passwd": null,
  "cookie": null,
  "webcorshost": null,
  "streamproxy": false,
  "useproxy": false,
  "proxy": {
    "useAuth": true,
    "username": "FooBAR",
    "password": "Strong_password",
    "list": [
      "socks5://address:port"
    ]
  },
  "magic_apn": {
    "ashdi": "https://tut.im/proxy.php?url={encodeurl}"
  }
}

Parameters

enable
boolean
default:"true"
Enables or disables the module. Set to false to disable without removing the block.
domain
string
default:"https://uafix.net"
Base URL of the Uaflix site. Override if the domain changes.
displayname
string
default:"UaFlix"
Label shown for this source in the Lampac UI.
displayindex
integer
default:"0"
Sort order among sources. Lower numbers appear first.
login
string
Username for Uaflix account authentication. Leave null if the site does not require a login.
passwd
string
Password for Uaflix account authentication. Leave null if unused.
Raw cookie string to send with requests, as an alternative to login/passwd.
webcorshost
string
A CORS-proxy host used for parsing requests. Does not affect stream delivery; compatible with both useproxy and magic_apn.
streamproxy
boolean
default:"false"
Route video streams through Lampac’s built-in stream proxy. Mutually exclusive with APN: if apn is set, streamproxy is automatically disabled.
useproxy
boolean
default:"false"
Route outbound HTTP parsing requests through the configured proxy list.
proxy
object
Proxy settings object. Supports SOCKS5 proxies.
  • useAuth — whether the proxy requires authentication
  • username / password — proxy credentials
  • list — array of proxy URLs, e.g. ["socks5://address:port"]
magic_apn.ashdi
string
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

When serial=1, the module navigates a two-level hierarchy: seasons, then voice tracks (dubbing variants) within each season.
  1. s=-1 — returns a season picker (SeasonTpl).
  2. s=<n> — loads all voice tracks available for that season. The first voice is auto-selected if t is not provided.
  3. t=<voice_name> — selects a specific voice track; the controller returns an EpisodeTpl merged with a VoiceTpl so the user can switch between dubs.
For player types 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

When checksearch=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.
checksearch requires checkOnlineSearch: true in Lampac’s online config. If that setting is absent or false, the check immediately returns an error.

streamproxy and magic_apn interaction

The module enforces the following precedence rules at startup and per-request:
  • If APN is enabled (via apn / apn_host in init.conf): streamproxy is set to false automatically.
  • If streamproxy: true and no APN is configured: apnstream and apn are cleared.
  • magic_apn.ashdi is 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 with webcorshost (CORS is used for parsing; magic_apn is used for Ashdi streaming only).
  • webcorshost and streamproxy are compatible — CORS is used for parsing, the stream proxy is used for video delivery.

Build docs developers (and LLMs) love