Skip to content

File order issue when accessing audio files via Android Document Provider (SAF) via Playbook #1431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rfc2822 opened this issue Apr 30, 2025 · 0 comments · Fixed by #1434
Closed
Assignees
Labels
bug Something isn't working webdav related to WebDAV file access

Comments

@rfc2822
Copy link
Member

rfc2822 commented Apr 30, 2025

WebDAV: use sortOrder in queryChildDocuments

Discussed in #1425

Originally posted by balu- April 29, 2025
Hi,
first of all, thank you for implementing support for sharing files via Android's Storage Access Framework (SAF) through DAVx⁵ – it generally works very well.

I’ve been trying to use this feature to play audiobooks directly from a remote location. Specifically, I’m using the PlayBook app (https://github.com/Goodwy/PlayBook) which allows adding a folder as an audiobook and plays the audio files inside it.

This setup works, but I’ve encountered a problem with the playback order of the files. The app seems to list and play the audio files in an incorrect sequence when provided by davx5. The order appears to be consistently “wrong” in the same way every time.

To isolate the issue, I copied the same set of files locally to the device and added that local folder to PlayBook – in that case, the playback order is correct. Therefore, I suspect that the issue might be related to how the Android Document Provider in DAVx⁵ serves or sorts the files.

If anyone has encountered a similar issue or has an idea for a workaround or fix, I’d appreciate any input.

Thanks in advance!

@rfc2822 rfc2822 added bug Something isn't working webdav related to WebDAV file access labels Apr 30, 2025
@ArnyminerZ ArnyminerZ self-assigned this May 2, 2025
@ArnyminerZ ArnyminerZ linked a pull request May 2, 2025 that will close this issue
4 tasks
@sunkup sunkup moved this from Todo to In Review in DAVx⁵ Releases May 12, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in DAVx⁵ Releases May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working webdav related to WebDAV file access
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants