[Q] How to get music app to recognize external SD? - AT&T Samsung Galaxy S II SGH-I777

Ok I have a bunch of music on my external SD card. Searching through the forums, I came across the Directory Bind app which seems to be extremely useful. My problem is that I am not quite sure where to point source and target so that Google's Music App recognizes the mp3s on my external drive.
I have the Samsung Galaxy S2 Skyrocket, using Jelly Bean (SlimBean Rom)
My sd card directory is at: /sdcard, or /storage/sdcard.
My external music is at: /storage/sdcard1/music
The potential source (or target?) directories I see are:
/data/data/com.google.android.music
/data/data/com.android.music
Tried both to no luck. Any tips?

Shouldn't Media Scanner be picking up those files on boot? I don't think you should have to manually point the Google Music app to the directory. Is there a ".nomedia" file in the directory where your music is located?

I don't see that file. If should media scanner pick it up even if it's the external card?

It does on mine.

Hmm. I tried a couple things:
- Reformatted SD card (slow format to FAT32)
- Place just one album on the clean SD card
This seemed to work ok.
But when I dumped 3 GB of music on the 32GB-size SD card, it seems that BetterBatteryStats indicates that since boot, MediaScannerService has been running non-stop.
How long should it really take to scan 3GB of media on a 32GB SD card to get it in the Media Library?
Note: The SD card also has a clockworkmod directory. Not sure if that was causing a slow down, but I added a .nomedia file to the clockworkmod directory in hopes that it will speed it up.
Any ideas?

Why is this here, he has a skyrocket.
Sent from my Zanpakuto using Getsuga Tensho!

Nick281051 said:
Why is this here, he has a skyrocket.
Sent from my Zanpakuto using Getsuga Tensho!
Click to expand...
Click to collapse
Just helping people out

Mods feel free to relocate this thread to the appropriate forum. My mistake.
So I tried a few more things.
I added .nomedia to the clockworkmod (multiple subdirectories) as well as other non-music directories and added just three albums (40 songs) to the music directory.
It took about 3 minutes for Media Scanner to finish adding the albums based on BetterBatteryStats, ~1 album a minute. After that, I saw them in the Music app. I'm now going to load ~30-40 albums and hope for the best.

Update:
Success! It only took 3 minutes to scan after loading 30-40 albums. So I'll chalk this thread as solved with the following solutions:
1) Reformat to make sure SD card is clean and ready
2) Put .nomedia files in anything but music. I have a feeling the 6000+ clockworkmod blob files slowed the scan to a halt earlier. .nomedia fixed it.
Thanks all.

plarser48 said:
Mods feel free to relocate this thread to the appropriate forum. My mistake.
So I tried a few more things.
I added .nomedia to the clockworkmod (multiple subdirectories) as well as other non-music directories and added just three albums (40 songs) to the music directory.
It took about 3 minutes for Media Scanner to finish adding the albums based on BetterBatteryStats, ~1 album a minute. After that, I saw them in the Music app. I'm now going to load ~30-40 albums and hope for the best.
Click to expand...
Click to collapse
If I'm not mistaken, media scanner scans all files on your disks regardless of what they contain. The purpose of the .nomedia files is to "hide" any media files present from the media scanner so they don't show up in the gallery, music player, etc. So your 3 minute runtime is for all the files on your system, not just the 3 albums you added.
Sent from my SGH-I777 using xda app-developers app
---------- Post added at 12:35 AM ---------- Previous post was at 12:29 AM ----------
plarser48 said:
Update:
Success! It only took 3 minutes to scan after loading 30-40 albums. So I'll chalk this thread as solved with the following solutions:
1) Reformat to make sure SD card is clean and ready
2) Put .nomedia files in anything but music. I have a feeling the 6000+ clockworkmod blob files slowed the scan to a halt earlier. .nomedia fixed it.
Thanks all.
Click to expand...
Click to collapse
If you have that many blob files in your clockworkmod directory you might want to try the "delete unused backup data" option in CWM under "backup and restore". I managed tho accumulate lots of empty files there by deleting old backups via my file explorer instead of through CWM. It was causing some pretty long (20 minute plus) scan times for my system. Now under 2 to 3 with 12 gigs of music.
Sent from my SGH-I777 using xda app-developers app

Related

[Q] forcing media rescan

