USB key content not listed when using UPNP Help and Support Raspberry Pi

Hello,

I have setup kodi on a raspberry pi 3 (rasbian – apt-get install kodi). I have enabled DLNA support to be able to stream to my ipad. If I plug a USB stick, I can play each file within kodi on my TV, I even have a shortcut that appears with the name of the USB. Now, If I access this content via the DLNA client (VLC on iPhone), I do see my server Pi, with 2 folders (video etc), I can go into video and see my USB key but when I click on the usb key, I have nothing listed.

So, on Kodi, I try now to add a new source and chose system folder, I can brows where my usb is mounted and add its content. I now have in kodi 2 identical folders with the name of my USB key. If I access the server via UPNP, I now see 2 folders for my USB key, one has all the files and can be streamed, the other is empty.

I find this a bit strange that the USB key is not being able to be listed within DLNA automatically. Am I missing a step somewhere or can this be a bug ? I have tried the same thing on OSMC/openelec with the current supported version of kodi and it is the same. I have tried to also add content on the USB key, update library, but nothing helps. I can use it like this, but it is strange to have 2 identical folder browseable on my TV and only one working on my upnp client.

Any help on this would be appreciated…

Thanks,