Originally Posted by DA6030;69350053 [MENTION=3850543
bleu8888, first off, awesome app! This is a really robust media player, and is super helpful to have!
I'm just curious if OTG drive support via Android SAF is still on your roadmap? Or has it been implemented in a recent version and I just haven't figured out how to use it?
Originally Posted by gaferreira13
MY guess is that the pen's filesystem is FAT32 which doesn't support linux permissions so MX Player tries to check if it has permissions and it can't so it freezes.
Which could be fixed if you tried to format the pendrive as ext4 or something like that.
You could also try a bind or remount command from the pen to a certain folder. But there are so many filesystems on android so i can't help on that part either.
In Fact SAF is required to rename/delete file on Lollipop and above. MX uses SAF implementation to rename/delete files & to write subs.
Even if it's implemented for OTG in future, What's the real challenge is is everytime you have to Grant access.
The Current OTG support purely depends on the mount point used in your ROM. For Example in most of the Samsung devices USB OTG is mounted under /Storage/<some ID>. In this case just refreshing the media list will bring the files in list.
What I am thinking is USB host implementation. The best part is that, It can support even NTFS partitions even if it's not supported by the device natively. I have already discussed about this with @bleu8888
. But, it won't be a part of 1.9.0. He may implement in future after finishing 1.9.0 to everyone.
Sent from my Samsung Galaxy S5 using XDA Labs