Related
There's been ongoing discussions for a long time about the best way to "hide" certain media to keep them from showing up in media players.
Every 3rd party App Ive dled for Music/Movies/Pictures has had the same issue of scanning all the media in the SD card.
Is this some inherent mandate in Android ? Or lazy dev programming ?
I have podcast apps that only pick up podcasts. NYC subway map app that only picks up its MAP images...
Yes open up any media player and I see all of these included with my media.
Obviously the function is in there
add a file called .nomedia and Android will not index that directory
The no media trick does not solve the problem.
Android apps are scanning the entire SD for media instead of letting you pick a default directory.
I want to know if this is an android OS problem or an app development problem.
xManMythLegend said:
The no media trick does not solve the problem.
Android apps are scanning the entire SD for media instead of letting you pick a default directory.
I want to know if this is an android OS problem or an app development problem.
Click to expand...
Click to collapse
well i wouldn't call it a problem.. it's just the way the mediascanner works... it scans each directory on the sdcard for media files.
and both the gallery and music app relies on the system mediascanner to fetch pics/videos/music: it's called intended design
There is no way to set a default location for those apps.
3rd party apps can be developed for scanning predefined dirs at the developer's liking.
so for the stock apps the only option is the .nomedia file trick.
note that if u put the .nomedia into a directory, all the sub directories are going to be skipped too.
just rename the folder with a "." in front of the folder name, this makes it a hidden folder and the gallery and what not wont search it.
rastacre said:
well i wouldn't call it a problem.. it's just the way the mediascanner works... it scans each directory on the sdcard for media files.
and both the gallery and music app relies on the system mediascanner to fetch pics/videos/music: it's called intended design
There is no way to set a default location for those apps.
3rd party apps can be developed for scanning predefined dirs at the developer's liking.
so for the stock apps the only option is the .nomedia file trick.
note that if u put the .nomedia into a directory, all the sub directories are going to be skipped too.
Click to expand...
Click to collapse
THANK YOU !!
I somewhat figured this out when I saw this option in Doggcatcher.
This answers my question.
making a folder invisible doesn't help me.
I have ringtones in one folder and when I playback music, I don't want to hear ringtones.
hmmm is there anyway you can adb push the ringtones to the ringtone folder on the system? So you wouldn't need to have it in your sd card?
download MixZing music player. It will let you select which folder on the memory card to scan for music. Select music folder and your done. No more ringtones playback
This .nomedia trick dosnt work 100 percent. I placed it in my music folder and yes it makes the album covers disappear in the gallery but it also makes the music disappear from the music player. I can no longer scroll through artists, songs, etc from within the music player...
I am not running a rooted phone just the stock firmware with the latest Android update.
Hooligan
*Hooligan* said:
This .nomedia trick dosnt work 100 percent. I placed it in my music folder and yes it makes the album covers disappear in the gallery but it also makes the music disappear from the music player. I can no longer scroll through artists, songs, etc from within the music player...
I am not running a rooted phone just the stock firmware with the latest Android update.
Hooligan
Click to expand...
Click to collapse
^bump^
I have the same issue - I don't want to see album covers in the gallery, but I do want the music to show up in my music app - any ideas?
Thanks
.nomedia works 100% and does exactly what it says - NO MEDIA. That includes NO VIDEO, NO AUDIO, NO PHOTOS, NO WHATEVER. All system apps looking for media ignore the folder and all its subfolders.
If the album art is in a subfolder inside the album folder - put .nomedia inside that subfolder. If it's outside with the .MP3s - then .nomedia won't help you.
If you're having issues with album art, you could always embed the album art into the mp3/m4a with an app like dbpoweramp.
One more possible solution:
http://www.google.com/support/forum/p/android/thread?tid=4c95682562b36eca&hl=en
xManMythLegend said:
The no media trick does not solve the problem.
Android apps are scanning the entire SD for media instead of letting you pick a default directory.
I want to know if this is an android OS problem or an app development problem.
Click to expand...
Click to collapse
rastacre said:
well i wouldn't call it a problem.. it's just the way the mediascanner works... it scans each directory on the sdcard for media files.
and both the gallery and music app relies on the system mediascanner to fetch pics/videos/music: it's called intended design
There is no way to set a default location for those apps.
3rd party apps can be developed for scanning predefined dirs at the developer's liking.
so for the stock apps the only option is the .nomedia file trick.
note that if u put the .nomedia into a directory, all the sub directories are going to be skipped too.
Click to expand...
Click to collapse
xManMythLegend said:
THANK YOU !!
I somewhat figured this out when I saw this option in Doggcatcher.
This answers my question.
Click to expand...
Click to collapse
.... what? You argued with the first post, next post said the same thing, then you're thanking them??
r4zv4n said:
^bump^
I have the same issue - I don't want to see album covers in the gallery, but I do want the music to show up in my music app - any ideas?
Thanks
Click to expand...
Click to collapse
Yes, name the files right. AlbumArt.jpg
BTW, after putting the .nomedia, you will need to REBOOT the device for it to take effect and system media scanner will rescan after first start up.
I'm having trouble believing this is "by design" and adding .nomedia to EVERY FOLDER other than my music folder makes absolutely no damn sense... the other way around would make much more sense instead! ".media"
This issue has also been breaking my balls... I don't want my damn ringtones in my media library...
Kraion said:
I'm having trouble believing this is "by design" and adding .nomedia to EVERY FOLDER other than my music folder makes absolutely no damn sense... the other way around would make much more sense instead! ".media"
This issue has also been breaking my balls... I don't want my damn ringtones in my media library...
Click to expand...
Click to collapse
Your ringtones should go into the following folder
/sdcard/media/audio/ringtones
And your notifications should go into the following folder
/sdcard/media/audio/notifications
Those folders are not scanned into your music library. There is no need for .nomedia files on those two folders, otherwise they will not show up in your notifications/ringtones list.
NOTE: /sdcard means your sdcard.... so on the root of your sdcard you should put a folder named media, then inside media folder you should put another folder called audio, and then the ringtones or notifications folder inside audio folder..... This should solve your issue.
zeus_chingon said:
Your ringtones should go into the following folder
/sdcard/media/audio/ringtones
And your notifications should go into the following folder
/sdcard/media/audio/notifications
Those folders are not scanned into your music library. There is no need for .nomedia files on those two folders, otherwise they will not show up in your notifications/ringtones list.
NOTE: /sdcard means your sdcard.... so on the root of your sdcard you should put a folder named media, then inside media folder you should put another folder called audio, and then the ringtones or notifications folder inside audio folder..... This should solve your issue.
Click to expand...
Click to collapse
This works....Did this over a year ago when i first bought my N1...
does the gallery ALWAYS scan the whole SD card? i hate having pictures belonging to apps displayed in the gallery like asphalt game displays ALL images/videos and in Music app adds sounds. this is really annoying and wish it didnt scan all the sd card for music. are there specific folders that should be placed on the sd card or something? ie. sd:\Media\Videos OR sd:\Videos
Yeah it shows everything in folders that do not have a ".nomedia" file.
see http://androinica.com/2009/08/28/ho...iles-from-appearing-in-android-media-players/
Its not its fault though, the MediaScanner service is what it pulls data from (ContentProvider)
A settings option to disable this or look in just a couple of foldlers would be great.
Adding a .nomedia in a folder with mp3s with the intention of not getting the album art in gallery will have the side-effect of the mp3s not showing up in the music player
I've no problem getting unwanted sounds in the built in Music app by doing this:
(this was mentioned inside the T-Mobile G1 manual)
Put your alarms/notifications/ringtones in the following folders:
\alarms
\notifications
\ringtones
Those sounds will appear in the appropriate list when you choose to adjust those certain sounds, they also don't show up in the Music app. They do show up in 3rd party music app like DoubleTwist Music Player.
Code:
touch /sdcard/folderwithpics/.nomedia
takes literally 10 seconds to fix.
GldRush98 said:
Code:
touch /sdcard/folderwithpics/.nomedia
takes literally 10 seconds to fix.
Click to expand...
Click to collapse
worked great thanks!
.nomedia media works nicely
britoso said:
Yeah it shows everything in folders that do not have a ".nomedia" file.
see http://androinica.com/2009/08/28/ho...iles-from-appearing-in-android-media-players/
Its not its fault though, the MediaScanner service is what it pulls data from (ContentProvider)
A settings option to disable this or look in just a couple of foldlers would be great.
Adding a .nomedia in a folder with mp3s with the intention of not getting the album art in gallery will have the side-effect of the mp3s not showing up in the music player
Click to expand...
Click to collapse
The method posted at Androinica.com using the text file rename method worked nicely for me.
I did however have to search out where all these files were in order to place the .nomedia files properly.
I have many folders in my gallery of pics such as album art, game pics, splash screens etc which I don't want in my gallery. Is there an app or way to stop the gallery from watching certain folders. Also have the same problem with music and video where game music and videos show up.
Thanks alot
Sent from my GT-I9000 using XDA App
Create a blank file named .nomedia and put it in each folder. Everything in the folder and any folder below should be hidden.
Is there a way to that on my phone or do I have to do on my comp which is at home?
Sent from my GT-I9000 using XDA App
Check JustPictures app from market
A lot faster and more options than standard Gallery app
inteq said:
Check JustPictures app from market
A lot faster and more options than standard Gallery app
Click to expand...
Click to collapse
Its not really a lot faster but it does have options, its significantly slower though since it shows higher resolution/quality images.
rizzy123 said:
I have many folders in my gallery of pics such as album art, game pics, splash screens etc which I don't want in my gallery. Is there an app or way to stop the gallery from watching certain folders. Also have the same problem with music and video where game music and videos show up.
Thanks alot
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
you can stop the media scanner by command or by app (search in dev section)
I have a similar issue and I am going mad with my 1000s of media art showing on gallery. There should be a way to manually assign afolder for indexing.
sgsI9003 said:
I have a similar issue and I am going mad with my 1000s of media art showing on gallery. There should be a way to manually assign afolder for indexing.
Click to expand...
Click to collapse
Right, i like opt-in more as well, but nowadays it is opt-out everywhere.
What i did was putting empty .nomedia file in all main folders so media scan is fast now. Gallery and MP3 Player are of course empty now, but since i use QuickPic and PowerAmp as alternatives that allow opt-in, i do not care.
Before that i used Rescan Media Root to disable media scanning completely, but this had the bad side effect of loosing custom ring tones after reboot.
Seems the .nomedia file trick works for keeping ringtones playing in the music player as well. The android music player, like the gallery app, searches and plays EVERY peice of sound file available on the device's memory.
But, once .nomedia is placed in the ringtone folder, you're ROM cannot find the ringtones anymore!
Any solution to this? Why can't these smartphones be "smarter"? Hell, blackberries had this feature ages ago...
You're telling the OS there's no media in that folder, thus it stops looking for any media there. It's not hard to figure out. Despite not being tagged songs, the mp3 or files are still viewed as media.
Does the media player offer some sort of folder exclusion for its libraries? I never use anything but Pandora, so I wouldn't know.
FEGuy said:
You're telling the OS there's no media in that folder, thus it stops looking for any media there. It's not hard to figure out. Despite not being tagged songs, the mp3 or files are still viewed as media.
Does the media player offer some sort of folder exclusion for its libraries? I never use anything but Pandora, so I wouldn't know.
Click to expand...
Click to collapse
Yea I understood that, but that's basically what I'm wondering - if there's an exclusion folder made specifically for ringstones/notifications. You'd think there would be, in fact, there HAS to be...
There is a way. Search the forums I know its been posted before I just can't remember how. Also, check your gallery thread, try that solution for music, may work.
Sent from my Liberty using XDA App
I don't know about how you're trying to set a ringtone, but try removing the .nomedia file and rename the folder with a period in front (if it's named ringtones, rename it .ringtones, etc.). That should still exclude the folder from libraries, but it still might stop it from being found by whatever method you're using to set the tone.
Also, if you feel like dicking around with the phone's internal media, the ringtones there are stored in /system/media/audio/ringtones/; you can probably add a file there and keep it excluded.
use a different media player. i recommend doubletwist.
I have my ringtones in media/audio/ringtones on my sd and none of them show up in my music player.
Sent from my Liberty using XDA App
hungmung said:
I have my ringtones in media/audio/ringtones on my sd and none of them show up in my music player.
Click to expand...
Click to collapse
that is strange because I do too and they show up in the stock HTC music player. quite annoying
GroovyGeek said:
that is strange because I do too and they show up in the stock HTC music player. quite annoying
Click to expand...
Click to collapse
I use cm7 so I haven't tried the htc player in a while sorry
Sent from my Liberty using XDA App
Make sure the folder is named exactly as above. I originally fogot the S on ringtones. Once I added it my ringtones no longer showed up in my stock music player.
Sent from my Liberty using XDA App
I have had all three versions of the EVO and have always been able to download free mixtapes with my phone and use a file explorer to transfer the files to my music folder and they were instantly in my player. With the HTC One I can download them and move them and even play them from e'sfile explorer but my music player never sees them. If I connect phone HTC one to my computer and put the same songs in my music folder they show up instantly... What the hell is going on? No SD card problem?
Appreciate the help in advance
You need to rescan the phone for media. There are apps for that. I think one is even called rescan media
Sent from my HTCONE using xda app-developers app
Torrent
rmusic2400 said:
I have had all three versions of the EVO and have always been able to download free mixtapes with my phone and use a file explorer to transfer the files to my music folder and they were instantly in my player. With the HTC One I can download them and move them and even play them from e'sfile explorer but my music player never sees them. If I connect phone HTC one to my computer and put the same songs in my music folder they show up instantly... What the hell is going on? No SD card problem?
Appreciate the help in advance
Click to expand...
Click to collapse
If you are downloading legal music via mixtapes etc why not just go to mixtapetorrent.com and use the utorrent app to download the music. You can use utorrent to direct the music to the spot you want it on your phone. Thus no need for the file explorer etc.
Are you serious that this amazing phone requires a 3rd party app to recognize mp3's in the music folder? I can do that but it really doesn't click with how advanced this thing is. My old HTC phones didn't need that.
I have no issues with the Music player seeing music in the music folder..
derekwilkinson said:
I have no issues with the Music player seeing music in the music folder..
Click to expand...
Click to collapse
I'm having the same problem the OP listed. No idea why. Same files my Evo had no problems with.
reaper36 said:
Are you serious that this amazing phone requires a 3rd party app to recognize mp3's in the music folder? I can do that but it really doesn't click with how advanced this thing is. My old HTC phones didn't need that.
Click to expand...
Click to collapse
No, it doesn't need another app to recognize the apps. It's just not triggering the operating system to rescan for media files. Android scans the entire storage on boot or between mounting the storage for new media files (pictures, audio, video, etc) and then adds them to the libraries they belong to. Certain actions can bypass this scanning for new media. This app I suggested manually tells the system to scan for these files. It's nearly instantaneous when you do it. I've had to use it before on other devices, you literally open the app and you're done.
For some crazy reason I can not get any of four albums to show up. Rebooted phone, ran rescan media. Even pulled one song out of it's sub-folder and put it straight into the music folder.
reaper36 said:
For some crazy reason I can not get any of four albums to show up. Rebooted phone, ran rescan media. Even pulled one song out of it's sub-folder and put it straight into the music folder.
Click to expand...
Click to collapse
Do the file names have periods in the name such as in place of a space? What file type are the files?
Sent from my HTCONE using xda app-developers app
gk1984 said:
Do the file names have periods in the name such as in place of a space? What file type are the files?
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Example: 08 Orianthi - Another You.mp3
10-orianthi-highly_strung.mp3
01 Lights Of Manos.mp3
From 3 albums that worked on my OG Evo this morning.
I had the same problem and after getting the music player to play the song it said the format wasn't supported. And these were songs I played on my galaxy nexus fine. And astro file explorer plays them fine too...
Sent from my HTCONE using Tapatalk 2