Imagine how annoying it would be to suddenly hear random voice recordings when you are listening to music. The problem is that your music player cannot discern between a real music file and other audio files i.e. voice recordings because both are audio file types. So manual intervention is necessary to hide audio files from Android music players.
Why do we need to hide audio files from music players?
I use the default Play Music on my Android phone. The device does not have a pre-installed voice recorder, so I installed one from the Play Store to record sounds. The resultant recordings then began to show up in the music player. Since there are a lot of them, it is a bit bothersome to skip these audio files every time they start playing.
Deleting these voice recordings is certainly not a solution. I could temporarily “remove” the recordings from the list of songs. But they would again show up when the phone restarts or the music player scans the file directory to index new music files.
You might encounter the same issue if you have downloaded audiobooks, speech, ringtones, or recorded sounds using a third-party app.
How to hide audio files from Android music players
But have you noticed that the music player does not play your default ringtones although they, too, are audio files? So why does a music player ignore ringtones?
It is because the ringtone folder also contains a file: .nomedia. If any folder contains this file, the music player would ignore the folder. This is the solution that we are going to apply to hide audio files (other than music files) from the pretty much every Android music player.
- The first task is to identify the folder(s) of the audio files, which your music player shouldn’t index, in your device’s file manager. Go to folder_open Files or File Manager > folder_open Storage. Locate the folder(s), in which the recordings or audiobooks are stored. If the unwanted audio files were created by any third-party app or recorder, you might want to check the app’s settings to see its default storing location.
- Now that you have identified the target folder(s), you will have to place a .nomedia file in those folder(s) so that your music player ignores the audio files stored there.
- The pre-installed Android file explorer does not allow you to create a new file at all, let alone a .nomedia file. However, it is more likely than not that your device already has many .nomedia files in it. Go to the folder_open Storage or Internal Memory of the file manager and search for .nomedia file. Select one and copy it to the target folder(s).
Note: Make sure your storage shows hidden files. At the top-right corner on your folder_open Storage or Internal Memory, tap on more_vert (the three-dot button). Tap on Settings and toggle on toggle_on “Show hidden files.”
- Alternately, if you have WhatsApp on your device, it is even easier. On the Storage section of the file manager, navigate: folder WhatsApp > Media > WhatsApp Audio > Private/Sent and copy the .nomedia file to the target folder(s).
- If your device does not have any .nomedia file at all, you will have to create one. You might want to try an excellent file manager namely Solid Explorer, which lets you create a new file on your device.
- Navigate to the target folder(s) using Solid Explorer. Tap on the add_circle icon and then on New File file_copy. Name the new file as “.nomedia” and tap OK.
You will see that the audio files have disappeared from your Android Music Player. If there are multiple folders in which the audio files are stored, place a .nomedia file in every one of them.