init.conf file at startup. The configuration object is a standard JSON key-value pair whose key must be the module’s full LME.XXX identifier. All modules expose the same base set of fields; some modules add extra fields specific to their provider.
The key in
init.conf must match the module name exactly, including the LME. prefix. For example, use "LME.Uaflix", not "Uaflix". Using the wrong key means the module will not pick up your settings.Full example
The following block shows every supported field forLME.Uaflix. Other modules use the same structure — replace the key with the appropriate LME.XXX name.
init.conf
Field reference
Controls whether the module is active. Set to
false to disable the module entirely without removing its configuration block.The base URL of the upstream provider. Override this if the provider has changed domains or if you are using a mirror. Must include the scheme (
https://).The label shown for this source in the Lampac UI. Defaults to the module’s own name if omitted.
Account username for sources that require authentication. Set to
null if the source does not use credentials.Account password paired with
login. Set to null when not needed.Raw cookie string to send with requests. Useful when a provider issues a session cookie instead of — or in addition to — a username and password.
URL of a CORS proxy used during parsing requests. When set, the module routes its HTTP requests through this host instead of making direct connections. Works together with
useproxy — see Proxy configuration for details.When
true, streaming URLs are routed through the built-in Lampac stream proxy. This applies only to stream traffic, not to parsing. Cannot be active at the same time as magic_apn — if APN is configured, streamproxy is automatically disabled.When
true, network output during parsing is routed through the SOCKS5 proxy defined in the proxy object. Designed to work alongside webcorshost.SOCKS5 proxy configuration used when
useproxy is true. See Proxy configuration for full field documentation.Sort order of this source in the Lampac source list. Lower numbers appear first. Use
0 to let Lampac place the source in its default position.Reverse-proxy template for Ashdi stream URLs. When the
ashdi sub-field is set, stream links pointing to ashdi.vip are automatically rewritten through the given proxy template. See APN and Ashdi stream proxy for details.Parameter compatibility rules
The following combinations are explicitly supported and do not conflict with each other:webcorshost+useproxy: The CORS host handles the outbound parsing request;useproxyroutes the underlying network connection through SOCKS5.webcorshost+streamproxy: CORS applies to parsing only; the stream proxy applies to streaming only.webcorshost+magic_apn: CORS applies to parsing;magic_apnrewrites Ashdi stream URLs on the client side.
magic_apnandstreamproxy: If APN is enabled,streamproxyis automatically set tofalseby the module at startup.