I just installed Wolfs V7b4 but now my gallery is empty, no music in stock player, ringtones gone. I have tried clearing data in Media Storage, fixing permissions, installing SDrescan which just said "done" after starting :s
Wolf mentioned app StudioKUMA.nomedia which can exclude folders from scanning for faster boot so i installed it to check it anything is excluded but none of the folders are.
Has someone had that problem or does someone know how i can manually scan for media?
I had this too, but i fixed it by formatting my SD card and but the files back on it. So just copy everything from your SD card, then format SD card and than put everything back. I hope this helped for you
Sent from my X10i using XDA App
Search on the market for an app that may rescan your media...try the rescan media app
I formated my sd twice now, nothing changed. Restored backup and installed every app I could find for media scanning yet the only thing that has changed is that I have my pics from facebook althou I didnt have them before. Poweramp finds my mp3s and plays them with no problem so I dont think its sd cards fault for this
Sent from my X10i using XDA App
I found a file .nomedia in root of sd card with .nomedia extension and 0kb in size. I've deleted it and everything went back to normal. Weird i haven't noticed it sooner :S
Anyway thx for your help guys
seriouscorps said:
I found a file .nomedia in root of sd card with .nomedia extension and 0kb in size. I've deleted it and everything went back to normal. Weird i haven't noticed it sooner :S
Anyway thx for your help guys
Click to expand...
Click to collapse
Thats from the stuido .nomedia app which places a very small file in any directory you want on your sd card which stops the media scanner scanning it, very useful if you have lots of folders with no media in them.....
But a bit of a schoolboy error there!!
Hmm but i used .nomedia app after all that happened and i haven't excluded any folder. Most of my sd is full of music and few pics so i want everything to be available.
seriouscorps said:
Hmm but i used .nomedia app after all that happened and i haven't excluded any folder. Most of my sd is full of music and few pics so i want everything to be available.
Click to expand...
Click to collapse
If you want everything available dont use .nomedia....
delete all .nomedia files....
I find it easier to have all music in one folder with subdirectories and the same for pics and videos...
I havent used it in first place, I have no idea how it ended up on my phone.
Got only one 13gb folder with music and 150mb of pics in camera folder.
Sent from my X10i using XDA App

Can't read SD Card?

So I have the 16 GB BBY WiFi-Only Flyer. The ONLY ROM that allows me to read sd card music and photos is Mwakious. Any other ROM, no apps except file managers can read the sd. Any ideas? I have formatted the sd, rebooted, cleared media storage data, cleared caches, etc. I am at a loss. Help, please!
US builds of honeycomb weren't build to read external storage for media (photos, music)
this is rectified in ICS. unfortunately for us we'll have to wait...
Well,they won't read the internal sd either.
Sent from my HTC Flyer P510e using xda premium
rubensun said:
US builds of honeycomb weren't build to read external storage for media (photos, music)
this is rectified in ICS. unfortunately for us we'll have to wait...
Click to expand...
Click to collapse
I’m using a Best Buy flyer with a US build of HoneyComb (with all my Music, Movies and Pictures on the external card.) and it has no problem reading my external sdcard.
AgalychnisCallidryas said:
Well,they won't read the internal sd either.
Click to expand...
Click to collapse
Which apps can’t read your cards?
Kudzus said:
I’m using a Best Buy flyer with a US build of HoneyComb (with all my Music, Movies and Pictures on the external card.) and it has no problem reading my external sdcard.
Which apps can’t read your cards?
Click to expand...
Click to collapse
Seriuly, that's aperfectly bizarre claim. My Honeycomb Flyer has no trouble reading either of the internal memory partitions or my external SD card. In fact, the external card is where I keep my movies.
Now true, it does take the machine a bit to discover the card on first boot, but it will see it eventually.
dsf3g said:
Now true, it does take the machine a bit to discover the card on first boot, but it will see it eventually.
Click to expand...
Click to collapse
I created a folder called Media on my external sd card with subfolders for movies, books, music and pictures and have no problems with the system reading all my files.
I then moved all the books (the free ones that come with honeycomb) to my external Media/Books and rebooted.
At boot I get a notification that books were imported and they now appear in the My Shelf widget.
Now back to the OP problem I would suggest a full wipe and clean install for any Rom.
Of course this means you’ll have to reinstall all your apps and rebuild your home screens.
I would not restore any system data from a backup.
This although not a universal issue, is not an uncommon problem. I have had this happen to me while moving from rom to rom after doing a full wipe. If you search it out there are a couple of threads to this effect. I have always managed to get my media to be visable after some effort. I have wiped caches, cleared app data, created a in.nomedia folder in the music directory, unmounted and mounted sd cards, moved the files from internal to sd, used power amp free trail and played music from there, etc. Eventually something pops.
Now mwakious will see I have 7 songs and my photos. Not all my music or photos. Its not that it hasn't loaded them yet
Sent from my ADR6350 using xda premium
it happens when you do a complete wipe. I have a nandroid backup of when I first flashed globatrons s off method. If I restore that then flash any rom with out a wipe my music files are all visable. If I wipe then flash I have to play games with my media till they are visable but I am always able to get them visable after enough tinkering.
Well, I went to Lee Droid since it's my fav, but still nothing with my sd. I hope I can get it to work. If anyone has any suggestions, feel free to post them.
I had the same problem last night with DeSensed-View Version 1.5. (My girlfriend also had similar problems with the stock Honeycomb ROM - part of the reason she wanted me to revert her back to GB.)
I have all of my images stored in internal memory in a folder called "Pictures," and all of my videos in a folder called (gasp) "Videos." When I go into the gallery, it only shows content from the DCIM folder and Picasa/Google+. So I went into ES File Explorer and clicked on a picture... it wouldn't open. Long-press, "Open As," "Image," nothing... didn't open at all. When I click a video, it gives me the option to open with the Gallery app, and that works fine, but the videos never show up in folders in the Gallery app. So basically, I can never view any of the images in a folder other than DCIM, and I have to go through a file explorer to get to my videos. Needless to say, I went back to Gingerbread before the night was through.
Rather frustrating problem...
Just so you guys know, my media still hasn't shown up.
Have you tried moving your media files to your dcm folder?
Sent from my HTC Flyer P510e using xda premium
No, but I will
Sent from my ADR6350 using xda premium

