67

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.

1

7 Answers 7

54

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.

VLC might require to have been launched with --miface=INTERFACE flag, because on some machines VLC uses the wrong interface by default. You can find the correct interface name from ifconfig.

10
  • 9
    This doesn't work for me - VLC shows my server, but won't let me browse it.
    – Guss
    Apr 5, 2014 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, 2014 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, 2014 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
    Mar 28, 2016 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, 2016 at 3:48
25

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.

2
  • Wow, great answer! Thanks. This is very useful. BTW, djmount is in the Ubuntu repos.
    – MountainX
    Mar 9, 2012 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, 2014 at 20:20
18

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...

2
  • Only works for audio files. In my testing not really reliable.
    – Sina
    Mar 15, 2013 at 19:48
  • Abandonware since 2017… Jan 29, 2021 at 17:25
4

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.

3

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.

1

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.

0

Accepted answer doesn't work anymore, since this seemed to have broken in VLC 3+. djmount is also abandoned.

But you might not know (like me!) that Totem (the Gnome "Videos" player) will actually surf around upnp and can show videos from there. Go to "Channels" and you can click around.

If you want to listen to music, Rhythmbox has a DLNA-plugin.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .