SDrescan is a small tool that invokes the android media scanner to rescanning the SD card for new media files. I've coded this, because I don't want more to must reboot, when I've added new media files over adb push, WiFi, etc. on my 16GB class 6 microSD card.
http://www.cyrket.com/package/com.bero.sdrescan
Perfect app! Thanks for offering it for free to the community.
Quick question, how tricky is it to call the media scanner to rescan? Is it a simple line or two of script? If so would you please share?
Related
When I add new music to my sdcard via PC or downloading through the browser it doesn't show up in the stock music app.
I can open the file directly through a file explorer or browser download screen and it will play but it will have no options eg: no repeat or add to playlist
Has anyone come across this? Once I restart the phone it will show up correctly.
I noticed there is a media scanner in spare parts or dev tools but it doesn't help.
mine shows up pretty quick, where do you put the music onthe sd card and how do you dismount the sd card?
Had that problem too, a long time ago. Probably even before I got my Nexus and used a Galaxy Spica. What I did was download songs to my SD card over the network using ES File Explorer. I think Android doesn't really monitor the SD card, all it does is scan when the SD card is mounted. This way, if you use USB to transfer media from your PC, and then disconnect it, it gets mounted again, and the media scanner will run and find the new files. Any other way is probably broken... maybe you can trigger a scan by unmounting and remounting the SD card (from the settings menu)...
I remember there being an application on the market, sdcard rescan or something that did that.
yup, thats normal, if you copy music to the sd through an application. android does not monitor the filesystem for new music files and only scans on mount (which happens on bootup).
but yeah ther was an app for that. does anybody have the name?
free
http://www.androlib.com/android.application.com-bero-sdrescan-jBBB.aspx
perfect.
thanks for the mount tips too. makes sense.
or if your rom comes with "Dev Tools" just open media scanner.
Good one, forgot about that.
I have a lot of pictures in my SD card.
When I insert the card,Galaxy S starts media scan.
But...It is too long to wait.
While media scanning,I can launch Gallery App.
How can I disable Media Scan?
kuzu92 said:
I have a lot of pictures in my SD card.
When I insert the card,Galaxy S starts media scan.
But...It is too long to wait.
While media scanning,I can launch Gallery App.
How can I disable Media Scan?
Click to expand...
Click to collapse
i have a class 6 adata 16gb card in.. it scans memory twice once for internal sd and 2nd for yourown.. it finishes withing 2-3 minutes after startup.. if yours is taking longer recommend you get a newer faster memory card.. without media scan you will never see new pictures movie in galary or new music.
lgkahn said:
i have a class 6 adata 16gb card in.. it scans memory twice once for internal sd and 2nd for yourown.. it finishes withing 2-3 minutes after startup.. if yours is taking longer recommend you get a newer faster memory card.. without media scan you will never see new pictures movie in galary or new music.
Click to expand...
Click to collapse
I have class 6 Samsung and class6 Kingstone.I tried both.
hmm...how many pictures do you have in micro SD?
I have about 16000 pictures.
Media Scanning
Hey there,
Did you ever get this sorted out? Looks like you may have. If I may ask, how long was it taking you to sync? So far, the one thing that could be a deal-breaker for this phone is the fact that Media Scanning is taking FOREVER. So far, I think it's been going for at least 45 minutes. Granted, this is a SanDisk 32GB, which is only a class 2, but primarily what I have on there is photos and music, with just a few video clips. The Droid X which I'm also trying takes a fraction of the time (perhaps several minutes but only does once). Is there a way out of the freeze or delay? Not sure it's ever going to finish and don't really wanna start over from scratch again!
Any help is appreciated!!
Thanks,
K-
Even without any external SD card, mine is taking time to do media scan. Yes, the wait is annoying, but only when I soft reboot. Not a big deal for me. I suspect that's the way Android works. In winmo and iPhone, there is no such wait. May be you guys with experience on other android phones could confirm that this happens to all android phones?
Shirley if it could be disabled you could push manual scan after putting files on
Read an interesting blog a while back. Never tried it my self since I don't have that much media on my card.
Some thing about putting .nomedia file in your directory and putting a dot (.) infront of your directory name.
http://androidcommunity.com/forums/f7/nomedia-equivalent-for-gallery-24997/
Sent from my GT-I9000 using XDA App
Get a startupmanager (is in the market) and disable the mediastorage under the system tab. startupmanager is a trial, but after you applied the setting you can uninstall the app and setting remain there. Then if you want to manually scan get the scanmedia app (also in market).
spaanplaat said:
Get a startupmanager (is in the market) and disable the mediastorage under the system tab. startupmanager is a trial, but after you applied the setting you can uninstall the app and setting remain there. Then if you want to manually scan get the scanmedia app (also in market).
Click to expand...
Click to collapse
Deadly just tried that and it worked, start up seems faster
mloc33 said:
Deadly just tried that and it worked, start up seems faster
Click to expand...
Click to collapse
yes it will work.. but better to use nomedia with the huge directory that is causing the hangup or get a faster card.. reason.. if you have any music you want to play or mp3 ringtones.. they will not work if you disable scan. ie you will not have your ringtones.. but stock sounds such as beeping when a call comes in.
What does Media Scan do?
What does media scan even do?
lgkahn said:
yes it will work.. but better to use nomedia with the huge directory that is causing the hangup or get a faster card.. reason.. if you have any music you want to play or mp3 ringtones.. they will not work if you disable scan. ie you will not have your ringtones.. but stock sounds such as beeping when a call comes in.
Click to expand...
Click to collapse
just use ScanMedia app , it will do the scan for you in almost no time it's one one click app
Using a rooted but otherwise stock ROM I removed the "Media Storage" component entirely via Root Uninstall. Now the phone actually takes slightly longer to locate my apps and widgets on boot, however it no longer has to rescan every time I put it in USB Mass Storage mode and/or disconnect it. i use the phone as a flash drive for my job extensively (that and ConnectBot FTW!) so this was a major issue for me.
I suppose disabling the media scanner would be a safer approach, but if anyone is wondering, you CAN safely remove this entirely if you have a rooted phone. In my case, I'm using WinAMP as my music player, so don't need it for that. Gallery still works flawlessly so this service isn't used by Gallery I think.
I have noticed one single side effect of this though. Apparently Google+ installed to my SD card by default, which disabled the Google+ widget entirely (removed it and couldn't re-add it). Simply moving the app to internal storage solved this.
AOKP w/ Devil kernel
I have same problem as these others and can't find can't find solution for this:
"So I've tried everything to get music to stay on my "external" SD card (32gb Micro SDHC class 6, by Kingston). I say
STAY because its syncs fine. But as soon as I try to unconnected it ( I've just yanked it, ejected the drive from
windows then pulled it, ejected it then shut off the phone and pulled it then turned it back on, etc...) it moves 90%
of the files from the music folder to lost.dir. I've done just about everything i can think, heres a list (sorry if some of them seem silly)
unmount SD card, remove from phone, plug into computer, load songs, re-mount = all files in LOST.dir
Sync "USB Mass Storage" Using
Windows Media
VCast media Maneger = all files in LOST.dir
Motorola "motocast USB"
WinAmp
Drag and Drop to folder
sync with the "windows Media Sync" mode not "USB Mass Storage"
Windows Media
VCast media Maneger
Motorola "motocast USB" = all files in LOST.dir
WinAmp
Sync to internal memory and move files to external. = All file in LOST.dir
Now here's where it gets strange, I've done this with 2 different SD cards, (both 32gb one a class 6, one a class 10)
and the same thing happens. I've use both of these cards on 2 different phones (talked to Verizon and they just sent
me a new phone) and the same thing happens. What the heck is going on?"
and this guy:
I'm having issues with music on an external sd card, can anyone advise?
I mounted a 32Gb sd card in Samsung Galaxy 1. I then copied music into music folder on card.
This has been done using Kies and several other times using a usb card holder and Win Explorer - all with same
results...
When I turn on phone, the external media scanner runs ok. I go to music and it only shows approx 16 cds of music. The
remainder seem to be "dumped" into media folder without structure,or alternatively get dumped into the Lost.dir.
Its almost like there's a limit on the size of the memory space allocated to the music folder.
I have used other apps to rescan media. I have also reformatted the cards to ensure no hidden files or attributes.
Also tried this with another new 4Gb card with same issue.
I just got a new Ainol 7 Advanced 7 inch Android tablet (which is pretty cool for cost v's performance).
Unfortunately, this has the same issues as the Samsung.
Obviously, this is due to the same "features" of the Android O/S and its memory mgt of external cards."
I'm using a 16gig card myself and the same thing is happening. Even if I transfer files over wifi and rescan media.
Someone said "I could be mistaken, but I think you may be right about the memory limit in file allocation on that device. I know it's true of some versions of the Android Operating System. The OS wants more storage area for system activity than
or media. Some users solve that issue by rooting their device and manipulating those parameters"
also said "In Unix the lost & found directory is for orphaned files and/or directories. They become orphaned due the OS no longer having the correct pointers to those files.
and "Some tweaks such as sdcard speed tweak and other sdcard related tweaks in init.d folder is causing this problem... Try to boot your phone without them and see if it works"
So I removed what I think was a speed tweak from the init.d folder and rebooted...same thing.
There seems to be from what I've seen, a 1.8 or 2gig limit on media files on the external SD. Everything works great until you add past 2gig, then the rest goes to LOST.DIR. So I tried something, format the SD and copied over 5gig of PDF files, I got the same thing only it seemed the limit was now 3.8gig. So does anyone know how to get around these limits?
Just got the phone and I'm digging my way through it but I've found that for some reason my music and video files are not being seen by the phone.
Photographs are fine, but I see no obvious way of forcing the walkman and movie apps to scan my SD card. The files are still there and I've tried unmounting/remounting but I'm not having much luck.
Has anyone else experienced this? I tried to search but only saw reports of skipping tracks etc.
Edit: I've come from a Galaxy S3 and the card was formatted on that phone - could it be a slightly different file organisation system? I hope I don't have to reformat!
I understood the media server will scan for files if you:
- Add new media to the SD card and unplug USB cable.
- When you power cycle the device.
If all this fails maybe try an app like "Rescan Media":
http://www.androlib.com/android.application.com-addz-mediascanner-jtDAw.aspx
Rescan Media is a simple app will rescan your mobile phone for new files that usually happens on a system re-boot.
It only calls the android media scanner.
Kind regards, Stefan.
You can also delete android folder from the sd and reboot.
Sent from my C6602 using xda premium
Thanks guys. Oddly enough I'm now seeing my files. It seemed to just happen! When I rebooted and used usb, nothing happened. Then out of the blue it just does it, unexplainable! That app looks handy though
can't find the media
Same to me. I can find any mp3 or mp4 file that i have in sdcard in my walkman, Still can see it through file explore. How can I fix it? Tried media scan app, flash new app, wipe anything... but still can't see anything in the damn screen.
Please help me! You can send email for me: [email protected]
Hi All
Firstly, a huge thankyou to @leapinlar for the "Dummies Guide for Installing CM 10.1/10.2" thread. It literally resurrected my sluggish, unusable NookHD sitting in the bottom of my drawer, to something i'm enjoying using via using CMD 10.1.3 Hummingbird!
I do have a few issues tho which I've searched high & low for but cannot seem to find answers, so figured I'd throw it out here:
(1) "can't play video": this is a message I keep getting when attempting to play any videos. they worked on the nook prior to the CM install, i'm using MX player as read that's the best for all codecs. the videos are all residing in the device's memory not the external microSD. should all media be stored (& played from) a microSD card, as opposed to the device memory?
(2) music scrubs speedily thru tracks: so basically can't listen to any mp3s on device. songs just skip thru themselves (like super fast scrubbing similar to sound of changing radio stations) then skips to next track. these mp3s also all reside on device's memory not the external microSD. again, should i play all media from the microSD?
(3) no notifications: i don't seem to be getting any notifications. gmail, facebook, twitter, instagram etc... nothing. when new emails come in, no sound, nor unread number updated on app icon (yup, gmail's configured correctly via managed labels etc). facebook & twitters app icons also don't update with a number representing a new notifications
(4) microSD not recognized: im testing with a small 2GB SanDisk microSD and although it is mounted, I don't see any option to "format SD". I also tried to export a photo & a zip from my Dropbox to the SD and although it appears to save it there, it doesn't -- saves it to internal. Am I missing something?
sorry if these are rookie questions, I will admit I am a rookie! any help or pointers appreciated.
cheers
r
rabc said:
Hi All
Firstly, a huge thankyou to @leapinlar for the "Dummies Guide for Installing CM 10.1/10.2" thread. It literally resurrected my sluggish, unusable NookHD sitting in the bottom of my drawer, to something i'm enjoying using via using CMD 10.1.3 Hummingbird!
I do have a few issues tho which I've searched high & low for but cannot seem to find answers, so figured I'd throw it out here:
(1) "can't play video": this is a message I keep getting when attempting to play any videos. they worked on the nook prior to the CM install, i'm using MX player as read that's the best for all codecs. the videos are all residing in the device's memory not the external microSD. should all media be stored (& played from) a microSD card, as opposed to the device memory?
(2) music scrubs speedily thru tracks: so basically can't listen to any mp3s on device. songs just skip thru themselves (like super fast scrubbing similar to sound of changing radio stations) then skips to next track. these mp3s also all reside on device's memory not the external microSD. again, should i play all media from the microSD?
(3) no notifications: i don't seem to be getting any notifications. gmail, facebook, twitter, instagram etc... nothing. when new emails come in, no sound, nor unread number updated on app icon (yup, gmail's configured correctly via managed labels etc). facebook & twitters app icons also don't update with a number representing a new notifications
(4) microSD not recognized: im testing with a small 2GB SanDisk microSD and although it is mounted, I don't see any option to "format SD". I also tried to export a photo & a zip from my Dropbox to the SD and although it appears to save it there, it doesn't -- saves it to internal. Am I missing something?
sorry if these are rookie questions, I will admit I am a rookie! any help or pointers appreciated.
cheers
r
Click to expand...
Click to collapse
ok, so made progress after
audio & video both play well when:
(a) reside on the microSD card, not internal memory.
&
(b) are transferred on there externally via a card reader prior to inserting card into nook.
(transferring the *same* music/videos to the microSD whilst it resides in the nook (and connecting nook via USB) resulted it some files playing whilst others didn't... very temperamental)
as for notifications, they seem to have fixed itself.