Skip to content

feat: add local hidden-folder and file visibility control - #505

Merged
estiaksoyeb merged 1 commit into
mpvRex:masterfrom
syamosx:feat/hidden-media
Nov 25, 2026
Merged

estiaksoyeb merged 1 commit into
mpvRex:masterfrom
syamosx:feat/hidden-media

Conversation

@syamosx

@syamosx syamosx commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Local media in dot-prefixed folders, or with dot-prefixed filenames, is currently skipped without a working local visibility control. Enabling the existing .nomedia option does not make .hidden/Child/video.mp4 or Movies/.clip.mp4 discoverable.

Add Show hidden folders and files to Media & Library and the local sort/filter dialogs. It defaults to off and reuses the existing show_hidden_files preference key.

Behavior

  • When enabled, discover media in dot-prefixed folders and files through the existing scan policy, including direct filesystem and document-provider traversal.
  • Keep the .nomedia setting independent: a hidden folder covered by a .nomedia marker requires both options enabled.
  • Refresh discovery when the setting changes. When disabled, filter hidden descendants out of cached library reads, search, and counts immediately while the rescan runs.
  • Retain the existing exclusions for system/cache folders and the separate network-browser visibility setting.

Validation

  • ./gradlew assembleDebug testDebugUnitTest passed on this standalone branch (620 tests, zero failures).
  • The combined build was installed on an Infinix X6886 running Android 16. A dedicated end-to-end hidden-media walkthrough was not completed before the device was disconnected.
  • Regression coverage includes hidden ancestors and filenames, cached search/counts, and all combinations of hidden visibility and .nomedia policy.

The parent-folder exclusion picker is submitted separately in #504 so it can be reviewed independently.

@estiaksoyeb
estiaksoyeb merged commit 77ef6f0 into mpvRex:master Nov 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants