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.
Related
I searched the forums and have not been able to find a workable solution. I am currently on Cyanogen 4.0.4 and have a sdcard in which I have an audio-folder containing all audio resources (as well as some custom ringtones).
I want the Music player to ignore the folder. I tried by placing a ".nomedia"-file in the audio-folder (and it's subfolders) but this causes the phone to loose it's configured ringtones/notification sounds.
There is probably an easy way to hide all UI/ringtones and just let the music player have access to the MP3 folder (where all my songs are)?
move the files to system/sd
thanks. I moved them to /system/media/audio and it works. For anyone doing this, reboot your phone and be wait 1-2 minutes until the files appear in the ringtone selection.
Mine are in a folder called "Ringtones" on my SD card and they have always been ignored by music apps.
Shrivel said:
Mine are in a folder called "Ringtones" on my SD card and they have always been ignored by music apps.
Click to expand...
Click to collapse
Totally worked, though I had it like that before but maybe that was before the OTA update & before this issue started.
Thanks for sharing.
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...
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
Built in gallery is good enough for me but after loading some music with JPG covers gallery started to show them.
Is there a way change this? I've seen tutorials with tip to change folder.jpg (or similar files) to cover.jpg <- not working for me.
What can I do with it?
Go under gallery settings hide/unhide albums
raul6 said:
Go under gallery settings hide/unhide albums
Click to expand...
Click to collapse
It9working but I have a lot of music albums so it's a lot of hiding
I'll probably change gallery app but thank you for your help
I've always used a .nomedia file in the main directory of my music folder which makes the gallery app not see any of the images. Keep in mind, your music player whatever it is, will need to have an option to ignore .nomedia files, or it won't be able to see the music either. I myself use PowerAMP for tons of FLAC files, and this has worked perfectly
On Windows it should be really easy to create, if you have windows file extensions enabled. Just create a blank text file, and rename it to .nomedia. On Linux, it should be even easier. If you have trouble, you can download mine from here.
Let me know if you have any issues
a63548 said:
I've always used a .nomedia file in the main directory of my music folder which makes the gallery app not see any of the images. Keep in mind, your music player whatever it is, will need to have an option to ignore .nomedia files, or it won't be able to see the music either. I myself use PowerAMP for tons of FLAC files, and this has worked perfectly
On Windows it should be really easy to create, if you have windows file extensions enabled. Just create a blank text file, and rename it to .nomedia. On Linux, it should be even easier. If you have trouble, you can download mine from here.
Let me know if you have any issues
Click to expand...
Click to collapse
Poweramp is my main Player.
Cover disappeared from my image gallery .
Thank you for advice !