[Mini Guide]Premade .nomedia File (Hide items from media scanner) - Nexus 5 Themes and Apps

Hey guys. This is seriously nothing special, but I recently just dumped a bunch of new notification tones on my phone and found that Google Play Music and MX Player were picking them up during the media scan, so I decided to fix that. You don't need any shady apps or anything to do this.
To stop this, you're supposed to put a ".nomedia" file in the directories you don't want indexed. But making this file can be a little annoying. I made it and it works great for its purpose, so if you think you might find it useful, please give it a download.
NOTE: It's inside the nomedia zip. Because it's a 0 kb file (since there is nothing in it), most filehosts don't allow me to upload it as is. This is perfectly safe, if you are unsure, once you extract it, open it up with Notepad, and you'll see that there is nothing in it.
https://dl.dropboxusercontent.com/u/345001/nomedia.zip
If you would rather create this file yourself, you can do it simply by opening Notepad, saving a blank text document as ".nomedia" and set the filetype in the save dialog to "All files" instead of text files.
That's all.

Related

HOW TO - Hide Certain Media Files from Music Player and Gallery (5/30/2009)

Have you ever been listening to your Britney Spears, Daft Punk or Tupac and suddenly you start hearing files that aren't music (i.e ringtones, notification sounds, etc.)? I find it pretty annoying that there is no current method to hide these files from the music player, until now.
I would like to give credit to Scheff's Blend for this idea, and after tinkering with the the doom game folder on my memory card, I found a file called ".nomedia". Within that same folder was over 100 sound files for the game doom, BUT my music player was not reading that specific folder.
I figured it had to do something with that ".nomedia" file, and coincidentally it DID.
Instructions:
1) Download and unzip nomedia.zip somewhere onto your computer
2) Inside is a file called .nomedia, copy it into the directory of media files you want to hide
3) Reboot your phone
P.S. This also works for pictures and video files, BUT for newly taken pictures and videos, or music files added, a REBOOT is REQUIRED to hide them again.
Thanks. Works perfectly! I have just hidden all my MP3s
so now people with naughty pics can hide them.
nice
I've been hiding certain pics since I got the phone. You can also just make a new folder with a "." in front of it and it will make the folder hidden.
Example: /sdcard/.data/all your ringtones, naughty pics, etc. here
Yeah, I just make a folder name it to whatever, go into astro and rename the folder to .xxxxx or whatever. Windows wont allow you (at least me) to add a . in front of folder name. But astro will.
Either way it works, but its the period that does the trick.
Even quicker, if you're a terminal kind of a person CD to the directory you want and type:
touch .nomedia
should work
Is there any way to hide it JUST from the gallery? I have tons of folder art with my mp3s that I love having in the music player but would rather not have it shown in the gallery.
You can change a name to:
Naughty.jpg.HIDE
Or name a folder
Naughtypics.hide
My ? is how do you find all the files that are not suppose to be in the Music library to rename them or move them
Most of them are named just numbers. I don't know where they are at.

Music library problem

Hey!
Is it possible to define a folder where the music library should get all the music? I have files from G-Alarm and so on in it but can´t find a solution how to delete them outta the library..
Same problem here, every sound file type is shown there...
anyone an idea??
Annoying as hell... HTC needs to update this to allow us to point to a specific folder! I tried googling the issue but didnt come up with a solution...
Have you tried HIDDING the specific folder using an alternative explorer (like Resco explorer or Total Commander) ? In Total Commander, long press on the specific folder, choose "properties". There you can choose the attribute "system" and click on "recurse subdirs" so it applies to all files under that folder. This works to hide image files from the ALBUM, so there's a good change you'll fix this using the same method.
By the way, talking about Music library, do you experience some crashes of the music player after adding new files using mp3 cable? If so, this thread might interest you. I think there are problems with the way the player handles the ID3 tag of mp3.
Read this and relay the info, please.
I tried hiding some folders but then they get shown no where! For example: tried to hide g-alarm folder and the alarm tone also disappeared in the G-Alarm app... never expected crashes!
but the volume up & down buttons dont really work while i´m in the music app! when im on the home screen and mp3s are playing in the background, volume keys work perfectly no idea
I even went into the registry to HKLM\Software\HTC\AudioManager_Eng\Config and changed the device scan path and fooled around with other stuff... nada... everytime after a soft reset, it still had ALL the system sounds and stuff in there.
Also, in that same registry folder, there is a ring_tone_path entry which probably explains why some of the ring tones don't show up....??
Can someone who knows a little more about this stuff enlighten us?
hello,
a workaround:
create playlist with one ore two files (songs).
after than close today-htc-sense.
open \Application Data\HTC\AudioManager_Eng\playlists\name-of-your-playlist
and put all your wanted songs in it (i mean, you have to write/edit the file)
tip: use cmd (dos) for trickies like "dir c:\folder\with\my\songs\ > c:\playlist"
you will get on c:\ a file with name "playlist". this could be use for editing "manila-playlist". put this file after finished back to \Application Data\HTC\AudioManager_Eng\playlists\ and starts your today-htc-sence.
i know, its a little bit grrrr and looks like work for end-of-life, but i say its a workaround and after three or four playlists you will be a profi.
Found a solution.
This will only work if you have your music on SD card. I also have tomtom maps there but no actual tomtom so for me it is only music on sd card.
1. Start from removing your card and then going to music tab so it rescans and states no music found. (Skip to step 3 if you are starting from clean rom)
2. Go to registry editor of your choice and navigate to:
HKEY_LOCAL_MACHINE\Software\HTC\AudioManager_Eng (for german it will be AudioManager_Ger)\Information
Delete all items in that folder. You will not be able to delete Information it self.
If you are on clean rom you will not even have that folder it is created 1st time when music tab finds music.
3. Navigate to:
HKEY_LOCAL_MACHINE\Software\HTC\AudioManager_Eng\Config
In there change:
"device_scan_path_path" from what ever there is to \Windows
"device_scan_path_path_0" from what ever there is to \Windows
"ring_tone_path" from what ever there is to \Windows
What this will do is exclude all files in windows folder. If you have any files in my documents they will show up. I assume if you just put "\" instead of "\Windows" it will exclude entire my device but did not test it.
4. Soft reset, insert your SD card and enjoy.

gallery ignore folder

