External USB Storage + Media Library - MTCB Software Development

I have a 256GB USB stick that has ~80GB of music on it - the stock media player has trouble reading it, but once the media library is scanned, jetAudio/Power Amp seem to work fine. The problem is after a power cycle or initial boot, the media library is lost, and it takes a while to rescan. Does anyone else have an issue with media libraries having to rescan on power/reboot? Any fixes?

Had the same issue
Added Xposed Media Scanner Optimizer Module
Can disable rescans
Now I can actually get at my HDU library

notrhj said:
Had the same issue
Added Xposed Media Scanner Optimizer Module
Can disable rescans
Now I can actually get at my HDU library
Click to expand...
Click to collapse
thanks! - i'll give that a try tomorrow

Did you solve it? How? Just disable automatic scans? I got the same issue with sd card

Psy87 said:
Did you solve it? How? Just disable automatic scans? I got the same issue with sd card
Click to expand...
Click to collapse
Disabled automatic scans so the media library is not constantly rebuilding on a restart.
I also just switched to Poweramp from jet audio
Power amp manages large sound (10k plus) libraries better

If I disable automatic scans, my media library is empty after boot. I use Sony Walkman. I know that Poweramp can use its own library, but I don't like that player... Hm big issue for me...

Related

Gonemad Music Player v1.1.9 stability?

