Skip to main content
LME.Makhno connects Lampac NextGen to a Ukrainian streaming aggregator backend. It resolves content by IMDB identifier via a wormhole API, then fetches player data that contains one or more voice tracks and seasons for serials, or movie stream variants for films. The module registers itself in Lampac’s “refine search” (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

GET /lite/lme.makhno
GET /lite/lme.makhno/play
GET /lite/lme.makhno/play/movie
The primary 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:
ParameterTypeDescription
imdb_idstringIMDb identifier — required for wormhole resolution
titlestringDisplay title
original_titlestringOriginal title
yearintRelease year
serialint1 = TV serial, 0 = movie
seasonintSeason number (-1 = show season list)
tstringVoice index (integer as string)
checksearchboolLightweight content availability check
rjsonboolReturn JSON instead of HTML templates

How content is resolved

The module uses an IMDB-based “wormhole” lookup:
  1. The imdb_id is passed to invoke.GetWormholePlay, which returns a direct player URL for the title.
  2. Whether the URL refers to a serial or movie is determined by the serial parameter or by the presence of /serial/ in the resolved URL.
  3. 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.
  4. Season numbers are parsed from season title strings (e.g. "Сезон 2") and fall back to 1-based indexing when no number is found.
Because Makhno uses IMDB IDs for lookup, it will not find content that lacks an IMDB entry. Make sure imdb_id is populated in the Lampac request.

Configuration (init.conf)

"LME.Makhno": {
  "enable": true,
  "domain": "https://wh.lme.isroot.in",
  "displayname": "Махно",
  "displayindex": 1,
  "streamproxy": false,
  "useproxy": false,
  "proxy": {
    "useAuth": true,
    "username": "",
    "password": "",
    "list": [
      "socks5://ip:port"
    ]
  },
  "magic_apn": {
    "ashdi": "https://tut.im/proxy.php?url={encodeurl}"
  }
}
The domain field sets the wormhole API host. Do not change it unless you are running a private mirror.

Key parameters

enable
boolean
default:"true"
Enables or disables the module.
domain
string
default:"https://wh.lme.isroot.in"
Backend host used for wormhole IMDB resolution and player data fetching.
displayname
string
default:"Махно"
Label shown in the Lampac source list.
displayindex
integer
default:"0"
Sort order among sources.
streamproxy
boolean
default:"false"
Route video streams through Lampac’s built-in stream proxy. Disabled automatically when APN is active.
useproxy
boolean
default:"false"
Route outbound parsing requests through the proxy list.
magic_apn.ashdi
string
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=-1 returns a SeasonTpl. If a t (voice index) is already selected, the season list is filtered to the seasons that voice covers.
  • season=<n> returns a VoiceTpl combined with an EpisodeTpl. Episodes are sorted by number extracted from their title string.
  • Switching voice tracks may trigger a redirect back to season=-1 if 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 → streamproxy is forced off.
  • streamproxy: true and no APN → apnstream and apn are cleared.
  • magic_apn.ashdi activates conditionally, per-request, only for Ashdi URLs and only when using the inner player.

Build docs developers (and LLMs) love