pegasus-frontend
pegasus-frontend copied to clipboard
Add ability to add games directory in mounted NFS directory in android.
I tried out the android app, but unfortunately I wasn't able to add a games directory since they are mounted via nfs. The open file selector only allows browsing files on the sd-card. Since there isn't a lot of storage on android devices games are kept on network storage instead.
Would it be possible to reach attached network drives? I don't have any problem adding these in RetroArch, so I think it should be possible.
Hm I wonder if there is a way to ask Android for the list of connected network drives.. If there is way, then yeah, I can add support for them.
This might be fixed in the latest release, could you check it?
Tested it on Shield TV 2017 and Huawei P30, no luck on both. But i think NFS is not (well) implemented in Android. Maybe try to look how do Kodi/MrMc to access NFS networks. The mounting is per app and not system wide i think.
For the case of Samba protocol. No luck on Huawei P30, even with the unofficial application "Android Samba Client" to mount a folder.
On Shield TV 2017... it works ! You have to mount a network storage before in the Android settings. I think it works because of the custom ROM of Nvidia that did add this option to mount network storage.
Good luck.
Could you describe how exactly are the NFS/Samba drives are mounted? Did you do this from inside eg. Kodi? Do these mounts still there if you leave the program that mounted it? Where are they mounted? Do other file manager apps see them?
Could you describe how exactly are the NFS/Samba drives are mounted? Did you do this from inside eg. Kodi? Do these mounts still there if you leave the program that mounted it? Where are they mounted? Do other file manager apps see them?
On Shield TV (2017) :
Since the beginning the custom ROM provided by Nvidia allows us to add a mounted storage. There is an option in Settings > Storage > Mount a network storage. And it uses SMB client/protocol. They have done that because Plex (system app) relies on this feature to access media over the network.
The SMB mounted folders are accessible for all applications as it creates a symlink (not sure about that) under the path : /storage/{hostname}/{folder mounted}
For NFS it is a bit different. Nvidia (nor other Android custom ROMs) did not implement a NFS client. Kodi or MrMc include a built-in NFS client (from what i understand). So the mounted folders are only accessible for these applications and the set up has to be done for each app.
The mounts are always alive when you reboot or after a shutdown. For both of protocols.
Edit (for Android phone Huawei P30) :
BUT.
The NFS protocol doesn't work for me on my Huawei P30 with Kodi or MrMc.
So Nvidia Shield custom ROM might have dependencies that Huawei EMUI10 does not have.
I think it is a wrong configuration of the NFS server, on my end. I don't use Kodi/MrMc on my phone, i didn't bother to debug that.
SMB protocol works better. I can mount a SMB folder with Kodi, MrMc, Solid Explorer. It is per-app, not system wide. That's why i can't see my SMB network storage in Pegasus.