Kodi Community Forum
Unable to brouse the shared files - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184)
+---- Thread: Unable to brouse the shared files (/showthread.php?tid=235204)



Unable to brouse the shared files - karg4s - 2015-08-13

Hi all,

I am trying to automatically share the files available in the xbmc server, so that when I enable "share my libraries" option it should show the available files in other client over upnp.

I had changed the SourcesDirectory.cpp and now my upnp client can able to see the Drives available in the server. The drives are visible only, they are not accessible. When I am trying to access the drives using Bubbleupnp application, I am getting following error.
Browse error cause: Incorrect ObjectID.

Could you please guide me with this?

Thanks


RE: Unable to brouse the shared files - Memphiz - 2015-08-14

Please stop spamming github. You should be a bit more patient. This is an international forum where people live in a dozens of different time zones - yet you don't even let 24 hours pass before yelling at github again.


RE: Unable to brouse the shared files - karg4s - 2015-08-19

Sorry for posting in the github.
But I have added following line in the SourcesDirectory.cpp after g_mediaManager.GetRemovableDrives(sources); line.

g_mediaManager.GetLocalDrives(sources);

After adding this line, I am able to see all the available Sources in kodi. But After I enable the "share my libraries" option in the upnp settings of kodi, all available drives are visible only(means not accessable or browsable). I am using bubbleupnp application in the client side for accessing.

When I am trying to access the drives using Bubbleupnp application, I am getting following error.
Browse error cause: Incorrect ObjectID.

But when I follow the following link procedure, I am able to access the drives using bubbleupnp without error.

Please guide me with this

Thanks


RE: Unable to brouse the shared files - Memphiz - 2015-08-19

You have to figure this out on your own as it seems. For example by searching for that error message in our code.

Hint - its in: xbmc / network / upnp / UPnPServer.cpp

And then try to go reverse or debug why it states this.