Page 1 of 1

still no upnp

Posted: 17 Feb 2014 01:55
by RootlessAgrarian
I have never yet been able to get VLC 2.anything to see the media server on my Synology NAS. In this case, VLC is running on Snow Leopard on a MacBook Pro.

BubbleUPnP works great on all my Android devices, and a WDTV Live box (now retired in favour of a MINIX) was working ok w/Syno Media Server; but VLC under OSX can't do anything with the NAS. I Enable Universal Plug-n-Play in the main LHS menu, via the popup menu; when I then do a regular mouseclick on that option, I do see the Syno host name (NAS) appear under "title" in the playlist/contents side of the VLC window, but with a yellow triangle next to it. After that, nothing seems to happen no matter what I click on :-) How come I can't see the NAS as a upnp media library? Am I doing something wrong?

Looks like VLC just can't connect to the media server. So far this has never worked for me, over several releases of VLC. Is this a Syno issue, an OSX issue, or a VLC problem? From previous posts I'm guessing VLC... has anyone managed to get this working? If so, what did you do?

I just installed 2.1.3 because 2.1.1 had a horrendous memory leak -- a couple of hours of music playback (from the NAS contents mounted via afp, sigh) and VLC had bloated to over 2GB vsize. Yow! 23MB free and a very unhappy macbook. I was hoping that 2.1.3 would have upnp working, but no joy.

anyone got a clue?

Re: still no upnp

Posted: 19 Feb 2014 00:35
by bgrau2000
in my limited experience with upnp, I found its vlc implementation rather flaky...
though it seems a bit better in Windows...

Re: still no upnp

Posted: 06 Mar 2014 22:48
by juouviez
I do see the Syno host name (NAS) appear under "title" in the playlist/contents side of the VLC window, but with a yellow triangle next to it. After that, nothing seems to happen no matter what I click on :-) How come I can't see the NAS as a upnp media library? Am I doing something wrong?
Same here. Hoping someone may be able to fix this!

Re: still no upnp

Posted: 07 Mar 2014 13:54
by fkuehne
We are working on a fix right now. I saw early code fixing it a couple of days ago. I'll update this thread as soon as we have something to test for you.

Re: still no upnp

Posted: 10 Mar 2014 15:10
by ColdCanuck
I can't enable upnp in Version 2.1.4 OS X 10.6.8 or at least it does not see my media server (mediatomb).

It does work fine in version 2.0.9 (I have both binaries). Is this the same issue as reported in this thread, if so I will use 2.0.9 while I wait for an update. If it si not the same issue I will open a new thread.

Thanks

Re: still no upnp

Posted: 18 Mar 2014 14:26
by doleck
Hi Felix,
Any update on this?

THX in advance!

Re: still no upnp

Posted: 18 Mar 2014 14:54
by fkuehne
Sorry, the WIP code wasn't merged so far. I'm on it.

Re: still no upnp

Posted: 19 Mar 2014 10:47
by Pascal26120
Sorry, the WIP code wasn't merged so far. I'm on it.
Hi,

I still have the same issue. Have fix it ?

Re: still no upnp

Posted: 03 Apr 2014 23:27
by Pascal26120
Any news about this issue ?

Re: still no upnp

Posted: 08 Apr 2014 14:53
by Pascal26120
Up

Re: still no upnp

Posted: 12 Apr 2014 00:55
by phel
I haven't looked at the code, but by studying the network traffic with a protocol analyser it seems like the current version of VLC, instead of stopping for instructions once it has found a server, simply starts a recursive scan of all content on the server on its own. And it repeats the scan over and over until it runs out of resources and crashes or freezes depending on platform. I think a proper fix depends on someone with genuine interest for UPnP/DLNA joining the project. Then we may also get rendering and control-point features in VLC on par with for example bubbleupnp which would be very handy. Maybe UPnP/DLNA in VLC should be reimplemented using one of the existing QT-toolkits such as Herqq UPnP or QT-BRisa instead of trying to everything from scratch.

Re: still no upnp

Posted: 12 Apr 2014 13:55
by fkuehne
We can't use a Qt toolkit because we want to be compatible with platforms not using Qt, be it OS X, iOS or Android.

However, we have fixes in the pipeline to prevent this infinite recursion, which is just plainly stupid.

Re: still no upnp

Posted: 08 Feb 2016 10:22
by phel
Sorry for reviving an old thread, but this problem still has no solution. I believe the solution to browsing upnp/dlna servers is to treat it as a virtual filesystem and only query the contents of server folders upon user request. VLC 2.2.1 is still performing a recursive scan of all content when accessing a upnp-server. This takes forever if vlc is pointed at a media-server hosting a few hundre gigabytes of audio-files and photos sorted in a hierarchy of directories next to a handful videos.

A patch to fix this has been mentioned. Is there a patch somewhere that I can apply to the source and rebuild a vlc with usable upnp-code?