I reformatted (factory wipe) my phone and also formatted my sd card (to remove apps2sd, only using froyo2sd now).
Before the wipe, I was using MixZing with no issues. All the albumart for my songs (embedded into ID3 tag in mp3) showed up with no issue.
After the wipe/formatting, i retransfered about 7gb of music to my sd card, and the album art is not showing. It's not showing in the stock player, in MixZing nor the new winamp player (which i didn't have previously).
I don't know for sure, but I think album art is the responsiblity of the media service in android, not each individual media player, so i'd like to force android scan for album art in mp3 files. Oddly, the poweramp (beta) player (which I also didn't have prior to the reformat) sees that album art just fine, but I believe that it has it's own code for reading artwork)
Is there anything I can do to get this artwork to show back up, i know for sure it's in the the iD3 tags, as I've copied files off of my N1 onto another computer and it shows up in winamp on that computer.
Thanks!
bump. please help!
Just use an mp3 tagger from the market to reload the album art...
Sent from my Nexus One using XDA App
You're correct that Android's media scanner should process any new music files when you mount your SD card. It creates thumnbnail images on the SD card and indexes them for use by media applications via the Android API. I have a music app that uses this facility. From what I can see, FroYo puts the album artwork thumbs into a folder on the SD card called
Android/data/com.android.providers.media/albumthumbs
Note that each album thumb file is numbered and without a typical image file extension. If you want to look at a file as an image, you'll need to explicitly open it with an image viewer as a JPG file.
Make sure you don't have a file called .nomedia in the top-level directory where you store your music on your SD card. This tells the Android media scanner to ignore the directory and all directories contained within.
So, I'd suggest mounting the SD card on your computer via a USB cable, checking the above directory, unmounting the SD card, waiting 10-15 minutes for Android to index the music files, re-mounting the SD card, and checking the directory again, to see if there has been any change.
Good luck!
Thanks I'll try this out. I've gone into the phone and wiped the media storage (Applications -> Manage Applications -> "All" tab -> Media Storage -> clear Data) and that didn't rescan the atwork. I'll check for the .nomedia tag.
I looked on my SD card, and that directory wasn't there. I also tried to create it, and yet, there's still nothing there. oh well.
Sorry to hear it's still not working. One more thing you could try, to at least see what's going on, is installing the Android SDK on your computer and, with your phone attached via USB, issue the command "adb shell" from a DOS window--assuming you're using a Windows box. Then, at the $ prompt, enter "logcat". This will output log messages. After this, mount and then unmount the SD card. You'll see a lot of messages fly by, but amongst them should be information on the media scanner doing its thing. Or, possibly, you'll see some relevant error messages.
Good luck!
Thanks for all the suggestions.
I have created a logcat and excluded all the extra unneeded lines. I'm sure more can be removed. I did this by running "adb logcat | tee logcat.txt", then after a while, exiting, and then running "egrep -v" on terms from the log.
Code:
cat logcat.txt | egrep -v "dalvikvm|Tethering|WifiService|WifiMonitor|wpa_supplicant|WifiStateTracker|QC_CORE|NetworkStateTracker|Gmail|CalendarsList|ConnectivityService|CalendarsEvents|ActivityManager|GTalkService|CalendarLayoutFiller" > logcat2.txt
My Logcat File (stripped of unneeded info)
I can't seem to find any info on this error in Google. Most of the errors i got were this one:
Code:
E/MetadataRetrieverClient( 120): failed to extract an album art
E/MetadataRetrieverClient( 120): failed to extract an album art
E/MetadataRetrieverClient( 120): failed to extract an album art
I have tried a variety of things to fix the issue
1) Reformatting my SD card again (for the 3rd & 4th times)
2) Clearing the android "MediaStorage" data (Applications->Manage Applications->"All" Tab->"MediaStorage"->"clear data". Then reboot and after the reboot and open the stock media app and wait. Loaded songs again, but not album artwork
3) Looked for Android/data/com.android.providers.media/albumthumbs as suggested, and I see that this directory did not exist. I tried to create it manually, just in case, and nothing changed
4) Change media folder structure around (originally and currently at /sdcard/media/music/[Genre]/[Artist] - [Album] - [Track #] - [Song Title].mp3) I've tried /sdcard/Music, /sdcard/media/MP3
5) ensure no .nomedia files in any directory structure in the path
6) Completely uninstalled Winamp, MixZing & powerAmp from the phone
7) Cleared "MediaStorage" again, with all apps uninstalled
8) Tried reinstalling all the players above, PLUS DoubleTwist player. I have gotten some of the players to read 1 or 2 files successfully, however, i can't consistently reproduce how it got it to do that.
9) Poweramp seems not to rely on the MediaStorage utlity to read the album art, and instead reads it on it's own (so successfully gets it from the file). Would continue to use it, but it's beta and still constantly crashes, plus no lock screen widget
10) Gotten "Album Art Grabber Free" from Market, however, I have alot of non mainstream songs, so it can't find artwork for about 60% of my collection, so still not ideal.
11) Gotten "SDrescan" from the market as well.
12) MixZing will download album art, but downloads it from internet, and runs into same problem as "Album Art Grabber Free", plus, stores it in an app specific folder, not in the common folder, so artwork is only available in MixZing and not other players.
I had this working before, I can't believe formatting my phone and SD cards so that it was "stock" has given me a problem like this. ANyway, thanks for your help!
I've had problems with Mixzing...
Best way to deal with Mixzing is to hide your media from it (I place a . in front of the folder name, ie. Media becomes .Media).
Open Mixzing, and delete all the media (it can't find it, so don't worry, but it will delete the database).
Reboot.
Remove the . from the folder name.
Use mp3tagger to update album art.
Relaunch Mixzing, and rescan for media.
Hey presto! Fresh new database!
Has always worked for me...
Sent from my Nexus One using XDA App
So i upgraded to the latest nightly for CyanogenMod (v227 -> v232). I also ran the fix permissions script. Either one of those two (i'm thinking the fix permissions) fixed the issues, and everything works fine now.
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.
Hey guys. Ive tried reflashing quite a few times now, and for some reason no matter what rom i try my phone is no longer scanning the media on my phone. i have music on my phone in the form of mp3's that will play when i use astro to browse to them, ut do not show up in any media player including the stock android one. an thoughts? as to whats going on?
things ive tried,
New sd card
Reflashing and wiping
Cyanogen clockwork recovery and amon ra
going back to a nandroid where it did work ( it no longer does)
deleting all my music and putting new music in
reformatting the sd card.
any other ideas? or if anyone knows a fix, please help!
Do you dump all of your mp3s in 1 folder? I've found that if I do this, the music player will scan some but not all album art. I know you're not getting them detected at all, but try adding music in subfolders so maybe when it scans 1 folder with hundreds of mp3s it doesn't get overwhelmed. If you're adding a lot of music at a time, try adding just afew mp3s and see if that works.
Thanks for the reply. just tried it and its still a no go :/
You sure you don't have a .nomedia file in the same folder as the music or your music folder doesnt start with a .? (like .music will not be scanned)
nope nothing with a dot or a nomedia file.. i found out if use force scan with meridian media player it finds my music, but its only temporary. as when i exit. it loses everything again :/
edit: i just tried a non sdhc card. the original 2gb card and it works.
however i want to use my 8gb card :/
any idea why the media scanner is not working on my sdhc card?
is it because its a class 2?
Hi guys......I've been using Apex 5.3 and I've noticed something......You make a playlist in your favorite music player and then reboot the phone, after the reboot and the media scanner, you check the playlist and there are no songs in the playlist!!..............I've notted that it just happens in Android 2.2 Froyo, when i was whit a GB ROM It didn't happen...... I would like to know if there is any way to avoid this!.....It's annoying making the same playlist a lot of times!!! I would appreciate you to Help Me
And....sorry for my bad English ...........If you don't understand my words tell me please I'm just learning and i'm from Mexico!! Greetings
I have similar issue with mixzing. Playlists are lost after flashing roms. Any suggestion on how to preserve my playlists
mansared said:
I have similar issue with mixzing. Playlists are lost after flashing roms. Any suggestion on how to preserve my playlists
Click to expand...
Click to collapse
Your playlist are usually saved on your sd card as a little file. You could back it up and re-open it after flashing a new ROM.
Might be different with different player tho, I haven't tested it. Just my though on it as I don't use playlist
Do you know where I can find this file???
caddi234 said:
Do you know where I can find this file???
Click to expand...
Click to collapse
Usually would be in a folder created by your music player (with the name of your music player). Although, like I mentionned, I don't use playlist so I'm not sure where they would be placed
I'm going to go ahead and mention this now:
This is an issue relating to the media scanner. It is not specific to any one application, phone, or ROM. I've done a ton of searching on Google for an answer, and it is obviously not restricted and seems to come from the media scanner. Winamp, Songbird, PowerAMP, Instinctiv, Android Music, etc... all seem to have this problem.
As far as I know, there is no fix. Your best bet is to get an app that will let you sync playlists from your computer, and sync regularly. If you use an app that saves playlists as .m3u, you can create a new folder called .NoMedia, and media scanner will ignore it, and thus, not try to update it. If your app does not create playlist files, your playlists are stored in a database file and you're really out of luck.
Please, if anyone knows of a fix, please help!
rmikulus said:
I'm going to go ahead and mention this now:
This is an issue relating to the media scanner. It is not specific to any one application, phone, or ROM. I've done a ton of searching on Google for an answer, and it is obviously not restricted and seems to come from the media scanner. Winamp, Songbird, PowerAMP, Instinctiv, Android Music, etc... all seem to have this problem.
As far as I know, there is no fix. Your best bet is to get an app that will let you sync playlists from your computer, and sync regularly. If you use an app that saves playlists as .m3u, you can create a new folder called .NoMedia, and media scanner will ignore it, and thus, not try to update it. If your app does not create playlist files, your playlists are stored in a database file and you're really out of luck.
Please, if anyone knows of a fix, please help!
Click to expand...
Click to collapse
The only solution I've found is FLASHING A GINGERBREAD ROM...I haven't had problems about this in Gingerbread........But I think they are still a little unstables!! :S
I'm having the same problem with FroYo and PowerAmp on my Captivate but the problem only occurs when I unmount and re-mount the SD cards and then the media scanner runs. If I reboot on the phone normally the scanner leaves the playlists in tact.
If you're using PowerAmp there's actually a 2 different settings that fix this, under Advanced Folder options: No System Scan For Folders, and Create /MusicFolders. For the first one you just select which folders you want to exclude from the scanner, for the latter it creates said folder (on both SD cards) and then you need to move your music to the MusicFolders folder(s). I suppose the former is easier if you have your music spread out over both SD cards or just don't feel like moving your music underneath another subfolder. The trade-off to this is that you lose use of the System Library and can only use Folder Playlists.
I used the Create /MusicFolders option, moved all my mp3s under it, created a couple of playlists with a few songs each. Unmounted/re-mounted the SD cards and also rebooted the phone and let the media scanner run both times and the Folder Playlists were untouched. Hopefully there's a fix eventually but for now, I can live with cumbersome functionality of using only folders since I only use playlists and very rarely shuffle all the songs on my phone. Not having to spend a half hour recreating playlists is more than worth the tradeoff.
Hi there,
I am having problems transfering music on to my LG Optimus Black.
I am not sure where to create a music folder so the default music player can see the music files.
I have created music folders in Audio and in DCIM and in the main menu and the music is on the phone but the it is not found by the default player.
Any help would be appreciated .
Kind Regards
Kev
You put music files (say .mp3) anywhere in your memory card, your player should detect it automatically. So there should be an error reading the memory card.
Try this : Settings >> SD card & phone storage >> Unmount SD card.
Then mount it again. Once scanning of all media files finishes ( You may be able to see the scanning progress and completion notification on top bar. ) you player should work okay.
Also try downloading different players from market. Do they detect your music files?
I'm not that sure but I think the SD already have a "music" folder? mine those, I put all files there and player automatic detected them, even if I have files at bluetooth>music or download>music folders still detect them with no problem
Felsar said:
I'm not that sure but I think the SD already have a "music" folder? mine those, I put all files there and player automatic detected them, even if I have files at bluetooth>music or download>music folders still detect them with no problem
Click to expand...
Click to collapse
Well even if there's no music named folder it still works. I directly copied my folders from pc such as metallica and linkin park etc and I put it in "my favourite" folder in root directory and it works perfectly..