UPnP is a set of specifications for media sharing, playing, remote control, etc, across a home network. The specs are supported by a lot of consumer devices (like smartphones, TVs, Xbox, and PlayStation) that are often labeled as being DLNA compatible or certified.
The DLNA guidelines and UPnP specifications defines several device roles, of which Mopidy may play two:
DLNA Digital Media Server (DMS) / UPnP AV MediaServer:
A MediaServer provides a library of media and is capable of streaming that media to a MediaRenderer. If Mopidy was a MediaServer, you could browse and play Mopidy's music on a TV, smartphone, or tablet supporting UPnP. Mopidy does not currently support this, but we may in the future. :issue:`52` is the relevant wishlist issue.
DLNA Digital Media Renderer (DMR) / UPnP AV MediaRenderer:
A MediaRenderer is asked by some remote controller to play some given media, typically served by a MediaServer. If Mopidy was a MediaRenderer, you could use e.g. your smartphone or tablet to make Mopidy play media. Mopidy does already have experimental support for being a MediaRenderer, as you can read more about below.
Mopidy as an UPnP MediaRenderer
There are two ways Mopidy can be made available as an UPnP MediaRenderer: Using Mopidy-MPRIS and Rygel, or using Mopidy-MPD and upmpdcli.
Mopidy-MPD and upmpdcli
Install upmpdcli. On Debian/Ubuntu:
apt-get install upmpdcli
Alternatively, follow the instructions from the upmpdcli website.
Start upmpdcli using the command:
Or, run it in the background as a service:
sudo service upmpdcli start
A UPnP renderer should be available now.
Mopidy-MPRIS and Rygel
See the Mopidy-MPRIS documentation for how to setup Rygel to make Mopidy an UPnP MediaRenderer.
For a long list of UPnP clients for all possible platforms, see Wikipedia's List of UPnP AV media servers and clients.