[Q] SD Card and Poweramp help

I have found a folder called "ext_sd" and It has everything i have on External sd.
So poweramp is getting these 2 folders and putting multiple files in my library, And i can't uncheck that from the files in the settings because it always rechecks its self.
And if i delete one of the duplicates, it deletes both of them.
Please help, it's really bothering me!
So is there anyway to delete the "exr_sd" file on the internal SD, or just stop it from showing everything on my external sd card?
Db0y505 said:
I have found a folder called "ext_sd" and It has everything i have on External sd.
So poweramp is getting these 2 folders and putting multiple files in my library, And i can't uncheck that from the files in the settings because it always rechecks its self.
And if i delete one of the duplicates, it deletes both of them.
Please help, it's really bothering me!
So is there anyway to delete the "exr_sd" file on the internal SD, or just stop it from showing everything on my external sd card?
Click to expand...
Click to collapse
Oops, somehow I thanked your post. Anyways, I think I had the same problem before. I want to say I just unchecked the primary sdcard folder, and it worked fine. I have to say though, Poweramp drives me nuts. I've had so many crashes and issues with every version I tried that I don't even use it anymore. One bug is that if I skip too many tracks ahead too quickly, then I have to force close even to get a song to play at all.
Also, when the EQ is active, sound quality takes a pretty big hit. I switched to Mortplayer with barely any regrets. Sometimes I use Poweramp, but until they fix it, Mortplayer is my go-to player.
I had this issue awhile ago also. To fix this you need to go into settings and locate the option to specify which folder the music is in.
The key is to uncheck ALL the boxes and then only selext the one folder on your sdcard with music. For example, uncheck all boxes and only check the box for sdcard/ext_sd/music.
For some reason Poweramp always checks and applies two folders for music on the sdcard because of the symlink of the sdcard to ext_sd.
Sent from my ADR6425LVW
Thanks guys, I unchecked everything except for the "ext_sd" folder and that seems to have fixed it.

Google music on EXTERNAL sd card

