Media server, make it stop! - Huawei Mediapad M3 Questions & Answers

For a brief period of time, I was able to get the "Media Server" that constantly ate my battery to go away by creating a .nomdeia file in /sdcard.
Now I see "Media Server" coming back to haunt me, and someone has deleted the .nomedia file I made. If I create it again, it eventually goes away again.
Is rooting this thing and removing the damn media server the only way I'll ever be able to get it to stop eating my battery? Anyone know who deletes .nomedia all the time?

You have one or multiple corrupted media files on your sd card or maybe the entire memory is corrupted, so the media server gets stuck and never finishes indexing the memory. I have 20gb of music and art least 60gb of movies on an external 128gb sd card and I have no problems with media server.

Claghorn said:
For a brief period of time, I was able to get the "Media Server" that constantly ate my battery to go away by creating a .nomdeia file in /sdcard.
Now I see "Media Server" coming back to haunt me, and someone has deleted the .nomedia file I made. If I create it again, it eventually goes away again.
Is rooting this thing and removing the damn media server the only way I'll ever be able to get it to stop eating my battery? Anyone know who deletes .nomedia all the time?
Click to expand...
Click to collapse
I have the same problem as u do - for 5 months i had no issues whatsoever with that but suddenly the media server started to consume my battery quite a bit. It happens for last 2 months and is really annoying. No clue about the fix though!

MarkMRL said:
You have one or multiple corrupted media files on your sd card or maybe the entire memory is corrupted, so the media server gets stuck and never finishes indexing the memory. I have 20gb of music and art least 60gb of movies on an external 128gb sd card and I have no problems with media server.
Click to expand...
Click to collapse
I've read that theory before, but it doesn't explain why something keeps deleting the .nomedia file I create, plus I have essentially zero media files on my tablet, just the beeps and stuff that come with it for making standard noises (and the promo video that came with it as well).

Related

MSMETADATA/WMP not seeing storage card

I was hoping this would go away in WM6 but it's still there.
It seems kinda ramdom, but I suspect it is related to removing/reinserting the microSD card, or updating it via drag& drop (rather than Sync with Media Player).
What happens is Windows Media Player stops seeing the Storage Card.
I can still play files by "running" them from File Explorer. If I choose Update Library in WMP, it scans the device and tries to add them, but times out.
The only way to get things working again, is to delete the MSMETADATA directory from the storage card and then tell WMP to rescan again.
I think this is a fairly common problem, but does anyone know exactly what causes it? Or a better fix than having to delete/recreate the metadata each time?
I'm suspecting it is because I am not using WMP on the PC to sync music. Syncing with mobile devices doesn't seem to be its strength though - I have my device in there twice and can't remove either instance. Also ActiveSync always says "Setup must be complete" for the WMP item, even though I have set it up several times.

Slow Music Player

