mediascanner issue? my music is invisible - Nexus S Q&A, Help & Troubleshooting

So I installed jelly bean when it came out. (Codename Android 3.6.0 at the time of writing, but the problem persists regardless of the specific rom I'm using). I noticed that none of the music players available in the play store can find my music on my sd card. They are all in a folder named mp3, but I even tried renaming it to music - no luck. Also, the only pictures I can see in my gallery are the ones that have been made since the installation of the current rom. Does anyone have an idea how to force the mediascanner to actually scan my media? Damn, I want my media so bad

lowert said:
So I installed jelly bean when it came out. (Codename Android 3.6.0 at the time of writing, but the problem persists regardless of the specific rom I'm using). I noticed that none of the music players available in the play store can find my music on my sd card. They are all in a folder named mp3, but I tried renaming it to music - no luck. Also, the only pictures I can see in my gallery are the ones that have been made since the installation of the current rom. Does anyone have an idea how to force the mediascanner to actually scan my media? Damn, I want my media so bad
Click to expand...
Click to collapse
I have no idea why your music isn't being picked up. That's usually never an issue. Maybe someone else can chime in.
As for the gallery pictures not showing up. Just download Quick Pic from the Play Store. The default Android Gallery has been crying to be put of out of its misery for awhile now. It's terrible and slow. Yes, you can transfer pictures to your device and the gallery will take 5 minutes to eventually display them. Quick Pic is superior and will instantly pick up any pictures you add. No waiting involved.

styckx said:
I have no idea why your music isn't being picked up. That's usually never an issue. Maybe someone else can chime in.
As for the gallery pictures not showing up. Just download Quick Pic from the Play Store. The default Android Gallery has been crying to be put of out of its misery for awhile now. It's terrible and slow. Yes, you can transfer pictures to your device and the gallery will take 5 minutes to eventually display them. Quick Pic is superior and will instantly pick up any pictures you add. No waiting involved.
Click to expand...
Click to collapse
Thank you for the tip, QuickPic actually solved my gallery issue, what still remains is the music list not showing up in any of the players I have tried... (Winamp, Google Play Music, Apollo, just to name a few)

check if one of the apps in use is the media scanner in a constant state of reboot.
media scanner problems often are caused by malformed jpeg file, the bug usually lies in the Exif information, you can use this tool (http://www.digitalconfidence.com/BatchPurifier.html) to remove Exif information from the file, 95% chance that everything returns to work including music and video because the media scanner is shared and if it hangs on jpeg images then can not catalog other multimedia files.
you will lose data such GPS position but the photo itself will remain intact, many have pointed at Camera360 as one of the sources of these corrupted files and I can confirm that.

I got a similar issue before and is solved by copy all media to a pc, delete the files in the phone, then move them back, see if it can help you
Sent from my Nexus S using xda app-developers app

That's an old issue that happened to some when they updated to JB back in July. So, welcome to July.

lostman.it said:
check if one of the apps in use is the media scanner in a constant state of reboot.
media scanner problems often are caused by malformed jpeg file, the bug usually lies in the Exif information, you can use this tool (http://www.digitalconfidence.com/BatchPurifier.html) to remove Exif information from the file, 95% chance that everything returns to work including music and video because the media scanner is shared and if it hangs on jpeg images then can not catalog other multimedia files.
you will lose data such GPS position but the photo itself will remain intact, many have pointed at Camera360 as one of the sources of these corrupted files and I can confirm that.
Click to expand...
Click to collapse
Thank you for the suggestion, it helped me!
@madd0g you had better stay off the forums, you are completely useless...

If it's not fixed completely, run a search on your sdcard for files named ".nomedia" and delete them.

polobunny said:
If it's not fixed completely, run a search on your sdcard for files named ".nomedia" and delete them.
Click to expand...
Click to collapse
actually, I do use .nomedia files for... hiding my stuff you know

lowert said:
actually, I do use .nomedia files for... hiding my stuff you know
Click to expand...
Click to collapse
Alrighty. Just make sure there are none at the root of the SDcard or in folders where you want pictures to appear. Clockworkmod ROM Manager had a bug back a lil while ago where it put some .nomedia files in wrong folders, making people unable to find their music/picture.

polobunny said:
If it's not fixed completely, run a search on your sdcard for files named ".nomedia" and delete them.
Click to expand...
Click to collapse
This tip helped me and my Note. Thanks a lot. There were a lot of useless .nomedia files in my SD card.

I already had similar question posted. Got no resolution....
http://forum.xda-developers.com/showthread.php?t=1882847

Anybody have the solution? I am able to see pictures in gallery and videos on my MX player but no music?
I deleted nomedia (found one) and got rid of rom manager but still my music files don't show up with all the players. I can go directly to media/music via root explorer and play it though.

Go to your apps, find Media Storage, and then clear data & cache.
Download Rescan Media from the play store and run it. Wait for a bit (5 minutes should be good) and if you check in your music player(s) you should be able to see your music.

database or cache that the media scan builds is gone
polobunny said:
Go to your apps, find Media Storage, and then clear data & cache.
Download Rescan Media from the play store and run it. Wait for a bit (5 minutes should be good) and if you check in your music player(s) you should be able to see your music.
Click to expand...
Click to collapse
I have done that and everything works fine. BUT! after a battery change or charge (plug in USB cable) the database or cache that the media scan builds is gone. Deleted or corrupted by something. Its back to the same state, no music, video, added ringtones or pics show until a rescan. What could be deleting it?

Related

[Q] Google Music player (Stock) Flickering

Now i have searched and searched about this problem, and the only answer i get is "Clear the data", which fixes the problem the first time i open it, but everytime after that i still have the flicker problem. It won't let me pick music because its like it just keeps reloading all my music over and over again and won't stop. Does anyone have a solution that sticks? I love the stock music player and i use Google Music Beta so i don't want to switch players, Thanks!
Hi, the app seems to do this when you add more music to your collection.
It's the application re-checking the contents of the folders, is all your music on the MicroSD card?
If so, safely remove it (tap the icon next to the clock) and remove the card from the slot.
Then remove the app data (application settings), then re-insert your card and re-start the music app, it will take a little while to re-read the MicroSD card, they are not the fastest things around.
I have 117 folders with 1578 files which amounts to 10.96G it takes just under a minute to rescan all the folders and rebuild my library.
The only issues I had with the stock player is the extreme way it manages the albums based on the mp3 tag info, it will give you a separate folder / album if the album artist is missing from some tracks.
I fixed mine on the tab with an app called iTag, it worked rather well.
Hope this helps in some way.
Thanks for the reply! all my music is actually on the internal sd of the transformer because I just got my micro sd card a week ago and have had my tablet for a while, so i already had music loaded on.
Mine does the flickering too in 3.2 stock, the version of the app is 3.0.2, were can I download the 3.0.1 apk to downgrade the app?
Solaris_irc said:
Mine does the flickering too in 3.2 stock, the version of the app is 3.0.2, were can I download the 3.0.1 apk to downgrade the app?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=14330359&postcount=2
r_nt said:
http://forum.xda-developers.com/showpost.php?p=14330359&postcount=2
Click to expand...
Click to collapse
thankyou! already replaced the app and for now everiting is fine.
Solaris_irc said:
thankyou! already replaced the app and for now everiting is fine.
Click to expand...
Click to collapse
The reloading keeps coming even on 3.0.1
Solaris_irc said:
The reloading keeps coming even on 3.0.1
Click to expand...
Click to collapse
Sorry, man. Someone mentioned using an app called iTag to fix their issue, but I'm not sure exactly how it helped. Believe he said it had something to do with artist's names not matching up.
I've found that listing by song has no flickering involved, so gonna keep it that way until I (or someone else) either figures it out. Not much of a fan of some of the other players, so.
You should make sure all your ID3 tags are clean. For example, if you have a song artist that is Metallica and some of the files the artist name is Metallica and some are names MetallicA, where a simple case adjustment can help alleviate the issue. You need to also make sure that if one artist album has 15 songs and only 14 of them have cover art it will freak the player listing out like it's doing. Make sure all your ID3 tags are clean and precise and they all have the same cover art for each of the albums.
AcIdC0R3 said:
You should make sure all your ID3 tags are clean. For example, if you have a song artist that is Metallica and some of the files the artist name is Metallica and some are names MetallicA, where a simple case adjustment can help alleviate the issue. You need to also make sure that if one artist album has 15 songs and only 14 of them have cover art it will freak the player listing out like it's doing. Make sure all your ID3 tags are clean and precise and they all have the same cover art for each of the albums.
Click to expand...
Click to collapse
I´m back to 3.0.2 and will check all my tags tonight...
I had the same problem. Do you have album art grabber installed? I uninstalled that app and everything went back to normal.
Sent from my VS910 4G using xda premium

[Q] Music files being duplicated in any custom ROM

Originally Posted by mbrian27
Would there be any reason why it shows three of EACH song I have on my SD card in both Google Music and Apollo? And why in the gallery it says I have waaaaaaay more pictures and videos than I actually do and show up as blank tiles? I have never seen this happen and I have no idea where to even begin to try to fix it. So any suggestions would be MUCH appreciated.
I've seen that behavior on stock UCLE2 as well after flashing a rom or restoring nandroid backup.
Solution is to delete the db files in /data/data/com.android.providers.media/databases and then reboot. Media scanner will then rebuild the media indexes.
After doing a lot of searching and reading, I found the above reply in another thread. This is the same problem I am having with my music files. I tried the fix mentioned, removing the db files and rebooting. This works great and rebuilds the database so only one instance of a file is displayed. Until the next time you reboot, when the duplication starts over again. Does any one know of a permanent fix to this issue.
bfleischman said:
Originally Posted by mbrian27
Would there be any reason why it shows three of EACH song I have on my SD card in both Google Music and Apollo? And why in the gallery it says I have waaaaaaay more pictures and videos than I actually do and show up as blank tiles? I have never seen this happen and I have no idea where to even begin to try to fix it. So any suggestions would be MUCH appreciated.
I've seen that behavior on stock UCLE2 as well after flashing a rom or restoring nandroid backup.
Solution is to delete the db files in /data/data/com.android.providers.media/databases and then reboot. Media scanner will then rebuild the media indexes.
After doing a lot of searching and reading, I found the above reply in another thread. This is the same problem I am having with my music files. I tried the fix mentioned, removing the db files and rebooting. This works great and rebuilds the database so only one instance of a file is displayed. Until the next time you reboot, when the duplication starts over again. Does any one know of a permanent fix to this issue.
Click to expand...
Click to collapse
When I go in astro file manager>Android>data>com.android.providers.media Only album thumbs is available. This is on my internal SD and my music is saved to my external SD. Is this where the duplicate files are coming from? So do I delete the album thumbs folder?
Another option is to simply point music folder library to where you know it is. I sync to external sd with double twist, so when I use another player just limit music directory to the folder you sync to.
Sent from my SGH-I727 using Tapatalk 2
lnfound said:
Another option is to simply point music folder library to where you know it is. I sync to external sd with double twist, so when I use another player just limit music directory to the folder you sync to.
Sent from my SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
I only have the player using the one music folder....it makes duplicates of the music with no audio
Sent from my Skyrocket i727 running Sky ICS

Watching Movies - Any issues

I have this weird problem. When i first got this device, i could drop a 4gb mkv (without conversion) on my memory card and watch it with no issues. As time went on, i havent been able to do so. Its hard to pinpoint exactly when this started happening. But heres the issue, i placed several mkv and mp4 movies on my memory card. I would go to play them using BS Player ( i also tried the stock app) and sometimes they would play, and sometimes they wouldnt. The times they would play, if i were to exit out of the movie, go to another app, and then go back to the movie, the movie would not play and the app would force close. I have tried putting my movies on different cards as well as directly on the device, and the device still wont play the movies properly. So, after the force close, about 5 minutes later, the tablet will reboot. I was having this issues before rooting (this actually made me want to root) and after. I just wanted to know if anyone esle experienced anything like this. I also tried playing movies from the USB port and SD card in the dock and still have the issue.
At first i thought it was a memory card issue so i went and got a 32gb, and still have the problem. The i thought it was a format issue. I formatted one to fat32 and the other to exfat, and still experience this. Then i thought it was the app itself, and i downloaded other alternatives and it still happens.
Also, let me add this one bit, is also happens with music that i have stored on the card and the device. Poweramp nor Google Music will play the music. I get the same force close and reboot each time.
I haven't tried playing a 4gb mkv file or anything similar, but I am able to watch smaller ~400MB mkvs off my microSD card (32gb) with no problem. I also regularly play music off of the microSD as well, and have never had a force close or restart because of it.
Have you tried a different memory card?
I have tried a sandisk and an aData. Question, do you keep your movies and music in folders on your memory card? If so, do you have a folder with the same exact names on your device? I had my movies and music in folders marked Movies and Music respectively on the memory card. I also had folders with the same name on my device. i renamed the ones of the card to Videos (there is a VIDEO folder on the device as well) and Albums and now the problem is not there. Might be a bug
I keep my music in a "music" folder in the root of my memory card, and my videos in a "video" folder as well. On my internal storage I have a folder named "Music" but its capital M instead of lower case. I do not have a video folder in my internal storage. Yet I haven't had any problems like what you mentioned.
But im glad its working now!
If it comes back I guess you could always do the common factory reset procedure to see if that helps. It doesn't seem like a hardware problem (like a device reader problem) because its persistent across different memory card types.
timrock said:
I have tried a sandisk and an aData. Question, do you keep your movies and music in folders on your memory card? If so, do you have a folder with the same exact names on your device? I had my movies and music in folders marked Movies and Music respectively on the memory card. I also had folders with the same name on my device. i renamed the ones of the card to Videos (there is a VIDEO folder on the device as well) and Albums and now the problem is not there. Might be a bug
Click to expand...
Click to collapse
Not a bug per se, however some apps might not behave nicely. Read this thread, it might help you understand the issue. So, to work around it, avoid having multiple directories that only vary in upper/lower case, when they are in the same directory.
xcal321 said:
Not a bug per se, however some apps might not behave nicely. Read this thread, it might help you understand the issue. So, to work around it, avoid having multiple directories that only vary in upper/lower case, when they are in the same directory.
Click to expand...
Click to collapse
Makes sense then. I still wonder if anyone else has experienced this.
Edit: this is not the issue. I deleted the folders from my device called Movies and Music. On my card, i now keep them in folders called Flicks and Albums. There are no duplicate files on the device, but yet i am still having this issue.
ok, so i renamed the folders on the card. performed a hard reset and installed only bs player and poweramp. No issues. I kept going in and out of the apps to make sure the issue didnt come back. After several attempts, it did not surface. I proceeded to install all of my apps and still no issue. I did all of this yesterday morning. Fast forward to now, and the issue still has not come back yet. I guess i solved the problem....for now.
timrock said:
I guess i solved the problem....for now.
Click to expand...
Click to collapse
Great :good:
Maybe you can "mark" the topic as solved when it keeps running fine for a few days.
xcal321 said:
Great :good:
Maybe you can "mark" the topic as solved when it keeps running fine for a few days.
Click to expand...
Click to collapse
it came back. lol
I think Volume+ is the cause of the problem. I removed it for now. There is a notice that it doesnt work with JB, but it works on my nexus which is running JB.
I'm thinking some apps don't like the delay of the remounting of external storage when the app is running when the tab is put to sleep.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app

Media Scanner Issue

Hi all,
I recently bought a Nexus and I tried transferring all of my music and photos from my S4 to this phone. It worked except I can't view the photos in gallery. Whenever I download new pictures or music to my phone, the gallery and music apps do not update their libraries. Is anyone else experiencing this and is this a known issue? Does anyone have recommendations?
Thanks!
EDIT: I feel like such a noob. Lol. I forgot all about the ".nomedia" folder I created and every time I copied my files, I always ended up overlooking that folder. Anyways, it's fixed now.
Sent from my Nexus 5 using XDA Free mobile app
As of yesterday I am having this issue. The gallery is showing no photos even though the files are there when using a file explorer.
Also the ringtones are no longer detected in the ringtone folder which meant I missed a few calls as the ringtone defaulted to "no ringtone"
I have tried downloading a few apps that force a media rescan but these all crash due to the way kitkat 4.4 now only allows system apps to call a full media scan.

[Q] PLEASE HELP! Notification sound and music library are gone!

All of a sudden my sms notification sound doesn't work anymore. I try to look into it, finding out that the file is still in the Notifications folder and evetything, only to discover that in Play Music all my music library is also gone! Simply vanished! Of course, all the files are still on the device, accessible and playable through the file explorer (even with Play Music), but in the library they're nowhere to be found. None of them. Also, when selecting a notification sound in the (default, preinstalled) messaging app, I just don't see the 3 files that I myself have put in the Notifications folder.
I've tried re-copying the files to the device and nothing happens. Play music keeps telling me to copy music on my device via USB ..
I'm running Cyanogen OS 12, all stock, but this happend in medias res, so to speak, I've been using the OS since it finally came out. I've been looking for an in-call sound recorder though the other day and tried a few (none of them working properly), tried different settings in them. Might this have been the cause of my troubles? Also, please someone help me how to sort this out, it's driving me crazy!
Edit: I have now tried to reinstall Play Music and the BS Player, in hope that maybe I will have some drivers reinstalled and everything will turn out right. Well, it didn't.
This afternoon I found out that not only my audio files, but also my pictures and videos are not recognized by any gallery-software. Not the Cyanogen Gallery, nor the Google Photos app. Nor the camera app. I can still see all the files on the device (I have tons of photos) in the File explorer, but not in the designated apps.
Yersiwx said:
All of a sudden my sms notification sound doesn't work anymore. I try to look into it, finding out that the file is still in the Notifications folder and evetything, only to discover that in Play Music all my music library is also gone! Simply vanished! Of course, all the files are still on the device, accessible and playable through the file explorer (even with Play Music), but in the library they're nowhere to be found. None of them. Also, when selecting a notification sound in the (default, preinstalled) messaging app, I just don't see the 3 files that I myself have put in the Notifications folder.
I've tried re-copying the files to the device and nothing happens. Play music keeps telling me to copy music on my device via USB ..
I'm running Cyanogen OS 12, all stock, but this happend in medias res, so to speak, I've been using the OS since it finally came out. I've been looking for an in-call sound recorder though the other day and tried a few (none of them working properly), tried different settings in them. Might this have been the cause of my troubles? Also, please someone help me how to sort this out, it's driving me crazy!
Edit: I have now tried to reinstall Play Music and the BS Player, in hope that maybe I will have some drivers reinstalled and everything will turn out right. Well, it didn't.
This afternoon I found out that not only my audio files, but also my pictures and videos are not recognized by any gallery-software. Not the Cyanogen Gallery, nor the Google Photos app. Nor the camera app. I can still see all the files on the device (I have tons of photos) in the File explorer, but not in the designated apps.
Click to expand...
Click to collapse
Workaround/Solution:
1. Delete instances of .nomedia files in the root of your sd card
2. Go to Music folder-----Create another folder in the Music Folder----Move ur songs into this folder . Now the files would appear in the multimedia player and play just fine.
3. Similarly create another folder under DCIM/Camera and move ur pics into the new folder. They will now appear in the gallery app.
======
The above is at best a workaround and I still dont know why the stock media players and gallery wouldn't recognise files in the stock directories.
I hope some senior dev or enthusiast may like to shed some light on this issue.
knedge said:
Workaround/Solution:
1. Delete instances of .nomedia files in the root of your sd card
2. Go to Music folder-----Create another folder in the Music Folder----Move ur songs into this folder . Now the files would appear in the multimedia player and play just fine.
3. Similarly create another folder under DCIM/Camera and move ur pics into the new folder. They will now appear in the gallery app.
======
The above is at best a workaround and I still dont know why the stock media players and gallery wouldn't recognise files in the stock directories.
I hope some senior dev or enthusiast may like to shed some light on this issue.
Click to expand...
Click to collapse
Thank you so much for answering! I was almost set that I'd have to re-flash the rom .. which would be rather inconvenient, as it's my exam period and I really don't have much time.
Anyway, I was thinking - Cyanogen OS 12.1 OTA is just about to be rolled out. Maybe if I wait for it to come out, it would fix my base problem? I know it's not a clean flash, but still..
knedge said:
Workaround/Solution:
1. Delete instances of .nomedia files in the root of your sd card
2. Go to Music folder-----Create another folder in the Music Folder----Move ur songs into this folder . Now the files would appear in the multimedia player and play just fine.
3. Similarly create another folder under DCIM/Camera and move ur pics into the new folder. They will now appear in the gallery app.
======
The above is at best a workaround and I still dont know why the stock media players and gallery wouldn't recognise files in the stock directories.
I hope some senior dev or enthusiast may like to shed some light on this issue.
Click to expand...
Click to collapse
Do you think it would possible to somehow "reset" the existing .nomedia files? Or if I just deleted them, would they be (properly) reset even if I don't move my media files?
Just thinking Also, would you happen to know where I should look for the .nomedia files in my root? I wouldn't want to miss any.
Hi, I am on different phone and came here for searching same problem. Well in particular your problem, as suggested above, deleting .nomedia files will do the trick.
Download es file explorer and search for ".nomedia" and delete all. Then again perform deeper search and delete them.
Sometimes clearing data of media storage also help(settings >apps>all>media storage>force stop>clear data)
What problem I am facing is, the no media files are keep coming upon restarts. Very annoying and doesn't go even after restored to earlier back up...
Anyone who knows solution for this, his help will be greatly appreciated.

Categories

Resources