I have just installed Kodi Leia via my QNAP. Yatse worked fine before that, now when I play any file, it says The Location Cannot Be Played. I noticed the error has /vfs// in the path, but this was not a path I defined in the yatse setup (the set-up doesnt give you this option, but all the media shows fine through the scan). I cannot remove the double //
Have the same issue here, this seems to affect everything related to UPnP/DLNA streaming, not just Yatse. The same issue also applies when using the built in web service in Kodi. Posted a thread about it on Kodi forum (https://forum.kodi.tv/showthread.php?tid=342193). So far, no solution that I know of.
I never found a solution either. Instead, I just added the media to Kodi using SMB rather than the root file system. Since doing that, it has worked okay - but not really a ‘fix’.
As you said, it’s not a fix. I have my files localy on the same computer running Kodi, so it’s not a really a workable solution unless I set up a server with the media itself (planing of it in the future thou). I read something about the vfs-sftp plugin. But I don’t think it has anything to do with the UPnP/DLNA feature at all. Think it’s more about setting up a mount point within Kodi.
I found the solution after some digging and trying to find out how VFS (Virtual Filesystem) in Kodi worked. You have to add the path to Kodi’s VFS that UPnP/DLNA tries to access. When I looked at the path it started with /home/kodi (http://kodi:8080/vfs/home/kodi/…), which is my home folder.
To add that path (in my case the root folder), I had to go to the file manager and add the root folder as a new source. After that, I could reach the files I tried to stream. What folder to add depends on your system, look at the URL you get from the built in web server when trying to stream a video.