I love my HD2 but the HTC music player is really slow when having lots of music (a 16 Gb card with maybe 1500 songs or so). It takes maybe 15-30 seconds before it is ready to use. Is this normal and is there any way to improve the speed?
I have the same problem very annoying. And slow to scroll through music in song view
Even worse is that it seems to do some rescan of all the music everytime you wake the phone, if the music tab is active, so you can't do anything until its finished. Very annoying.
Same for me with my 16Gb card. There should be an option to update manually instead of always automatically. Grr! I will still continue to use it though because the whole library and album selection is the best I've ever used on a WM Phone. Very comparable to the iPhone if not better IMO
My music player stopt after 20/30 sec. Anyone have noticed this problem?
It's driving my nuts
Do you keep all of your songs in the same folder or separate ones? I have about 1000 songs and no more than 30/folder and it takes me about 2seconds to load up the music player.
Toss3 said:
Do you keep all of your songs in the same folder or separate ones? I have about 1000 songs and no more than 30/folder and it takes me about 2seconds to load up the music player.
Click to expand...
Click to collapse
so you are telling that we need to put all music in one folder and that will speed up Mplayer??? i've got same problem with mine as well.
i got all albums in seperate folders (50+) and the music is shown immediately. No lag when scrolling through song-view as well. Got a german one with german rom.
Maybe very slow sd-card? tnyynt-sd-tuneup installed?
And what about the cover art if you keep the music in just a few folders? I did a try to speed things up by removing all *.jpg files and instead only use the embedded cover arts (My thought was that few files must mean a faster scan). That mostly resulted in me loosing coverarts on a lot of albums (Even due they have embedded pictures) so I guess there are some limitations in the use of embedded pictures?
thats strange i only got embedded covers and they work. Which programm did you use? i used mp3tag...
elburna said:
i got all albums in seperate folders (50+) and the music is shown immediately. No lag when scrolling through song-view as well. Got a german one with german rom.
Maybe very slow sd-card? tnyynt-sd-tuneup installed?
Click to expand...
Click to collapse
As long as you don't keep all of your music in the same folder it's going to load up quickly.
This is a repost from me in another thread about the same problem:
---
I have experienced exactly the same problem and found a way to solve it. I had over 500 MP3 songs in one folder on a microSD card. Playing them was terrible, the same problems you mention: stutter, freezing, buffering and the entire phone seemed to be unresponsive at times.
Then I played a very large MP3 file (about 1 hour in length) and I had no troubles at all. That surprised me, because I expected (because of the constant buffering) this would not play at all. What suddenly hit me was that this large file was the only MP3 file in a separate folder.
So I moved a couple songs (which stuttered very much) to another folder and they played without any problem.
The solution I used was this: I deleted the single folder with to over 500 MP3's and added the songs through the Media Player of my PC. This way, the folder structure in the music folder is: Artist/Album/Songs. So every single folder with songs contains only a few MP3 files.
After that I let the Media Player rescan the microSD card. All the songs were detected and they all play without any worry.
Best regards,
Willem (Netherlands)
Well mine remains slow My structure is /Music/Artists/Album and around 2000 songs.
This structure is automatic when you sync with WMPlayer.
I found if you ignore this structure you get "Audiomanager.exe has crashed" after 5 mins of playing (see another of my posts).
Maybe it's something to do with the SD Card?
Do micro SD cards have various classes like normal SD cards?
Mine is a Sandisk 16GB, but that's all it says.
jonboyuk said:
Well mine remains slow My structure is /Music/Artists/Album and around 2000 songs.
This structure is automatic when you sync with WMPlayer.
I found if you ignore this structure you get "Audiomanager.exe has crashed" after 5 mins of playing (see another of my posts).
Maybe it's something to do with the SD Card?
Do micro SD cards have various classes like normal SD cards?
Mine is a Sandisk 16GB, but that's all it says.
Click to expand...
Click to collapse
Yes they have different classes, but as many have already pointed out the lag is mostly due to an improper folder structure. So just move them by hand and dont put all of your songs in the same folder.
jonboyuk said:
Maybe it's something to do with the SD Card?
Do micro SD cards have various classes like normal SD cards?
Mine is a Sandisk 16GB, but that's all it says.
Click to expand...
Click to collapse
Mine is also a Sandisk 16GB. I can't imagine you would need a high class microSD card, since all it needs to do is relatively easy reading straight forward files. It would be different if you needed to save enormous amounts of data.
And since I don't have folders anymore with hundreds of MP3's in them, my problem is solved.
EDIT: I used the same microSD card with the same songs in a HD (Blackstone) without problems...
Willem
Toss3 said:
Yes they have different classes, but as many have already pointed out the lag is mostly due to an improper folder structure. So just move them by hand and dont put all of your songs in the same folder.
Click to expand...
Click to collapse
Thought so! As I said my file structure is properly created by Windows Media Player 12, /music/artist/album being the structure and it still lags like hell!
Willem59 said:
And since I don't have folders anymore with hundreds of MP3's in them, my problem is solved.
Click to expand...
Click to collapse
Willem, so you are doing the opposite of what Toss2 said above and amalgamated all your songs into one folder?
Who's right? lol!!
jonboyuk said:
Willem, so you are doing the opposite of what Toss2 said above and amalgamated all your songs into one folder?
Who's right? lol!!
Click to expand...
Click to collapse
Why don't you try and see for yourself. I had over 1000 songs in one folder to begin with and noticed that it took almost 30 seconds for the music player to even start. I then thought I'd try moving them around a bit and noticed that the load times were cut to two seconds and that the lag was gone once I had moved them to folders with no more than 50 songs in each. You also notice the speed increase in adding music files to windows media player's playlist.
jonboyuk said:
Willem, so you are doing the opposite of what Toss2 said above and amalgamated all your songs into one folder?
Click to expand...
Click to collapse
Nope, the lag, stutter and buffering only happens when I do have hundreds of files in 1 folder.
Since I have put the songs on the SDcard through Windows (7) Media Player (12) everything is fine.
Willem
Their is two part to the solution:
1) Don't put all the files in the same folder (if you sync using WMP, it may do so)
2) Format your SD card.... but using the "Format SD Card" utility on the phone (Start menu => Tools => Format SD Card in WWE ROM). This very help me (and my phone).. And now, it's only a little long after a soft reset, when going in the music tab for the first time

