Since neither VLC stable / VLC nightly builds / Totem with Coherence Plugin work properly in oneiric I'm searching for an alternative to watch media streamed from my seagate dockstar using minidlna as a server.

The only client that works is XBMC, but that's much of an overkill and stops me from doing other tasks. Atm I'm working around this with samba shares, but it baffles me that both a Playstation 3 and Windows 7 Laptop work better together with my debian based media server than my linux desktop in this regard.

up vote 38 down vote accepted

Recently VLC Version 2.0 was released. This Release features a fully functional UPNP / DLNA Player that works without bugs. I'm using it on Ubuntu and Archlinux and it works just fine with my minidlna player.

To use VLC start the Playlist (View -> Playlist; Ctrl + L) and then select Local Network -> Universal Plug 'n' Play. However, be advised that VLCs implementation first downloads all the library information before you can select anything. Depending on the size of the library that actually might take several minutes and longer.

  • 9
    This doesn't work for me - VLC shows my server, but won't let me browse it. – Guss Apr 5 '14 at 20:59
  • 3
    If your library is large you may have to give it some time. Click on your server and wait a couple of minutes, for some reason VLC is really slow when it comes to your accessing a library for the first time. – imbaer Apr 6 '14 at 11:30
  • 13
    It should display a status bar or some sort of loading icon. I can't even see if it's worth waiting. – byf-ferdy Jun 29 '14 at 19:55
  • 1
    VLC also doesn't work for me. As I already commented packages.debian.org/search?searchon=names&keywords=kodi Kodi does the job excellently – Philip Miglinci Mar 28 '16 at 9:27
  • 2
    Mine flickers for a split second and goes back to just the "playlist" heading (NAS computer name). No videos come up. I waited. Enabled full verbose message, nothing. They forgot to add messages for it. – doug65536 Aug 6 '16 at 3:48

First make sure that server is running fine. Then you can use djmount for upnp client. I don't know djmount is in the repo or not (I don't use ubuntu now). Install djmount & fuse.

make a mount point in /media

cd /media
sudo mkdir upnp
sudo chmod 777 upnp

You can give any name other than upnp

Then load fuse and mount the filesystem

sudo modprobe fuse
sudo djmount -o allow_other /media/upnp

You may have to restart the server. eg if you are running mediatomb

sudo /etc/init.d/mediatomb restart

Then browse to /media/upnp

However there is some problem. You have to remount it after every reboot.

  • Wow, great answer! Thanks. This is very useful. BTW, djmount is in the Ubuntu repos. – MountainX Mar 9 '12 at 2:32
  • 1
    djmount works fine without root access (no need to sudo). Just create a directory somewhere in your home folder and djmount on that (and also no need for -o allow_other). – Guss Apr 5 '14 at 20:20

eezUPnP

enter image description here

Java based application - download the zip file (32bit or 64bit) and run ./CP in the extracted folder.

Obviously you need a JAVA JRE to be installed.

Be patient for the media servers to be recognised...

  • Only works for audio files. In my testing not really reliable. – Sina Mar 15 '13 at 19:48
  • 1
    Definitely the easiest solution. Thanks! – revnoah Aug 27 '13 at 14:44

After having tested now rythmbox, banshee (+rygel), xmbc, gstreamer/pulse and a lot of other different upnp related software, i concluded that the only well working linux program is foobar with wine.

using it now on ubuntu 13.10 (with wine 1.6) and it works like a charm. all other linux based software did lack the "play to" feature known from media player or apple air.

however, the foobar ui is something you need to get used to. but now I really like it.

I usually use this bash:

#!/bin/bash

cd
if [ ! -d upnp ]; then
mkdir upnp; chmod 777 upnp
sudo modprobe fuse
sudo djmount -o allow_other upnp/
xdg-open upnp
else
sudo fusermount -u upnp
rmdir upnp
echo umount upnp and rmdir
fi

but djmount crashed, in 14.04.

I got this problem recently, and created a simple dlna browser, I use it like this:

$ simple-dlna-browser -s 192.168.1.254 contacto | xargs mplayer

I took minidlna 1.1.4-2 as a reference, so it may not work with other media servers.

protected by Braiam Jan 28 '14 at 2:42

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.