[Q] .nomedia file

mpalatsi

Senior Member
Mar 14, 2011
468
56
0
Atlanta, GA
Alright, so I've read just about every article and I can't figure out how to remove certain images from the android gallery. I've attempted to add a .nomedia file to the folder in which the unwanted pictures are located but they still appear in the gallery. I believe the issue lies within the fact that the art is rooted deep within the directories.

Example:

3OH!3 > *Album Name* > *Artwork*

I would like to simply add a file on the higher level to prevent all folders from appearing in gallery. I don't want to go into each individual folder and create a .nomedia file, that's absurd.

Can anyone help me before I pull out more of my hair?
 

Sogarth

Retired Recognized Developer
Jan 14, 2006
503
361
0
You need to create a .nomedia file and then force a rescan (.nomedia does apply to all sub-folders). Worst case, you'll need to clear the application data and then reboot (which actualy isn't that bad).

After you create the .nomedia file, there's an app called SDrescan that I use to trigger a rescan, but that only applies to Internal Storage. On the other hand, if it's the microSD, you should just be able to pop it out and pop it back in to force a rescan.

If none of that works, go to Settings → Applications → Manage applications → All, Media Storage, I think it was?, then Clear Data. Reboot. You should now be good.