Still struggling with Music Tab

I'm interested to know how others are getting on with the music tab in HTC sense. It took me a long time to get round to buying a 16GB card, but now I have I'm struggling to get the Music tab to function.
With a small collection of music it works just fine. However as I increase the collection at some point it breaks, so that it will only play a few seconds of a track before stopping, usually accompanied by a spinning circle in the top left of the screen, when that stops spinning the music stops. Something to do with indexing I'm assuming.
My music is organised in a fairly standard \Storage Card\Music\<Artist>\<Album>\ style format so there are no individually huge folders My favoured bitrate has been 192 so the files shouldn't be too big. I've tried syncing with Windows Media Player and with Mediamonkey. I've had mediamonkey convert all files as it syncs to WMA format or to MP3 at constant bitrate. All with the same results.
Who has the music tab functioning well with several GB's worth of music on their card? What settings did you use?
Of course I can just have WMP as a quick link on my first line whic happily plays everything and retains bluetooth AVRCP fuctionality. However the Music Tab interface is far nicer when it works.
<no longer true>My music tab isn't funtioning AT ALL, let alone well. It lists all my music (only 4 albums for experimenting, all tagged) alphabetically, and only draws the top half of the embedded albumart.
Doesn't even attempt to play, just sits there. Click next track, same - just draws half teh album art then sits there. Phone isn't hung or anything, just doesn't play.
Shame really, but i've not had it a week yet, so I'm gonna ignore it for now, and i'll look into it deeper once I have stopped playing with all the other bits.</no longer true>
See post 2 below
Hi,
Well I have to admit that my media player seems to be working well *touch wood*. I've got a few gb's of music on the 16gb card.
As soon as I got the card I formatted it on the HD2 before I put anything on it. Then I just synced my whole music collection from my laptop to the phone via ActiveSync, navigated to WMP on the HD2 and updated the library and all seems to play well (after the a little white circle spinning while it indexes the library).
Try backing up the card. Formatting it on the phone then doing it my way and see how if it helps.
**UPDATE**
OK i take back what i said in my previous post. I guess it was still reading the tags or something, because after having left it to sit for a while, it now works fine, including the albumart etc.
I didn't use sync, i rarely do for music players, so perhaps it takes longer for the player to find and scan everything using drag n drop rather than sync.
samsamuel said:
**UPDATE**
OK i take back what i said in my previous post. I guess it was still reading the tags or something, because after having left it to sit for a while, it now works fine, including the albumart etc.
I didn't use sync, i rarely do for music players, so perhaps it takes longer for the player to find and scan everything using drag n drop rather than sync.
Click to expand...
Click to collapse
Yes,
I think using ActiveSync organises the files into a more easily accessible format/location, which is why I suggested it. Good to know that everything is working ok for you now though
OK, so I backed up everything on the card. Formatted the card using the phones built in application. Copied everything back except the music files.
Used Mediamonkey and set up an auto-conversion rule to convert everything it syncs to MP3 format at 192 bitrate whether it needs converting or not.
Updated the library in Media player on the HD2.
reset the HD2 and let the music tab re-index everything.
Everything is now working perfectly. Thanks for the opinions. Whether it was the phone format or just that I hadn't actually used those exact rules for syncing I can't say as mediamonkey was origionally setup to only convert files if it had to. I had issues with Windows Media Player missing out files.
Gajet said:
Everything is now working perfectly.
Click to expand...
Click to collapse
Everything still perfect? I am almost able to sync without incident, but the "audio manager" crashes at the end of every sync (and, when prompted by the phone, I keep reporting the crash to Microsoft even though I don't expect them to get back to me anytime soon).
It also seems like I have to do a soft reset after each sync to shake out all of the bugs (missing album art, unplayable song files, etc.)
FWIW, I'm only syncing about 30 songs now until I have this sorted out, so having GBs worth of files isn't the problem (I was NEVER able to get 8GB of music to work in Manila's music tab on my Raphael).
id say that sounds more like an active sync issue.its never been the most stable program. why not simply connect in hard drive mode (or put memory card in card reader) and just drag and drop the music to it , then let the phone find it all itself.that'd be my preferred method.
gargon01 said:
Hi,
Well I have to admit that my media player seems to be working well *touch wood*. I've got a few gb's of music on the 16gb card.
As soon as I got the card I formatted it on the HD2 before I put anything on it. Then I just synced my whole music collection from my laptop to the phone via ActiveSync, navigated to WMP on the HD2 and updated the library and all seems to play well (after the a little white circle spinning while it indexes the library).
Try backing up the card. Formatting it on the phone then doing it my way and see how if it helps.
Click to expand...
Click to collapse
How do you format the card from the Phone?
kochavy said:
How do you format the card from the Phone?
Click to expand...
Click to collapse
I can jump in and answer that one - press the Window key (third one along on the bottom) (or press the button at the top left) and go to tools and there at the bottom is a button to format the SD card.
One thing I would like to see is the ability for the player to decode .ogg files - I love gapless playback, and really miss it with mp3's. I am trying to rip some stuff now, but it is a pain having to rip multiple tracks to one mp3 file just to avoid the hop skip and jump when playing back.
All the best.
rjstep3
When I was having issues with my music tab I followed the format SD card and organised into Artist/Album/tracks but what really worked for me was converting my entire library into LAME mp3. 1500+ songs are now working perfectly. I recommend using dBpoweramp to convert if you're willing to give it a shot.
Hoodeddeathman said:
I recommend using dBpoweramp to convert if you're willing to give it a shot.
Click to expand...
Click to collapse
dBpoweramp is certainly very good - but don't forget the free options as well, including foobar, Exact Audio Copy and Freerip3 - just Google for them.
rjstep3
i am also having a problem with the music.tab on the htc hd2. at first i was really plsased.with this phone but no w i am havekng countless problems with it...such as cudnt play videos with utube app installed...now this music nonsense.....i have spent toooo much mone on this phone t be getin these poblems and alsopurchased a 16gb card....i live tge hd2 .if only there was less problems
nyway has anyone found a working solution
I thought all the music needed to be in a root folder on the storage card, no sub-folders within to work well?
I had same problem. HTC music player stopped after about 4 secs of playing with every song. Put it all into a root folder and worked fine since.
Phaedrus Nine said:
I thought all the music needed to be in a root folder on the storage card, no sub-folders within to work well?
I had same problem. HTC music player stopped after about 4 secs of playing with every song. Put it all into a root folder and worked fine since.
Click to expand...
Click to collapse
I don't know why that would be, but if it works then it works!
I have a "MUSIC" folder on my SD card, and in that I have artist sub-folders and then within them I have album sub-folders. It all works fine for me. This is literally the same folder that I've had for the past 3 WM phones, and I just copied it there manually, without using any type of synch.
Phaedrus Nine said:
I thought all the music needed to be in a root folder on the storage card, no sub-folders within to work well?
I had same problem. HTC music player stopped after about 4 secs of playing with every song. Put it all into a root folder and worked fine since.
Click to expand...
Click to collapse
Could be because of the length of the path/filename when sub folders are used?
EG
theartistfoldernamedartist/thenameofthealbum/theartistfoldernamedartist-thenameofthealbum-thetracknumber.mp3
Perhaps the scanner struggles to cope with long path/filenames?
Ive got this problem and i was wondering if it had anything to do with the quality of the storage card?
Edit:
REASON FOUND
"One bad apple spoils the barrel"
One badly encoded mp3 will make the entire player stop. I found this while playing mp3s on music tab whilst transfering new mp3s through drag and drop (active sync) as soon as one particular mp3 was transferred the player stop and music would stop after 2-5secs. After deleting this file and reaccessing music tab library it was back to normal.
Suggestions: leave music player on whilst drag and dropping so you can figure out which are the problem files.
Alternatively: Re-encode your mp3s, either all or the problem files only.
I have been having an intermitment problem with the music tab in that it works fine for most of the time but then suddenly when I open it I get the spinning circle at the top left and the whole thing has frozen. The only way to get it working is a soft reset.
It doesn't seem to be badly formatted mp3 as after the reset the file that was in the player will work again.
I transfer music from windows media player using the sync function.
It has never stopped working whilst playing only when I open the tab and I think a few times it has been when a track has been paused for some time.
Any ideas are welcome. . .
My music tab doesn't work properly every time after the device was connected via USB in external drive mode. The last played title keeps being displayed, the album it is in is shown in the library as well (as currently played items or however this the first list in the library is called in english) but nothing else is listed. And the little white circle keeps spinning and spinning... I let it spin for hours once but nothing happened. The SD card was formatted by the phone in the first place and I never get freezes once the player works properly.
After a soft reset everything works fine instantly but shouldn't there be a way to get it up and running without resetting everytime I use USB external drive mode???
ROM 1.66 GER, problem was present on clean ROM (before tweaks and tools), too.

Music player problems......FS

How many albums can you store in the music player??
I have tried to add around 30 or so as i have a 16gb card, the phone just freezes, then after about 5 reboots, shows around 7 albums, but some doubled even though they are on the card once, its then downloaded 20 covers for the same album, but put the covers into another albums folder that has nothing to do with it, and now i have several folders on my card i cant delete as it says "you cannot delete this folder cus its not empty????"
I delete the files in the folder, and i still cant delete.
What a buggy pile of dog turd!
How did you transfer the music? if you used activesync a lot of people have had problems, try moving it using disk drive mode instead.
I always use diskdrive mode, or remove the memcard and put it straight into a card reader, this is crap, i now have 6 albums, 3 of wich are being duped, 4 will play 2 wont, and i keep getting "Audiomanger has caused a problem and keeps crashing.
CRAP
I have more than albums without any problem. The music tab is lagging in the beginning because there's too much musics, but after about 10 sec. of lag (loading all musics), all is perfectly working.
Well mine is an asshole, completely useless as a music player, i have to add each album one at a time, some just send it insane for no reason.
I have a feeling this 16gb card isnt helping, i found all 16gb cars to be buggy, may go back to a 8gb.
Also just noticed it jumps songs from 01 to 07, even though they are numbers from 1 to 13.
One word simply SHOCKING.
Did you connect your phone in "USB" mode, when adding your musics, or in "Active Sync" mode ?
I have about 200 albums on a 16gb card and never had any major problems, even when adding lots of albums at once, either by using ActiveSync, Diskdrive mode or a memory card. Even the library interface is still very fast and responsive.
Just wondering: do you put all your mp3's in one big folder, or do you have separate folders for each album (as I do)? From your description, I'm guessing separate folders, which is good. I would also check the mp3 tags with a program like Mp3tag if I were you.
Actually... your problem sounds exactly like what happened when my previous memory card broke. I'm not sure but I think it happened when using a card reader in my pc, even though I always 'safely remove'; after that, the music player crashed and failed to build its library, and several folders caused trouble in the file explorer. I was still on my previous device then (Touch Pro) but the results would probably be the same on the HD2.
I don't think the fact that it's a 16gb card causes trouble (I've been using one for a long time without a hitch), but there's a good possibility that yours is broken.

Downloaded SDRescan.. deleted all videos and messed up gallery app :(

So like i said in the title, i used the app SDRescan to force my phone to rescan media because i found that the gallery app was not automatically refreshing when i added new media to the phone.
I ran the app and a couple minutes later it finishes. Turns out it deleted ALL the phones videos (luckily no pictures). But the problem im having now is that the gallery app is not detecting any media on my phone. There are still pictures, and i readded a lot of my videos back, but the app is showing no media on the phone
I force closed the app, cleared it's data etc. I even formated my sd and put the files back on. Still it shows i have no media.
I thought about taking a new picture with the camera to see what would happen then, and guess what, now it shows i have 1 picture in the gallery. Is there a way i can get the gallery to see the other 1000 pictures i have taken? And all my videos?
edit: i downloaded the stock android gallery app but its the same in that app too. So it's not just HTC's app. Somehow android isnt recognizing my old media.
anybody? this is really killing me.
edit: did a factory reset and the problem persists What's have i done!
hmmmm this is an interesting one. ive had this before but i couldnt remember how i fixed it ...
what ROM are you using, or are you stock ?
SDRescan did nothing to your phone. Your are having problems with the stock Android Media Scanner in your phone. SDRescan does nothing else but notifies the Media Scanner to do it's job on demand, instead of on-boot or SD card mount. That's all it does.
So in short you are having problems with Android Media Scanner, try to look around in this area. I seen few reports on internet when media scanner deleted some files.
fkofilee said:
hmmmm this is an interesting one. ive had this before but i couldnt remember how i fixed it ...
what ROM are you using, or are you stock ?
Click to expand...
Click to collapse
On stock... I really hope u remember, nothing I try is helping. Even after a factory reset which is weird
faugusztin said:
SDRescan did nothing to your phone. Your are having problems with the stock Android Media Scanner in your phone. SDRescan does nothing else but notifies the Media Scanner to do it's job on demand, instead of on-boot or SD card mount. That's all it does.
So in short you are having problems with Android Media Scanner, try to look around in this area. I seen few reports on internet when media scanner deleted some files.
Click to expand...
Click to collapse
I figured the problem lies with the media scanner so I went into Settings > Manage Applications > Media Storage > clear data... but nothing changes.
http://code.google.com/p/android/issues/detail?id=3692
Isn't this your problem ?
I did have a .nomedia folder on my phone with some videos in and those were deleted. But also the videos in my DCIM folder were deleted. However im over that, my problem is that media scanner isnt picking any media.
I thought i would try another microsd card i had in my sister's mp3 player, and believe it or not android picked up the media. So somehow i think this SDRescan app damaged my sc card..
No, it didn't. Media Scanner has separate databases for each and every SD card. So it's the database for your old SD card which doesn't work, when you put in a new card a new indexing database was created for the ID of your new SD card.
This has happened to me a few times, all i do is find the file using "ES File Explorer" then select to open it with the default video player and it gets added to my library of videos
It's easy to do for a couple of vids, but not really practical if you've got like 10+
faugusztin said:
No, it didn't. Media Scanner has separate databases for each and every SD card. So it's the database for your old SD card which doesn't work, when you put in a new card a new indexing database was created for the ID of your new SD card.
Click to expand...
Click to collapse
i see. but this index, is it not stored on the phone memory? because a factory reset still hasn't solved the problem. I also formatted the sd card, so shouldn't the phone recognize it as a new memory card then?
sromer said:
This has happened to me a few times, all i do is find the file using "ES File Explorer" then select to open it with the default video player and it gets added to my library of videos
It's easy to do for a couple of vids, but not really practical if you've got like 10+
Click to expand...
Click to collapse
I tried that wil ES File explorer, and other explorers i have and it doesnt work for me.
It should. You don't have by any chance .nomedia file in root folder of the SD card, right ?
faugusztin said:
It should. You don't have by any chance .nomedia file in root folder of the SD card, right ?
Click to expand...
Click to collapse
I do. I'll try delete it and see if that helps
Edit: nope
You deleted it and what did you do next ? Did you started SDRescan or rebooted your phone ? Until the Media Scanner kicks in, there won't be any change.
The point is :
1) if you had a folder with data and then added the .nomedia file to it, then unfortunately thanks to the inner workings of the media scanner the file gets deleted instead of only removing the reference from database
2) the card will get indexed again only at boot, SD card insertion or when you execute apps like SDRescan which start the Media scanner manually.
yes! it works now!! thanks for all your help faugusztin!!
after i deleted the the .nomedia folder i did a restart and the problem persisted, but now (like two hours later) i just thought i would go and check the gallery app again and low and behold all my media appeared. Maybe the media scanner didnt finish or something idk. But im happy now
But i was under the impression that the .nomedia trick only blocks media from within that folder? Why was it blocking all my media?
Anyway thanks for all your help mate. really appreciated.
It does index, but it takes time.
It block media from that folder - and all subfolders. It is a sign which says "nothing to see there" - that includes the subfolders of that folder too. Since you had the file in root folder of the card, it didn't indexed anything.
I was too late...glad you got it sorted supreme.
Sent from my GT-I9000 using XDA App

Categories

Resources