Media Scanner Issue - Nexus 5 Q&A, Help & Troubleshooting

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.

Related

[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

mediascanner issue? my music is invisible

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?

[Q] Nexus 5 Won't Play WAV Voicemail attachments

Our phone system at my job sends voicemails as WAV attachments through our Exchange server when someone leaves a message on your extension. Even up to when I was on my Galaxy S3 I've had to install a third party audio player that supports WAV files to play these.
I recently discovered that Kit Kat (4.4) now plays these WAV attachments natively. I and two of my fellow IT teammates all purchased the N5 on release day but while both of their N5s will play them as expected, I get a popup that says "Sorry, cannot open this file". I tried a factory reset and only installed apps that weren't audio related, but still get the same message. Anyone else able to open WAVs or getting this error? How would I troubleshoot this? I also tried resetting all app defaults in the app manager to no avail.
Thanks in advance for any help with this. Minor annoyances are usually the ones that eat at me the most.
All of a sudden my phone has started doing this. I use to work fine with just Play Music installed and would just play the wav file from the email screen but it doesn't do it anymore.
spotdog14 said:
All of a sudden my phone has started doing this. I use to work fine with just Play Music installed and would just play the wav file from the email screen but it doesn't do it anymore.
Click to expand...
Click to collapse
This just started happening to me as well. Just minutes ago I went to play a voicemail I received through my Exchange email and had the same result. I even tried saving the .wav file but nothing will open it. I could probably install an audio player that will handle wav files, but I'm pretty sure this previously used to work fine.
Has anyone else experienced this, or have any ideas?
phazerorg said:
This just started happening to me as well. Just minutes ago I went to play a voicemail I received through my Exchange email and had the same result. I even tried saving the .wav file but nothing will open it. I could probably install an audio player that will handle wav files, but I'm pretty sure this previously used to work fine.
Has anyone else experienced this, or have any ideas?
Click to expand...
Click to collapse
Its the same sort of thing for me as well, even if I download it it won't play. I think and this is only me guessing but its probably something to do with an update to Play Music since that is the only thing that has changed on my phone since it stopped working.
spotdog14 said:
Its the same sort of thing for me as well, even if I download it it won't play. I think and this is only me guessing but its probably something to do with an update to Play Music since that is the only thing that has changed on my phone since it stopped working.
Click to expand...
Click to collapse
It looks like others have noticed similar things, such as here on a Motorola phone: https://forums.motorola.com/posts/fe2e143972
In that thread, two people reported that rolling back Play Music (and Quickoffice?) fixed the problem, while one person said that didn't fix it. I just tried it myself and still have the same problem after going back to the factory versions of Play Music and Quickoffice.
I also found that Google officially doesn't even list wav files as supported by Play Music: https://support.google.com/googleplay/answer/1100462
It looks like people are just installing other media players that will handle wav files... but I liked that I could play them directly in the email without even having to open another app...
phazerorg said:
It looks like others have noticed similar things, such as here on a Motorola phone: https://forums.motorola.com/posts/fe2e143972
In that thread, two people reported that rolling back Play Music (and Quickoffice?) fixed the problem, while one person said that didn't fix it. I just tried it myself and still have the same problem after going back to the factory versions of Play Music and Quickoffice.
I also found that Google officially doesn't even list wav files as supported by Play Music: https://support.google.com/googleplay/answer/1100462
It looks like people are just installing other media players that will handle wav files... but I liked that I could play them directly in the email without even having to open another app...
Click to expand...
Click to collapse
I don't even have Quickoffice installed. I have tried a few different music players but for some reason they don't like to play it from within the email app.
I have this problem too with the copy of my voicemail that is delivered via MMS to Hangouts (see my thread here). Play Music and VLC just won't play them. Installed MX Player which opens and plays them without issue.
https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad
.WAV Issues
spotdog14 said:
I don't even have Quickoffice installed. I have tried a few different music players but for some reason they don't like to play it from within the email app.
Click to expand...
Click to collapse
I am a new N5 owner, and have the same issue. This was my first major disappointment with the phone, coming from a N4. My N4 handled .wav voice mails native in the mail app, which I was excited about, coming from a HTC One S where I had to download each attachment and play it in an alternate app. I feel like I have moved backwards.
I have noticed for a very long time on my N5. In fact, not sure it was working from the very beginning. When trying to pick the WAV as attachment in Gmail, I'm presented with the native picker only a couple XBMC remote control apps. The odd thing is is that if I select that WAV from a file explorer app, such ES File Explorer, it presents many more apps with which to play the file, including Google Play Music itself, which then is played flawlessly in Google Play. I wonder why the native app picker doesn't present you with all the music player apps that are installed.
Mine definitely used to work... I was very surprised today when I found it didn't work anymore. I've had my Nexus 5 for over 3 months and I'm positive I've listened to voicemail email attachments during that time. Not sure what's up with this, but I'd really like this feature back...
I tried MX Player and many other players... some will open the file after saving it, but I couldn't make any work from email. Tapping on the attachment just says "Couldn't play the track you requested."
Sad to see this go too. I was playing .wav files through the native gmail app as well until just a few days ago. Now I get no app installed to open this file.
Ended up buying Wav Player by Dennis Lockshine. This app will play within the gmail app.
Same here on my nexus 5. Already had this issue back in december ended up fixing it when I rooted and reinstalled everything. Now the problem is back again.
---------- Post added at 02:15 PM ---------- Previous post was at 02:11 PM ----------
daystrom said:
Sad to see this go too. I was playing .wav files through the native gmail app as well until just a few days ago. Now I get no app installed to open this file.
Ended up buying Wav Player by Dennis Lockshine. This app will play within the gmail app.
Click to expand...
Click to collapse
Just bought Wav Player. Works great. Not a free fix but for $0.99, well worth it.
Thank you
Just uninstalled Play Music App updates in settings and was able to listen to a .wav voicemail for the first time.
Sent from my Nexus 5
I have the same issue and I didn't always have this problem... I'll try the app mentioned above.
Sent from my Nexus 5 using Tapatalk
geoffott said:
Just uninstalled Play Music App updates in settings and was able to listen to a .wav voicemail for the first time.
Sent from my Nexus 5
Click to expand...
Click to collapse
I tried this the other day, with no luck. I even cleared the Play Music cache, rebooted, wiped cache and dalvik cache in TWRP, still nothing. After seeing your post I decided to just try a .wav voicemail again and now it actually works... I haven't changed anything since the other day. Really strange. I've disabled automatic updates to Play Music and will just leave it be for now, since this is working again...
For those for whom removing updates does not work, could it be that you're running a custom ROM or have a Gapps package with an update to the app that can't be reverted back to the version with which WAVs can be played from Gmail?

Media Files no longer available using Stock Apps

Not sure if this is related to Pingpong root or not but media files no longer show up using the stock music or gallery apps.
I've installed a different gallery app and I can see them.
Looks like my media scanning isn't working right.
Anyone see this or have any suggestions?
I'm on AT&T Galaxy 6 Edge.
G925AUCU1AOCE

[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