I want to list my available upnp/dlna renderers on my local network in console mode.
I can do that with gupnp but not in console mode
A UPnP media renderer performs the actual audio or video rendering. Control points and media renderers most commonly run on separate devices, the control point being for example a tablet, and the renderer a television or a networked audio computer connected to an audio receiver.
DLNA. UPnP. Universal Plug and Play (UPnP) allows devices that are connected to a network to easily discover and communicate with each other to enable network applications such as data sharing, video streaming or gaming.
Universal Media Server is a free open-source DLNA and UPnP Media server that is originally based on PS3 Media server. The primary software package is written in Java, and it runs on Windows, Linux, and macOS.
gssdp-discover (from gupnp-tools) will list devices and services advertized over SSDP:
gssdp-discover -i wlan0 --timeout=3
You can also specify the target (as uuid or a service/device type):
gssdp-discover -i wlan0 --timeout=3 --target=urn:schemas-upnp-org:device:MediaRenderer:1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With