How can I list upnp server/renderer in command line (console mode) on linux?

scanpat picture scanpat · Aug 21, 2013 · Viewed 29.1k times · Source

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

Answer

Jussi Kukkonen picture Jussi Kukkonen · Aug 21, 2013

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