Kodi's UPNP server is not detected in VLC 3.1.7 for Android unless you start Kodi while viewing VLC's local network section. This also affects Nova Video Player, which also cannot see Kodi's UPNP server unless you enable it while looking at the Local Network section of Nova. Other devices, such as a Samsung TV, can see Kodi's UPNP server perfectly fine, without having to stop and restart Kodi, so it works fine with a Samsung TV but not VLC nor Nova Video Player.
Kodi's UPNP server should always be visible in VLC's Local Network section no matter what, as long as Kodi's UPNP server is running on the same LAN. You shouldn't have to start Kodi while looking at VLC's local network section to be able to see Kodi's UPNP server.
Kodi's UPNP server only appears in VLC's network section when Kodi is started while looking at VLC's network section. As soon as you back out of VLC's local network section, Kodi's UPNP server disappears! You can only make Kodi's UPNP server show up again by restarting Kodi.
JB Kempf from VLC says: "I really doubt this is VLC's issue. If it works like you say, it's Kodi server not answering the SSDP requests."
Steps to reproduce the behavior:
Run Kodi with its UPNP server enabled on the local network. (every other software and device on my network can see it, including my Samsung smart TV)
Open VLC 3.1.7 for Android, and go to local network to see the UPNP servers on the network
Kodi isn't listed at all on the available shares list in the local network section.
Close Kodi and restart Kodi with the UPNP server enabled.
Kodi magically pops up in VLC's local network section!
Go back to the VLC home menu.
Go to VLC's local network section. Kodi is once again missing from the list of available shares!
Closing and restarting Kodi makes it show up again while you're looking at VLC's local network section.
The previous steps also happen with Nova Video Player for Android.
The debuglog can be found here: https://privatebin.net/?2ef9b478e5e70099#4DDFtV1hRXYWYrBqqHk2wGhB58p79LyGGGr29aVNTYpk
Here are some links or screenshots to help explain the problem:
None
None
Used Operating system:
probably a duplicate of: #16335
But I'lll leave this one open as it has more info in it
@DaVukovic I do not think bugs are linked: the orginal problem, that I also reported is on the client side. This one is on the server side.
Hello, I have the same problem on Raspberry PI. I am using LibreELEC. When I try to change UPNP source, Raspberry unexpectedly restarts itself and then UPNP works until next restart or shutdown.
same issue, libreelec on raspberry pi 4. vlc doesn't detect the upnp library until shortly after a restart (multiple devices), and bubbleupnp doesn't detect it as a renderer until after a restart as well. vlc on other devices always detects bubbleupnp's library near immediately, but not kodi's
Exact same problem with Raspberry Pi version. It's not only VLC that doesn't detect the UPNP server, but all DLNA/UPNP clients. I confirm this bug in Kodi, which is really unfortunate because I wanted to be able to stream my music from the Kodi server to different devices in the family (iPhone, iPad, Android phone...). This bug is still present on latest version (Leia 18.6).
I've found the source code, but the amount of refactoring it takes to solve this is prohibitive - I can see why this is a bug in the first place the the developers are too lazy to fix.
I've seen threads going back - literal years - where fixes are being refused. I'm going to use a different product for my media streaming, since Kodi doesn't work for me either, since my machine has a VM installed with a virtual network switch - on which Kodi is listening for SSDP requests, so obviously it's failing.
Good job being lazy devs.
I've found the source code, but the amount of refactoring it takes to solve this is prohibitive - I can see why this is a bug in the first place the the developers are too lazy to fix.
We should ask the devs to sticky difficult bugs like this one when there is no sticky so that everybody takes a look at it and increases the chance of somebody wanting to fix it.