I have done some searching around for storing my Google play music on my external sd card instead of the internal memory. Basically from what I have found is your changing the directory path to the external memory. I am somewhat of a noob to this. I tried using this method here
http://forum.xda-developers.com/showthread.php?t=2003930
I could not find the cache file with Rom tool box or esfile I also on a side note have had issues with finding zip files at times when I know I put them on the external memory.
So my question is, has anyone tried this and with success?
This method seemed to be the most simple way of doing it.
Also I am on flappjaxxx aosp jb Rom so is the directory different?
In the screen shot for Rom tool box you can see that it is empty and in esfile it is not there.
Am I looking in the wrong spot? Any help our someone's expertise would be amazing!
swyped on my huge phone
You are over thinking this...
All you need to do is put the music on the sdcard.. clear data of Google music, reboot and the media scanner will read all storage and tell apps where things are.
As you can see in the pic of Google music, I have a sound file that isn't in my music folder. The media scanner still displays it on the player even though I didn't point it there.
I am not sure how to move it to the external memory if I can't find it. I have tried doing that in the past but Google music wanted to download the music again. I guess I could always download the music to my pc and transfer over. I guess I am not sure how to put new purchased music on the external?
swyped on my huge phone
I believe the OP is asking about the technique that forces your cloud-based music to be stored on an external SD when the user "pins" the song for offline access.
You seem the referring to music stored on the SD by other means.
Sent from my SGH-I717 using xda app-developers app
len_smith said:
I believe the OP is asking about the technique that forces your cloud-based music to be stored on an external SD when the user "pins" the song for offline access.
You seem the referring to music stored on the SD by other means.
Sent from my SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
You are correct in that I want my music stored our pinned on the external memory. It would be great if I could do that between flashing different roms. I am in the process of downloading all the music from play and then stick it in a file on the sd and hopefully Google music will find it
swyped on my huge phone
i have had alot of issues with binding to external SD to where i had to wipe my SD card, what happens is when you save ur files to the sd card it works, but when u reboot, it appears google music starts 1st before your bind does so it thinks ur files are missing and starts dowloading them to internal and it will corrupt ur ext SD card and u have to wipe it, that is what i have been having issues with, but u may not, best of luck to u.
That is good to know. I ended up downloading my entire library and copying it to the sd card. Google music saw the music as stated earlier, however I did not log into my account because it was wanting to double everything. So it kind of fixes my problem, but I am not sure what to do when I buy new music as I did not see a option to just download a album from music manger.
swyped on my huge phone
IMHO, the fact that one can't direct offline music (or the cache for that matter) is a huge design oversight by Google.
Sent from my SGH-I717 using xda app-developers app
len_smith said:
IMHO, the fact that one can't direct offline music (or the cache for that matter) is a huge design oversight by Google.
Sent from my SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
totally agree, i don't understand it, u would be more likely to use it, but alot of online music apps are like that
cached music files for google music are in /sdcard/android/data/com.google.android.music/files/music move from here to external sd

[Q] Galaxy S3 w/ Kit Kat - Unable to Play MP3's

