checksearch) list so it can signal availability without a full playback request.
Module version: 3.1 (
ModInit.Version in LME.Makhno/ModInit.cs). Default backend: https://wh.lme.isroot.in.HTTP routes
Index action handles search, season listing, and episode listing. The /play sub-route resolves a specific episode to a stream URL; /play/movie does the same for a film.
Key query parameters for the Index action:
| Parameter | Type | Description |
|---|---|---|
imdb_id | string | IMDb identifier — required for wormhole resolution |
title | string | Display title |
original_title | string | Original title |
year | int | Release year |
serial | int | 1 = TV serial, 0 = movie |
season | int | Season number (-1 = show season list) |
t | string | Voice index (integer as string) |
checksearch | bool | Lightweight content availability check |
rjson | bool | Return JSON instead of HTML templates |
How content is resolved
The module uses an IMDB-based “wormhole” lookup:- The
imdb_idis passed toinvoke.GetWormholePlay, which returns a direct player URL for the title. - Whether the URL refers to a serial or movie is determined by the
serialparameter or by the presence of/serial/in the resolved URL. - For serials, player data is fetched once and cached for 10 minutes (
lme.makhno:player:<url>). Voice tracks and season lists are extracted from this data. - Season numbers are parsed from season title strings (e.g.
"Сезон 2") and fall back to 1-based indexing when no number is found.
Configuration (init.conf)
The
domain field sets the wormhole API host. Do not change it unless you are running a private mirror.Key parameters
Enables or disables the module.
Backend host used for wormhole IMDB resolution and player data fetching.
Label shown in the Lampac source list.
Sort order among sources.
Route video streams through Lampac’s built-in stream proxy. Disabled automatically when APN is active.
Route outbound parsing requests through the
proxy list.APN URL template applied only to Ashdi-origin stream links when the inner player is in use. The
{encodeurl} placeholder is replaced with the percent-encoded stream URL.Multi-voice and season navigation
For serials, the module presents voice tracks and seasons as follows:season=-1returns aSeasonTpl. If at(voice index) is already selected, the season list is filtered to the seasons that voice covers.season=<n>returns aVoiceTplcombined with anEpisodeTpl. Episodes are sorted by number extracted from their title string.- Switching voice tracks may trigger a redirect back to
season=-1if the new voice does not cover the currently selected season.
APN and stream proxy precedence
The same precedence rules apply as in other LME modules:- APN active →
streamproxyis forced off. streamproxy: trueand no APN →apnstreamandapnare cleared.magic_apn.ashdiactivates conditionally, per-request, only for Ashdi URLs and only when using the inner player.