Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some audiobooks on my phone, but I don't want to hear these when I play "All music". Is it possible to exclude some folders from getting added to the library? What are the file types that automatically get added?

share|improve this question
up vote 18 down vote accepted

You should be able to create a file called ".nomedia" (without quotes) in the folder you don't want scanned. It is supposed to tell the media scanner not to look in there.

share|improve this answer
umm can I create it from windows? looks like Windows is stopping me from creating a file with no name – Fitri Jan 26 '11 at 17:25
You can create it using tools like ES FileExplorer for Android or some other file explorer. The file does not need to contain anything; the only thing the media explorer verifies is the existence of the file. – Doliveras Jan 26 '11 at 17:52
@shambleh The media player ignores folders with a .nomedia file in them. He may not want to rename the audiobooks folder or move the files to a new folder. – Matthew Read Jan 26 '11 at 20:20
Good to know @Matthew, that's a new one for me. Thanks. – shambleh Jan 26 '11 at 23:58
unfortunately this doesn't seem to exclude subdirectory – Fitri Jan 27 '11 at 13:46

Using Astro (available in the market), you should be able to create a folder on your SD card. Prefix the name of the folder with a dot (".") and the folder will be considered hidden in the Linux/Android file system. This will keep it from being included in the library.

share|improve this answer

protected by Community May 16 '13 at 6:29

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.