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?

up vote 23 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.

  • 2
    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
  • 5
    @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
  • 1
    Good to know @Matthew, that's a new one for me. Thanks. – shambleh Jan 26 '11 at 23:58
  • 2
    unfortunately this doesn't seem to exclude subdirectory – Fitri Jan 27 '11 at 13:46
  • 1
    no, every folder that you want excluded has to have the ".nomedia" file. – Ryan Conrad Jan 27 '11 at 21:23

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.

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.