I've installed Gonemad v1.1.9 on my Archos 70 (HDD model with a 1Tb disk upgrade). The problems I've had so far are:
- Didn't complete scanning of my music folder. I have about 90,000 tracks. The first scan completed, but only scanned around 50,000 tracks. I then deleted the library and started scanning again. It got to around 70,000 tracks then the GoneMad app crashed
- Jerky playback - when playing a playlist it pauses every few seconds. The stock Android Music app has no playback problems.
- Causing machine reboots - usually when first opening the app.
Has anyone else had these sorts of problems?
i mentioned in another one of your posts that the device was running out of memory during the scan process
your best bet to get help is to either email me ([email protected]) or post on my forums. If i didnt happen to do a google search on my app I would have not seen this thread. I respond to every email sent and look into every issue reported.
Anyway my next update has some stability fixes in it. It wont address the running out of memory (i'll see if i can do something for the update after this), but hopefully will make it a bit more stable
Thanks for the response. I tried to add this message to your post on XDA about v1.1.9 but the thread had been closed for some reason.
Does the work that you're doing on stability also address the playback issues?
by jerky do you mean it skips?
do you have the equalizer enabled?
does it skip if you select a single song from one of the library views and play it?
I mean there was a brief silence during playback every 30 seconds or so. I didn't have the equalizer enabled.
When I tried playback again this morning, both from a playlist and selecting songs directly from the library, I didn't get the problem. Maybe there was some sort of background task running yesterday which was causing the problem? Odd that it didn't affect the stock player though (which I tried at the same time). Maybe different buffering techniques during playback???
if the a70 is anything like the 5IT it has an onboard dsp chip that helps with decoding and other audio processing
the core audio engine in gmmp is all in software because they dont give access to that chip. If you disable the equalizer, gapless playback, and crossfade.. gmmp will use the default media player class that google provides in their api.. which on the a70 MIGHT take advantage of the dsp chip (there is no way to be sure). But you miss out on all the neat features of my app if you do that.
just pushed 1.1.10 to the market
i'll see if i can do something about the running out of memory issue you are getting when scanning in the next patch..
I was going to mention that you could easily get in contact with Gonemad over on the Archos forum, but I see he's alive and kicking here too. Good to see you here . Definitely great having your software.
GoneMADSoftware said:
just pushed 1.1.10 to the market
i'll see if i can do something about the running out of memory issue you are getting when scanning in the next patch..
Click to expand...
Click to collapse
Thanks for the feedback. If I can get this to scan my library and the keep the playback issues in check this looks like it could be a really good solution for me. Will put future feedback in the Archos forum as that seems to be a more popular place for this sort of query.

Passion ics Google music sd bug

I'm not sure if anyone else is having this issue, but I can’t seem to find any posts about it anywhere.
I can easily access my SD card through a file manager and play music files through that. However, whenever I try to open any of my songs (stored on my external SD) with Google music it simply cycles through each song in the list displaying the "cannot play the requested track" error over the album art in yellow.
This only occurs when the music in question is stored on the external SD card. Any music I try to play from the internal storage will play, and any music I attempt to stream will play. (Music that I have both streaming copies of and copies of on my external SD do not work).
I read somewhere that ICS handles file systems differently, but as I remember Google music worked when I first installed the rom. I have tried every combination of uninstalling and clearing the data in Google music, both with and without the SD card inserted. Any thoughts or recommendations?
(Afterthought: I also get the notification that "Music has stopped working" every time I reboot the phone)
(Afterthought II: I have been using these forums for nearly two years and have yet to be disappointed, thanks guys)
I had the same problem. Solved by uninstalling power amp - somehow it must have been conflicting. So try and uninstall any third party music players. Hopefully someone else has a better solution?
Clear your music cache/data again and change the file path. If your music is on external, it is now called emmc. I use PowerAmp and you can configure what files you want it to scan.
I don't have any other third party music players installed. And Google music does not give the option to scan certain paths :/
My external sd is 32 gigs, but that's not all of my music, so I like the option to stream.
extravillager said:
I don't have any other third party music players installed. And Google music does not give the option to scan certain paths :/
My external sd is 32 gigs, but that's not all of my music, so I like the option to stream.
Click to expand...
Click to collapse
You are right, Google music doesn't provide an option to scan certain folders but in my case, clearing cache and data worked and I know this sounds crazy but I removed my SD card and re-inserted and that seemed to work.
Also, what I also did was install a third party app that does allow you to scan a particular folder and once it worked on that app, GM seemed to also work
You have probably tried these options but perhaps this will help
Will give that a try today
easy fix
settings, apps, music storage, clear cache / data.
been covered many times. someone ought to put it in the ics passion op.

[Q] android.media:10066 eat my data!

hi.
from some months ago i feel my phone use alot of data, after i install traffic monitor i see "android.media:10066 " has alot of data usage.. i can say about 80mg in day!!
i should say android.media:10066 is :
-drm protect content
-downloads
-download manager
-media storage
what is this ? even i havnt any downloads too .. what should i do ?
Automatic update of apps maybe?
HellcatDroid said:
Automatic update of apps maybe?
Click to expand...
Click to collapse
no ... really i dont know whats happen every time i turn on my wifi!!
As for http://developer.android.com:
android.media Provides classes that manage various media interfaces in audio and video.
The Media APIs are used to play and, in some cases, record media files. This includes:
audio (e.g., play MP3s or other music files, ringtones, game sound effects,
or DTMF tones)
and video (e.g., play a video streamed over the web or from local storage).
Other special classes in the package offer the ability to:
- detect the faces of people in Bitmaps (FaceDetector),
- control audio routing (to the device or a headset
- and control alerts such as ringtones and phone vibrations (AudioManager).
Click to expand...
Click to collapse

[Q] Music player no longer lists music

Hi Guys,
since yesterday my Xperia S (FW .73) is no longer listing any music (stored at /mnt/sdcard/Music...)
I tried several things to fix this:
- reboot several times
- rename music foder
- copy music from /Album sub folder into /Music folder
- rescan via "rescan media" app
- testing with third party music player apps like standard android music player or Meridian
...but without success!
Music player still says that there is no music available on my device.
But I do have about 9 GB!
The only may important thing I did yesterday was to change the micro SIM card.
Bit this works without any trouble.
So do you guys have any idea?
Should i reinstall generic .73 FW?
If you go to Settings -> Applications -> Manage Applications -> All find the Media Storage App, clear Data, restart the phone and leave it ~5 minutes it should force it to rescan everything.
Hey sixdaysandy, thanks for you advice.
Unfortunately it has no impact!
I've done it several times and cleared almost every Music Media data I found. But after I made a reboot my device still thinks I do not have any music...
Therefore i am flashing the LT26i_6.0.A.3.73_SG_Generic.ftf FW without Wiping User Data right now!
And i really hope that this will fix the bug!
Edit:
Finally i was able to reproduce this strange behaviour.
I deleted every music and put it right back into the music folder. And there it was!
But it seems that every time i reboot - the device isn't any longer listing my music and it's gone again...
so there must be something wrong with the music library or the music player itself. Or maybe another app is going to kill the library?!

Android Media Scanner Alternatives

To start, I'm on a rooted LGG3 running AICP with Android 7.1.1.
I recently got a 64gb very high speed rated SanDisk card for pretty cheap. I filled it to about 54gb.
Now my media players are being very picky. After boot they show as empty and take a long amount of time to rescan because the Media Scanner app seems to try to update its storage every time the phone reboots. It takes about 20 minutes and its storage space crawls from 0 to 51 MB, at which point everything works properly.
Currently I'm using VLC since it keeps its own media cache and is therefore the only reliable media player, but it doesn't search for artist and album art like blackplayer does.
Is there an alternative to the media scanner app that isn't so finicky? All I could find is an XPOSED module but android 7 doesn't have XPOSED yet.
Perhaps a way to freeze the media scanner so it doesn't scan for new media ever unless you tell it to? Or even another music player that keeps its own cache?
Help appreciated, thanks a lot.
Music players with their own media scanners and db:
1. PlayerPro ($)
2. Foobar200 ($0)
3. Poweramp ($)
4. Neutron Music Player ($) Odd UI.
The above does not affect the Android media scanner, which will run on its own, but you can kill it, I suppose. I am out of my depth here.

Categories

Resources