I keep my media files (such as music) on my home server. When I add a new album to the home server, and want to copy it to my Android 4.0.4 phone, I use a Samba client (such as AndSMB or X-plore) to copy the files to the phone. So far, so good.
The problem is that the images in subdirectories that I copy over (such as album art) automatically get added to the gallery during the copy, although the root directory I'm copying into has a .nomedia
file in it. If I start the copy, then check the Gallery app mid-copy, I see the images start to appear before I run any other apps.
I don't want the images to appear in the gallery.
If I "clear data" for the Media Storage app, then reboot, the gallery is rebuilt without the album art images, so the .nomedia
file does seem to be doing its job some of the time.
Is there a way I can copy media files to my phone over a network, without them automatically getting added to the gallery?
Clearing the data in Media Storage and rebooting the phone works, but is tiresome and has other unwanted side effects like resetting my ringtones.
.media
file shoud do the trick. Is there any other file in those folders, aside your music and images? There was a question with a similar problem (I link it when I find it). And no, no client app from outside should push anything to the media database, that's the task of the media scanner. Nevertheless, mentioning involved apps/programs might bring up something we are otherwise unaware of, so it might be helpful if you edit that into your question.ic.bin
file in those folder(s)?