Hi Guys,
I googled a way to hide folders from showing up in the gallery, because i have some folders with pictures that i do not want to see in the gallery, such as scanned documents etc.
I came across this fix of adding a blank '.nomedia' file to the folder i want ignored.
However, i then ran across this issue where adding nomedia file will delete all the media files in that folder (http://code.google.com/p/android/issues/detail?id=3692)
Does anyone know if this has been fixed in Froyo? because i don't want to risk putting this .nomedia file and then losing all my documents.
thanks
I haven't heard of the issue of nomedia file issue but I do know that you can create any folder with a "." at the beginning and the gallery and media players will ignore it.
.photos or .scans will make the folder hidden
I've never had that probem with .nomedia either....but you can try what was posted above.
what about album arts? I want it to show up on music player, but not photo and video gallery, which it has unfortunately picked them up.
how do i turned off the display of such media files in gallery?
alienwolf426 said:
Hi Guys,
I googled a way to hide folders from showing up in the gallery, because i have some folders with pictures that i do not want to see in the gallery, such as scanned documents etc.
I came across this fix of adding a blank '.nomedia' file to the folder i want ignored.
However, i then ran across this issue where adding nomedia file will delete all the media files in that folder (http://code.google.com/p/android/issues/detail?id=3692)
Does anyone know if this has been fixed in Froyo? because i don't want to risk putting this .nomedia file and then losing all my documents.
thanks
Click to expand...
Click to collapse
I use photovault to hide images i dont want to show up in gallery. It works like a charm. It costs 1$ but it's totally worth it.
btw would it be possible to only use specified folders for media files? like putting .nomedia in the root-directory and then something like a ".ThisIsMedia" file into the videos, photos, mp3 folders?

gallery directories

Anyone know how to have the gallery not scan every directory on the SD card. Right now it's showing anything that is an image anywhere.
So I see folders with all my mp3 covers, all the cache for any installed app. It's a bit much and really annoying.
make a blank file in notepad on your computer called ".nomedia"
Do not include the quotes obviously. Save it as all files, and not as a text file.
Now with your epic attached and mounted to your computer in mass storage mode, copy this file .nomedia to every directory you dont want scanned for pictures and music.
navoid said:
make a blank file in notepad on your computer called ".nomedia"
Do not include the quotes obviously. Save it as all files, and not as a text file.
Now with your epic attached and mounted to your computer in mass storage mode, copy this file .nomedia to every directory you dont want scanned for pictures and music.
Click to expand...
Click to collapse
Awesome, this is great. Thank you.
this works for most things but breaks music.
if you put a .nomedia in a directory with music then the music player doesn't show music in that folder. so i still have a bunch of galleries show up with album covers in them.
hopefully a new update will allow users the ability to filter out which directories to display and such. i too am having the same issue and its very annoying.

How can I hide files from v20 music library?

SOLVED.* Hi, all. I usually have a ton of audiobooks, seminars, etc on my sd card and I listen to them via a separate and dedicated audiobook app.
It'd be so great to start my new phone with more ease/less clutter: I'm really tired of slogging through hundreds of spoken word files when I open my music player to choose music.
Any way/any player that will let me hide tracks selectively so that only my music shows up?
Thanks in advance!
* EASY SOLUTION
Put everyday music like in separate folder. Alsoake sure player only uses that folder. For other files you need to pit a .nomedia in folder so players ignore that.
@rbiter said:
Put everyday music like in separate folder. Alsoake sure player only uses that folder. For other files you need to pit a .nomedia in folder so players ignore that.
Click to expand...
Click to collapse
Thank you -- I'd never heard of the .nomedia concept before!
OhColleen! said:
Thank you -- I'd never heard of the .nomedia concept before! Could you help out with one further thing possibly? I dunno how to make one or where to get one. Feeling kinda dumb, but if you could direct me one last time, I'd be quite grateful.
I always keep separate folders, so that's done. SD card has a folder for audiobooks, and SmartAudiobooks already knows that's the root folder for those.
I also have a music folder on the sd card, and, ideally, that'd be the only folder I want a music player to look for music.
When you mentioned the .nomedia file, I looked it up and saw that google play offered some for this purpose -- but reviews all complained that those apps were useless as the sd card was not searched. So I searched on how to make one or find one elsewhere and I guess my search skills are missing something.
Click to expand...
Click to collapse
You can also place a period in front of folder name to game similar result
A .nomedia file is just a blank text file but has the filename of ".nomedia", any text editor can create a new file but make sure you save it with the .nomedia filename.
Sent from my LG-H918 using Tapatalk
*SOLUTION Much heartfelt thanks to repliers!
The easiest way to do this is to download a handy app called ES File Explorer from the play store, install it, then open and go to the folder whose media you wish to hide. Once there, click the upper right dotted menu, choose new, then file, then rename the file .nomedia. At this point you are asked to rechoose the folder you wish to hide. Choose it, and you're done! SmartAudiobooks still recognizes all my audiobooks but the music app blissfully ignores them.
What's best is that ES File Explorer makes the .nomedia file work on the SD folders ... after learning about .nomedia from the helpful folks on this thread, I made the file using my desktop but I could NOT get the music player to ignore it, and had a hard time making the PC allow me to name it with nothing before the dot.
The ESFE solution was a painless breeze, and I am now a happy listener
Thanks for teaching me something wonderful, you guys!

Categories

Resources