66

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.

Braiam
  • 69,112
imbaer
  • 2,911

7 Answers7

53

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.

NioBium
  • 103
imbaer
  • 2,911
24

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.

jahid65
  • 2,147
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...

fossfreedom
  • 174,526
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.

Georg
  • 143
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.