Hi guys,
I was previously using a Galaxy Nexus but exchanged it for an S3. The main deciding factor was because the S3 has support for SD cards. I have a lot of music, and I wanted to benefit from more storage than the Galaxy Nexus had built in.
I immediately had trouble copying data to my SD card, but after some google searching I figured out how to get Bit Torrent Sync to sync music to my phone from my computer. It was just a matter of naming the folders a certain way. I also synced my picture collection to my SD card as well. That worked fine too.
However, my favorite music player (Player Pro) and my favorite picture viewer (Quick Pic) cannot see media on my SD card. Player Pro cannot see any MP3's and Quick Pic cannot see any pictures. I've been Googling for a couple of days, and I'm getting more frustrated. I find countless topics about how to write data to an SD card, but I can't find any good topics on how to READ data stored on an SD card. Both apps can't see a thing. I even tried Google Play Music (which I loathe and don't like using) and it can't see any of my music files on my SD card either.
It's almost as if the SD card is locked from reading. I read a lot of forum posts all over the Internet talking about being unable to write, but nothing about being unable to read.
Is there some magic to get these apps to see media on the SD card?
jlacroix82 said:
Hi guys,
I was previously using a Galaxy Nexus but exchanged it for an S3. The main deciding factor was because the S3 has support for SD cards. I have a lot of music, and I wanted to benefit from more storage than the Galaxy Nexus had built in.
I immediately had trouble copying data to my SD card, but after some google searching I figured out how to get Bit Torrent Sync to sync music to my phone from my computer. It was just a matter of naming the folders a certain way. I also synced my picture collection to my SD card as well. That worked fine too.
However, my favorite music player (Player Pro) and my favorite picture viewer (Quick Pic) cannot see media on my SD card. Player Pro cannot see any MP3's and Quick Pic cannot see any pictures. I've been Googling for a couple of days, and I'm getting more frustrated. I find countless topics about how to write data to an SD card, but I can't find any good topics on how to READ data stored on an SD card. Both apps can't see a thing. I even tried Google Play Music (which I loathe and don't like using) and it can't see any of my music files on my SD card either.
It's almost as if the SD card is locked from reading. I read a lot of forum posts all over the Internet talking about being unable to write, but nothing about being unable to read.
Is there some magic to get these apps to see media on the SD card?
Click to expand...
Click to collapse
Download any file manager from Playstore. I like "Es File Explorer". It's free and very good. And see manually if the MP3's are in the directory where you want them to be. :angel:
GeekyDroid said:
Download any file manager from Playstore. I like "Es File Explorer". It's free and very good. And see manually if the MP3's are in the directory where you want them to be. :angel:
Click to expand...
Click to collapse
Yes, I've already confirmed that the files are definitely there.
jlacroix82 said:
Yes, I've already confirmed that the files are definitely there.
Click to expand...
Click to collapse
Are they in MP3 format?
Well, I don't even understand. Try to tap on them and start through ES File Explorer manually. They should start playing.
What kind of SD card? What format is it in? If you go into Settings / Storage - does it display your SD card there? If you plug the phone back to the PC, can you play MP3s and see your pictures through the computers media players?
Thanks for your reply. Yes, MP3 format and yes, they do start playing if I tap individual files. It's just that apps can't find media on the sd card. I've read that kit kat changed the way apps access sd cards, so I'm wondering if that's why I'm having problems?
jlacroix82 said:
Thanks for your reply. Yes, MP3 format and yes, they do start playing if I tap individual files. It's just that apps can't find media on the sd card. I've read that kit kat changed the way apps access sd cards, so I'm wondering if that's why I'm having problems?
Click to expand...
Click to collapse
If you are rooted, then that is an easy fix.
The other way to test this is to use the built in Music player from Samsung. If it reads all the MP3s, then it's probably the SD card issue.
es0tericcha0s said:
If you are rooted, then that is an easy fix.
The other way to test this is to use the built in Music player from Samsung. If it reads all the MP3s, then it's probably the SD card issue.
Click to expand...
Click to collapse
The stock music player doesn't see music either. I thought about rooting my phone, but it seems like all the instructions are for Windows. I don't have a Windows computer, I'm all Linux (even at work). I'd rather not install Windows just to root my phone if I don't have to.
jlacroix82 said:
The stock music player doesn't see music either. I thought about rooting my phone, but it seems like all the instructions are for Windows. I don't have a Windows computer, I'm all Linux (even at work). I'd rather not install Windows just to root my phone if I don't have to.
Click to expand...
Click to collapse
Best bet is towelroot. I had the same issue with player pro with it not playing them because even though they are in mp3 format it told me they weren't
Sent from my SCH-I535 using Xparent ICS Tapatalk 2
ShapesBlue said:
Best bet is towelroot. I had the same issue with player pro with it not playing them because even though they are in mp3 format it told me they weren't
Sent from my SCH-I535 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
Thank you so much! The issue is now solved!
Here is what the problem was. Kit Kat prevents apps from not only writing to sd cards, but reading from them as well. Each app can only read and write to their own specific folder on the sd card. In my case, I was using Bit Torrent Sync to handle syncing music from my PC to my phone (as I always have) and in order to get Bit Torrent Sync to work, I had to set it up in the following folder on the sd card:
Android/data/com.bittorrent.sync/music
The problem was, that Kit Kat prevented all my media apps from scanning that folder, since it enforces it to belong to Bit Torrent Sync, and will not allow another app to even touch it. I have no idea why ES File Explorer was able to open it and play music from within that folder. Perhaps it bypasses Kit Kat's restriction somehow.
So, I used towelroot as mentioned above and installed SuperSU, then, I downloaded and installed the sdcard fix from the play store and ran it.
After running the sd card fix, it said it enabled normal sd card usage. But it STILL didn't work. But after rebooting my phone, all my media apps (including Player Pro) immediately started seeing my media and everything seems to be back to normal!
If Google patches Android to prevent this fix from working in the future, I am officially done with this platform. There's no excuse for someone to have to go to this extreme just to get something as simple MP3's seen by a music playing app. I can understand the security improvement of this, but they shouldn't be preventing normal usage of a device.
Thanks so much, I appreciate the help! I hope my steps above helps someone else.

Categories

Resources