Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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

like image 824
scanpat Avatar asked Aug 21 '13 17:08

scanpat


People also ask

What is a UPnP renderer?

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.

What is DLNA UPnP media server?

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.

Is DLNA open source?

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.


1 Answers

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 
like image 98
Jussi Kukkonen Avatar answered Oct 10 '22 09:10

Jussi Kukkonen