upnp-cmd command

Synopsis

upnp-cmd [options]

UPnP discovery is run on all the networks (except the loopbak interface lo) when the --ip-addresses and --nics command line arguments are not used or empty. Otherwise both arguments may be used indifferently or even jointly.

Options

-h, --help

Show this help message and exit.

--version, -v

Show program’s version number and exit.

--ip-addresses IP_ADDRESSES, -a IP_ADDRESSES

IP_ADDRESSES is a comma separated list of the IPv4 addresses of the networks where UPnP devices may be discovered (default: '').

--nics NICS, -n NICS

NICS is a comma separated list of the names of network interface controllers where UPnP devices may be discovered, such as wlan0,enp5s0 for example (default: '').

--msearch-interval MSEARCH_INTERVAL, -m MSEARCH_INTERVAL

Set the time interval in seconds between the sending of the MSEARCH datagrams used for device discovery (default: 60)

--ttl TTL

Set the IP packets time to live to TTL (default: 2).

--logfile PATH, -f PATH

Add a file logging handler set at debug log level whose path name is PATH.

--nolog-upnp, -u

Ignore UPnP log entries at debug log level.

--log-aio, -y

Do not ignore asyncio log entries at debug log level; the default is to ignore those verbose logs.