program_arguments - euzu/tuliprox GitHub Wiki
Extended M3U playlist filter
Usage: m3u-filter [OPTIONS]
Options:
-c, --config <CONFIG> The config file
-t, --target <TARGET> The target to process
-m, --mapping <MAPPING> The mapping file
-a, --api-proxy <API_PROXY> The user file
-s, --server Run in server mode
-l, --log-level <LOG_LEVEL> log level
-h, --help Print help
-V, --version Print version
--genpwd Generate password for WebUI Authentication
--healthcheck Healtcheck for docker
m3u-filter
searches in the current directory for the configuration files.
If they are somewhere else you need to specifiy the locations
with the arguments -c
, -m
and -a
.
If you run m3u-filter
in cli-mode
(running from terminal and without the -s
argument),
you can define specific targets to update with the -t
argument. You can write multiple -t
arguments.
Target names should be provided in the config. The -t
option overrides enabled
attributes of input
and target
elements.
This means, even disabled inputs and targets are processed when the given target name as argument matches a target.
If you run with -s
argument, the -t
is ignored. This starts m3u-filter
in server mode.
In Server mode the Web-UI
is accesible through a browser. The port is defined in the config.yml file.
The Url should look like http://<IP-Address>:<Port>
. You need to replace <IP-Address>
and <Port>
The log level can be set through M3U_FILTER_LOG
env var.
Log Level has module support like m3u_filter::util=error,m3u_filter::filter=debug,m3u_filter=debug