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.