Closed RebelliousX closed 7 months ago
@RebelliousX I implemented findDocumentPath function. https://github.com/wa2c/cifs-documents-provider/commit/5b3fc7bf9e27b41484a29f42c0ac9306c54724dd
I implemented this using standard local storage values as reference. I don't have any emulator games. Therefore, it is not possible to check whether it is valid or not. Please check it.
@wa2c Thanks, this fixed the problem, I am able to load the games fine too.
I am guessing that this fix in https://github.com/wa2c/cifs-documents-provider/commit/5b3fc7bf9e27b41484a29f42c0ac9306c54724dd fixed another issue too. Issue #50 regarding the Smart Audio Book Reader seems to be fixed ( I have to test more and revert to previous commit and see if issue persists ). Now, I am able to set the directory successfully. I can't test it though since I don't have audio books.
Please feel free to close this issue too.
@wa2c so the issue with the Audio Book is partially fixed, I can load mp3 audio chapters if I specify the directory of the MP3s themselves (not nested in other folders).
According to the program itself, it wants AudioBooks/Auther Name/Book Title/*.mp3
. It doesn't seem it is able to scan directories recursively with Cifs Document Provider, something is missing, probably a function or something.
I tried free book Art of War by Sun Tzu.
I reverted the changes prior to the fix just to test, It doesn't seem it affected Smart Audio Book Reader. Probably the app itself has changed since last time we checked it.
EDIT : After more research, this might be related to DocumentsContract.EXTRA_INITIAL_URI .. If so, I don't think it can be fixed since it would be related to #19 .. if this is the case, please feel free to close this issue.
Issue I tried to use Flycast emulator for dreamcast, but I got an interesting error message regarding storage access. It says
findDocumentPath
not supported. I checked Android Developer site, it seems is a function receives aContentResolver
andUri
and returns aDocumentContract.Path
(string?).What is weird, the emulator is able to read the game files and enumerate them, but fails when I try to open any of them.
This is not a major issue really, I am happy with Redream emulator which works like a dream emulating dreamcast. But I thought that this error message was interesting and fixing this, it might fix other issues too.
To Reproduce Steps to reproduce the behavior for the missing
findDocumentPath()
: