Bug 515132 - Add support for .nomedia files
Summary: Add support for .nomedia files
Status: REPORTED
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.3
Platform: Android Android 14.x
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-26 20:48 UTC by GerbilSoft
Modified: 2026-01-26 20:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GerbilSoft 2026-01-26 20:48:16 UTC
SUMMARY
On Android, there's a convention to add .nomedia files to directories that should not be indexed by media players. Elisa does not seem to support this, which means it's not possible to exclude non-media files from the automatic indexing. (I grepped the source tree for "nomedia" and found no matches.)

STEPS TO REPRODUCE
1. Add music files to a folder that also contains a .nomedia file.
2. Run Elisa.

OBSERVED RESULT
The folder with .nomedia is indexed.

EXPECTED RESULT
The folder with .nomedia should not be indexed.

SOFTWARE/OS VERSIONS
Android 16 (Pixel 8 Pro, BP4A.260105.004.E1)
Elisa 25.08.3 via F-Droid

[Android 16.x isn't listed in the OS dropdown so I selected the latest version listed.]

ADDITIONAL INFORMATION
I also removed all paths from "Music folders" in Settings and added just /sdcard/Music/, but it's still indexing other directories in /sdcard/. It seems this is related to the Music and Audio permission; denying it seems to prevent Elisa from indexing everything, even though I granted permission to /sdcard/Music/ separately.