Feature: Media Library: Add manual folder selection mode supporting hidden folders#1703
Open
groundstation1 wants to merge 1 commit into
Open
Feature: Media Library: Add manual folder selection mode supporting hidden folders#1703groundstation1 wants to merge 1 commit into
groundstation1 wants to merge 1 commit into
Conversation
2806c44 to
ec17636
Compare
Adds a 'Select folders manually' toggle in Media library settings. When enabled, the library is built only from folders the user picks with the system folder picker (OpenDocumentTree), which can enter hidden (dot) folders that MediaStore never indexes. - Picked SAF tree URIs are persisted and scanned via DocumentsContract and fed into the existing library/sync pipeline; normal MediaStore mode is unchanged. - Manage folders becomes an add/remove list in manual mode. - Thumbnails: the ffmpeg retriever can't open SAF content URIs, so it is now optional and the native retriever produces the frame; the video decoder also applies when the mime type is unknown/generic but the URI has a video extension. - Folder-tree recursion guarded against self-referential nodes. - Minimal delay on manual refresh so the pull-to-refresh spinner shows. Closes anilbeesetti#1038
ec17636 to
83d0754
Compare
hclgdb
added a commit
to hclgdb/nextplayer
that referenced
this pull request
Jun 13, 2026
Merge commit '83d0754a' (Add manual folder selection supporting hidden folders) into main. - Adds 'Select folders manually' toggle with SAF folder picker (OpenDocumentTree) that can access hidden (dot) folders - Replaces .nomedia toggle with manual folder selection approach - Adds DocumentTreeScanner + LocalMediaSynchronizer manual mode - Adds manual folder management in Manage Folders screen - Updates domain use cases to support both modes Resolved conflicts: took upstream version as the canonical solution (6 files with content conflicts)
Owner
|
Hi @groundstation1, Sorry for late reply and thanks for the PR. I would love to see this merged, can you resolve the merge conflicts. And also i don't mind PRs coded with AI as long as it's good quality |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a 'Select folders manually' toggle in Media library settings. When enabled, the library is built only from folders the user picks with the system folder picker (OpenDocumentTree).
In this mode the app does its own folder scanning and does not rely on MediaStore.
Warning: coded with AI, take it or leave it, won't take any offense if you don't.
.nomedia, app folders like Telegram, etc.) are included. Normal (non-manual) MediaStore mode is untouched.MANAGE_EXTERNAL_STORAGE/ All-files access, and no new manifest permissions..nomediaare skipped.Closes #1038, Closes #1126, Closes #467, Closes #1719
Related to #965, #1086, #1132, #1193, #1209, #1210, #1373, #1694