[Q] Nexus 5 Corrupting MP3 Metadata - Nexus 5 Q&A, Help & Troubleshooting

I've had an odd bug that has been plaguing me for months since I got my Nexus 5. It's a bit hard to explain, but basically, transferring certain, specific mp3 files to my device will cause the metadata on that file to become "corrupted".
When I first noticed it, I just assumed it was a problem with the mp3 files - something about their encoding must be causing them to transfer oddly. I chalked it up to an odd bug, but all my attempts to solve it came up empty handed. However recently, I purchased a Galaxy Tab S 8.4 and, after transferring my music library, noticed that all of the files transferred successfully. This prompted me to investigate further, and has led me to a loss. Here's everything I've tried to nail down this strange bug...
1) It happens on every ROM installed on my Nexus 5. Stock, AOKP, Paranoid Android, L Developer Preview - all of them.
2) It happens on every kernel. Not sure if this would affect file transfers, but wanted to cover my basis.
3) It happens on every possible method of transferring the file, of which I've tried the following...
3a) adb push
3b) Different Computers
3c) Windows Drag and Drop
3d) AirDroid Transfer
3e) Downloading the file off my personal web server
4) It only affects .mp3 files, no other files transfer strangely, and no other corruption has occurred via USB transfers.
5) It affects the same .mp3 files every time. That is, if I have 2 files, a.mp3 and b.mp3, where a.mp3 transfers with the correct metadata and b.mp3 transfers with corrupted metadata, then every ROM, kernel, and method of transferring the file will result in a.mp3 transferring correctly and b.mp3 transferring incorrectly.
6) The corruption occurs with perhaps 10% of my mp3's. When it does occur, the symptoms vary. Album artwork is always lost and artist name, album name, and/or song title are seemingly randomly becoming corrupted. Corruptions mostly happen consistently between albums. That is, if one album with 10 songs have their artwork and artist information lost, then all songs on that album follow the same issue.
7) It only affects metadata. I can still listen to the song just fine - so it's a cosmetic error, but one that bugs the **** out of me since it messes up my organization.
To attempt to illustrate it, here's a photo of the metadata from Windows of the issue - the left being the mp3 on my desktop and the right being the same file immediately after being transferred to my Nexus 5. Notice how Album Title, Artist, and Song Title are all lost. The file then appears like this in all of my music players.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If I copy the file back from the Nexus to my desktop, the metadata is actually still intact. This probably means that the metadata isn't being "corrupted" per say, but I'm not sure I have a much better word to describe it. It simply seems to be in how the Nexus 5 is handling the metadata. But considering the issue doesn't exist on my Tab S, I'm not sure it's an Android error either. I thought it might be a unicode error, but it seems to happen for all files regardless of whether or not they are written in English or Japanese (much of my music collection is written in Japanese).
So there's a bug that's been driving me crazy since I bought my Nexus. I've tried every possible method of troubleshooting I could think of, now I'm wondering if anyone else out there has a clue.
Thanks!

It definitely looks like a unicode issue. Can you give an example of an English title that exhibits the same issue?
Maybe an issue with media scanner?

I don't think it's a unicode issue lol, I don't have such problems.

Aerowinder said:
It definitely looks like a unicode issue. Can you give an example of an English title that exhibits the same issue?
Maybe an issue with media scanner?
Click to expand...
Click to collapse
Here's it happening to a title with only ASCII characters. In this case, it's only appearing to lose its album artist. Album still displays correctly, artwork is gone like usual.
Also, to compare what I get when I transfer to my Tab S, here's the same file transferred via the same process.
Any way to troubleshoot the media scanner?
Lethargy said:
I don't think it's a unicode issue lol, I don't have such problems.
Click to expand...
Click to collapse
Can't imagine it actually is, either. If it were, then I know a lot more people would be complaining about the issue. It's not like I'm the only person with foreign songs on my phone.

PewPewK said:
Here's it happening to a title with only ASCII characters. In this case, it's only appearing to lose its album artist. Album still displays correctly, artwork is gone like usual.
Also, to compare what I get when I transfer to my Tab S, here's the same file transferred via the same process.
Any way to troubleshoot the media scanner?
Can't imagine it actually is, either. If it were, then I know a lot more people would be complaining about the issue. It's not like I'm the only person with foreign songs on my phone.
Click to expand...
Click to collapse
OK I know this isn't really a permanent fix to the bug but I would like to post this workaround. Ignore the negative reviews. They a are all posted by people with a half a brain. This app is Godsend and I used it to repair and tag my 25 GB music collection. No errors. Everything was tagged including Album Art.
It does not rely on any prior tagging to find mp3 metadata info. It uses the same music fingerprint technology that apps like Shazaam uses to find music info. It will completely remove any metadata and rebuild it. This may fix those mp3s with corrupted metadata.
https://play.google.com/store/apps/details?id=com.booleancorp

Sandman-007 said:
OK I know this isn't really a permanent fix to the bug but I would like to post this workaround. Ignore the negative reviews. They a are all posted by people with a half a brain. This app is Godsend and I used it to repair and tag my 25 GB music collection. No errors. Everything was tagged including Album Art.
It does not rely on any prior tagging to find mp3 metadata info. It uses the same music fingerprint technology that apps like Shazaam uses to find music info. It will completely remove any metadata and rebuild it. This may fix those mp3s with corrupted metadata.
https://play.google.com/store/apps/details?id=com.booleancorp
Click to expand...
Click to collapse
So continuing on with the oddities of this problem, I downloaded the app you suggested and attempted to, at first, manually edit one of the broken tabs.
But when I opened up the tags on a broken song, I was a little shocked to discover that all of the metadata was indeed correct - album artwork and all. So I tried testing what happens if I edit the metadata right there on the device and... nothing. I added the word test to the metadata for all fields - artist, album title, and song title - and then went back to my music player to see if the file had moved and it hadn't. It was still seeing the metadata as ??????. Then I decided to open the metadata inside my music app with the "edit tags" feature, and again, the metadata is correct. I'm seeing the correct artist title, song title, and song name.
So... yeah. The metadata is all there, correct, and, apparently, uneditable. It seems to be a problem with the applications reading the metadata, but it's not exclusive to Android because Windows reports the same "metadata" when viewing the properties of the mp3 on the device (unless Android reports the metadata to Windows rather than Windows reading the metadata off the file, but I don't think that's likely).
To make sure again, I tested it in different music players, and it seems as though not every music player handles it in the same way.
Shuttle+ and Google Play Music exhibit the exact same symptoms on the same songs. DoubleTwist has mostly correct data, but album artwork is incorrect in a few locations and it does NOT read the edits that I had made manually. Interestingly, PowerAmp has entirely correct data, including the manual edits.
So I believe this means it can be narrowed down to how each individual application attempts to read the metadata. Shuttle and Google Play Music read the metadata incorrectly in the same way (Shuttle likely uses whatever API exists that Google has provided for scanning libraries for metadata) but PowerAmp works, I'm figuring, because it uses a completely different method of reading metadata.
So could this be more of a strange AOSP bug?

Did you restart the media scanner after changing the Metadata?

Sandman-007 said:
Did you restart the media scanner after changing the Metadata?
Click to expand...
Click to collapse
I tried using Shuttle's "Rescan Library" if that causes the media scanner to restart. I also tried rebooting. If neither of these are restarting the media scanner, then how should I go about doing that?

PewPewK said:
I tried using Shuttle's "Rescan Library" if that causes the media scanner to restart. I also tried rebooting. If neither of these are restarting the media scanner, then how should I go about doing that?
Click to expand...
Click to collapse
Rebooting does it

Sandman-007 said:
Rebooting does it
Click to expand...
Click to collapse
Right. Rebooting had no effect then. Both Shuttle and Google Play still do not display the altered metadata.

PewPewK said:
Shuttle+ and Google Play Music exhibit the exact same symptoms on the same songs. DoubleTwist has mostly correct data, but album artwork is incorrect in a few locations and it does NOT read the edits that I had made manually. Interestingly, PowerAmp has entirely correct data, including the manual edits.
So I believe this means it can be narrowed down to how each individual application attempts to read the metadata. Shuttle and Google Play Music read the metadata incorrectly in the same way (Shuttle likely uses whatever API exists that Google has provided for scanning libraries for metadata) but PowerAmp works, I'm figuring, because it uses a completely different method of reading metadata.
So could this be more of a strange AOSP bug?
Click to expand...
Click to collapse
Thank you so much for investigating this problem. I have the same issue and it was starting to piss me off because of the time I have spent trying to gather the correct metadata for my files, only to see them wiped out once I transfer them over to my phone. I really wish the nexus 5 had a micro SD slot because I feel like that would help to solve the problem. I can transfer files between my computer and any external hard drive successfully but once I try with the Nexus 5, it goes awry.

Maybe it's related to different formats of mp3 tags, v1 and v2.

Khromatik said:
Thank you so much for investigating this problem. I have the same issue and it was starting to piss me off because of the time I have spent trying to gather the correct metadata for my files, only to see them wiped out once I transfer them over to my phone. I really wish the nexus 5 had a micro SD slot because I feel like that would help to solve the problem. I can transfer files between my computer and any external hard drive successfully but once I try with the Nexus 5, it goes awry.
Click to expand...
Click to collapse
jazzh said:
Maybe it's related to different formats of mp3 tags, v1 and v2.
Click to expand...
Click to collapse
I never was able to figure out exactly what was causing the issue, but I did find a workaround that allowed me to sync all my music properly.
Rather simply, all I did was convert the audio files that were getting their metadata stripped to the AAC format (.m4a) and synced those. I did it quickly in iTunes, but theoretically any audio converter should work.
Best of luck fixing your problem.

Related

How to deal with this Windows Mobile Ringtone Bug?

hello,
the following problem appeared on my device with different roms and windows mobile builds.
after some time i hear no ringtone for incoming mail or calls anymore. if i check settings-->phone for my ringtone, i can not play it! and error message appears and i can not close this settings anymore.
after this happened the windows media player doesn't play wma files anymore.
at this point i can do two things: hardreset the device or restore a backup.
i am using the backup solution and now it is so, that i have to backup my device every night! the problem can appear anytime and i don't know, what affects it.
now i tried an app named Tweaks2k2.
under tweaks --> phone tricks it has the option "fix ringtone issue"
its help documentation says: "when you install imusic, sompy player or other media player, they will register as wma (mp3, wav) players. then the phone ringtones (specialy in wma format) stop working. checking this checkbox fires this issue.
"ok" i thought, i checked the checkbox and softreseted the device - no change.
so i restored a backup, switched into the options of pocketplayer (which i use for music listening) and unchecked the checkbox for the wma file association.
thanks to the backup restore the bug was gone again, so i waited to see what happens: the problem also appears, when wma files are associated to the default media player.
now i have no idea anymore. what should i do now? is a hardreset always the only solution for problems like this?
who knows the background of this problem and may help me?
ps: i hope my poor english knowledge makes no understanding problems.
thx for reading.
firstly ,your english is perfect,now have you tried not installing pocketmusic to see if it is the cause of the problems? Or even updated to the latest version.
I would try hard resetting and installing the software one by one to eliminate each from the problem or to find the culprit that is causing the bug, maybe it is in the rom you have?
have you tried a different rom?
LordDeath said:
hello,
the following problem appeared on my device with different roms and windows mobile builds.
after some time i hear no ringtone for incoming mail or calls anymore. if i check settings-->phone for my ringtone, i can not play it! and error message appears and i can not close this settings anymore.
after this happened the windows media player doesn't play wma files anymore.
at this point i can do two things: hardreset the device or restore a backup.
i am using the backup solution and now it is so, that i have to backup my device every night! the problem can appear anytime and i don't know, what affects it.
now i tried an app named Tweaks2k2.
under tweaks --> phone tricks it has the option "fix ringtone issue"
its help documentation says: "when you install imusic, sompy player or other media player, they will register as wma (mp3, wav) players. then the phone ringtones (specialy in wma format) stop working. checking this checkbox fires this issue.
"ok" i thought, i checked the checkbox and softreseted the device - no change.
so i restored a backup, switched into the options of pocketplayer (which i use for music listening) and unchecked the checkbox for the wma file association.
thanks to the backup restore the bug was gone again, so i waited to see what happens: the problem also appears, when wma files are associated to the default media player.
now i have no idea anymore. what should i do now? is a hardreset always the only solution for problems like this?
who knows the background of this problem and may help me?
ps: i hope my poor english knowledge makes no understanding problems.
thx for reading.
Click to expand...
Click to collapse
have been using wm6 for greater part of a year but never encountered this problem...
some more detail would be appriciated though...
1)are you using stock or custom ringtones???
2)if you are using coustom ringtone then in what format???
and where are they located??
3)what all software have you installed??
4)do you get any errors when you try to play the ringtone?? if yes than what??
5)can you look into your rom and search for your ringtone there??
6)if you find your ringtone copy it and try playing it on the desktop.
also try clicking it and see what media player crops up to play it.
...
about pocketplayer (not pocketmusic):
the latest version doesn't work well. with v3.5 it needs several seconds with 100% cpu load to access an other .ogg title. this happens while changing the track and this happens while importing over hundred files into the playlist (every song title and duration takes several seconds to be loaded!). but v3.2 has not this problem and the new version has no really important change/new feature for me.
and if i do not listen any music on my device for a day (and so i did not start the pocketplayer) the problem can appear, too!
hardreseting is a big problem, because i do not want to installing and configure everything again and again. and this bug only appears several weeks/months after hardresetting/flashing a new rom.
so i can hardreset it, install everything for hours and then have the same ticking timebomb as usual.
the problem has also something to do with softresets:
if i softreset my device while it is running, it is very probably, that after the booting the ringtones don't work anymore.
example: some minutes ago i made a change within sktools and it wanted to softreset the device, so i press ok. after the softreset the ringtone doesn't work anymore and i get the mentioned error message within the settings:
ring tone error: this ringtone file is corrupted or unavailable. please choose a different ring tone.
to avoid this after every softreset, i close everything, put the device into the standby mode and after 30secs i reset it with the stylus.
oh, maybe it HAS someting to do with pocketplayer:
pocketplayer has a today plugin which lets me control the player. it looks like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
but while the bug is active these buttons are flat on my ppc and look like this:
as you see the bug is somehow connected to pocketplayer. but it happens while pocketplayer is not running...
@fallenczar:
i am using the standard windows mobile ringtone in the default wma format. it is no problem with the files because with this error the mediaplayer can not open ANY wma file.
main memory or storage card?
are your ringtones on your main memory or on your storage card? If they are on your storage card try moving them,just ringtones, to your main memory and see what happens?
they are in my windows folder
just after this bug appears try examining your reg to see what player is linked to the wma files.
Pocket player has an option to choose what files to be associated with try to dissociate it from wma files
fallenczar said:
just after this bug appears try examining your reg to see what player is linked to the wma files.
Click to expand...
Click to collapse
ok, i will look at that. where in the registry should i look?
fallenczar said:
Pocket player has an option to choose what files to be associated with try to dissociate it from wma files
Click to expand...
Click to collapse
i did that already and it didn't change anything.
LordDeath said:
after some time i hear no ringtone for incoming mail or calls anymore. if i check settings-->phone for my ringtone, i can not play it! and error message appears and i can not close this settings anymore.
Click to expand...
Click to collapse
This happened exactly the same to me, but I haven't installed pocketplayer or something like that. I used only WMP10 preinstalled to play music.
LordDeath said:
after this happened the windows media player doesn't play wma files anymore.
Click to expand...
Click to collapse
My WMP still plays wma files, including the ringtones (I copied them to the memory card and added them in WMP)
But those ringtones did not play when I have incoming calls, and I can neither set nor preview them.. The sound&notification setting keeps hanging if I try to modify the "incoming call alert"
I think this is because I tweaked the registry, attempting to change the ringtones folder (\windows\) into the card, although I have changed everything back to default.
So what would I do now? Please help. I don't want to hard-reset my Zinc. Thanks all
Check the path to your ring tones... I bet it's not pointed to your windows folder. HKCU\ControlPanel\SoundCategories\Ring\directory
I had to change mine to: \windows\
This thread is REALLY REALLY old. please do not bump more than 1 or 2 days.
I'll have to bump this. I'm experiencing the exact same problem, does anybody know a solution?
lol windows phone 7 is gey!

[Q] WP7 Audio player development

I am new to WP7, so I don't know much yet. I don't even have the phone yet, but from what I have seen, I don't like the default music player. So, I would like to try to make mine.
I already downloaded the WP7 SDK, with Visual Studio etc.
I found the following page with instructions for a simple music player:
http://msdn.microsoft.com/en-us/library/hh202978.aspx
However, I am stuck al ready at step 5. I am getting the following error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The override file is there, so what does VS want from me?
it's said:
I am new to WP7, so I don't know much yet. I don't even have the phone yet, but from what I have seen, I don't like the default music player. So, I would like to try to make mine.
I already downloaded the WP7 SDK, with Visual Studio etc.
I found the following page with instructions for a simple music player:
http://msdn.microsoft.com/en-us/library/hh202978.aspx
However, I am stuck al ready at step 5. I am getting the following error:
The override file is there, so what does VS want from me?
Click to expand...
Click to collapse
The current VM that WP has out right now just sucks, there might not even be anything wrong with your app, trust me I know this from experience.
The more strange thing, is that it's just the tutroial app Microsoft made... However, will try some other solutions and otherwise, just start from scretch.
Finally! Someone else who also dislikes the default audio player. Visually, Zune is absolutely beautiful, but for a music player on a Windows device, it's got many downpoints.
I had a few ideas, some farfetched, others not so much... I'm unable to post links, but I was looking at one library called "zplay" that seems to support gapless playback, and is written in C#, easy to port. That's less farfetched.
More farfetched? Porting something like Rockbox to Windows Phone, though as it is, we'd need a hell of a lot more access to the device.
Perhaps the two VS solutions I started poking around at might open on your end, if you'd like them.
Anyway, what are your problems with the default music player on WP7?
Actually, I don't really like the Zune visuallity. In my opinion, there is too much space just unused, not much information displayed(song number in album, for example) and it takes too much time to start playing the song.
I will try to first just make a similar to Zune music player, shouldn't be too difficult. Then, I will try to add many sorts of playlists(recently added, most played etc.) and an EQ. I would like to see the tutorial app just to see how it runs in the background and how it's integrated with the UVC... After that, imo, we can start looking on integrating ZPlay(Not sure if gapless playback will work on our hardware) and may be Rockbox.
The zune experience was better on the Zune HD I hope they update it to work more like that.
But good luck!
All the best with your quest! (OMG, did I rhyme? )
Would love to see how your player turns out.
it's said:
Actually, I don't really like the Zune visuallity. In my opinion, there is too much space just unused, not much information displayed(song number in album, for example) and it takes too much time to start playing the song.
I will try to first just make a similar to Zune music player, shouldn't be too difficult. Then, I will try to add many sorts of playlists(recently added, most played etc.) and an EQ. I would like to see the tutorial app just to see how it runs in the background and how it's integrated with the UVC... After that, imo, we can start looking on integrating ZPlay(Not sure if gapless playback will work on our hardware) and may be Rockbox.
Click to expand...
Click to collapse
Yeah, exactly, not enough options in my opinion! Well put!
How about using XNA for this gapless business? Search your favourite engine for Windows Phone 7 code samples and go to the Media category on the msdn page that comes up and check out "Sound Effect". Run the project and deploy it with the emulator, it seems to be able to play things instantaneously with zero delay.
If you can access the media library with this (that's the key!) you could theoretically make it start playing the next track, say, 380ms early (as I believe that to be the delay between tracks; this is based simply on recording my phone's line out into Sound Forge and measuring the average gap.) Obviously it could be different between hardware, but it's certainly a start. Maybe I'll start messing around with this when my phone's done taking a dry rice bath.
Yeah, I was also thinking about starting with playing the file before the other song is nog finished...
BTW, found this somewhere at msdn:
The application user interface is where you implement the user interface for your application. If you use the Visual Studio template to create your initial application, this will be in the MainPage.xaml and MainPage.xaml.cs files. Your main application uses Instance to set the current track in the Zune Media Queue, initiate playback, and so on.
Your AudioPlayerAgent is instantiated by the operating system to handle actions requested by the user, either through your application’s user interface or through the UVC.
Your AudioPlayerAgent runs in the background and calls into an instance of the BackgroundAudioPlayer, which then calls into the Zune Media Queue to actually play the audio.
I just found out that when you use Nokia Music, Zune player is actually also playing. So, the best solution for gapless playback might be just to use that xxx ms method... Will see with VS2010 if I can get that AudioPlayerAgent started.
Still, would like to know how to get "Background Audio Player Sample" working... Any suggestions?
Fixed the problem. First, I didn't notice that the file was named Microsoft.Silverlight.WindowsPhone.Overrides.targets, instead of Microsoft.Silverlight.WindowsPhone71.Overrides.targets. No wonder I didn't notice that at the start! Microsoft will always be the same...
What if we used Microsoft.Xna.Framework.Media.MediaLibrary with that Background Audio sample to gain access to the phone's zune library? As far as I know, using XNA is the only way to grab access to it, I was able to do a test with displaying the library under the three buttons (in the sample, that is.) and it worked, I just need to make it active.
Any thoughts? As far as gapless goes, I'd assume we can do the timer thing at 380ms before the song ends to start playing the next song. Experiment a bit, you know?
Do you have your phone yet?
Yeah, got my Lumia 800 delivered a few days ago. What I really like about the Zune, that you see the following songs which will played. Really an amazing feature.
What I didn't like:
- no EQ
- you can't go from the "now playing page" to the playlist with songs
- scrolling in that playlist is awful(I hae only 300 songs and going all the way down costs to much time)
- Why the hell do we have an heart?
- album cover when you don't have a custom one is too boring.
Nokia Music is just the same.
___
However, I found a custom made music player on Marketplace. It's called Media Player, you can check out the trial version. Just a simply made music player, but in some ways it's better then Zune.
___
What I thought of doing is just doing a Pivot alike application and then just connecting it to the MyAudioPlaybackAgent(same as used in the BackgroundAudio). At least, I finally got the tutorial project working, it was just saying that Silverlight 4 SDK was not installed, while it was... Did I al ready say I hate Microsoft?
Lets see if I can explain some of this...
it's said:
What I didn't like:
- no EQ
- you can't go from the "now playing page" to the playlist with songs
- scrolling in that playlist is awful(I hae only 300 songs and going all the way down costs to much time)
- Why the hell do we have an heart?
- album cover when you don't have a custom one is too boring.
Click to expand...
Click to collapse
- Why the hell do we have an heart?
Click to expand...
Click to collapse
From what I've heard, the hearts help out smart DJ. Also you can set it to where the software doesn't sync your broken hearts to your phone, (Something very useful during the Zune Era)
- album cover when you don't have a custom one is too boring.
Click to expand...
Click to collapse
Set zune to download missing info, and if you have a custom album why not have custom art? Maybe just add a random photo at the time you made the album
- scrolling in that playlist is awful
Click to expand...
Click to collapse
I agree, they need to place jump letters on it like everywhere else.
- no EQ
Click to expand...
Click to collapse
My Htc Hd7 has one, idk if there are any in the marketplace but see if you can load the htc onto your phone and see if it works.
Overall I agree with you and this is only the sec gen on windows phone but they will hopefully bring the full ZuneHD experiences to the Windows Phones.
Thanks,
Andrew Pearson
ps. This post makes me miss my Zunes rip 80gb, 120gb, and HD

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] Stock mp3 Player reverses song order in Playlists - Ideas?

Hey guys,
I've got an odd problem with samsung stock music player on my note 10.1.
Every playlist I add to the device is (dis)played upside down. At first i suspected isyncr, which i use to sync my Itunes with the note, to be the problem - but it turned out it is not.
I already did the following:
checked the m3u playlist isyncr generates with a text editor - everything fine
cleared data of stock music player
cleared data of "media storage"
created a playlist with a 3rd party player (amazon) => reverse order in samsung player, correct order in poweramp, player pro
created a playlist with samsung player => reverse order in 3rd party players (amazon, poweramp, player pro)
searched the internet and xda
asked samsung support for help - twice
Internet knows a similar problem with samsung fascinate without any solution, here on xda i found an old thread which i suspect describes the same problem on a different device (http://forum.xda-developers.com/showthread.php?t=1404735), but also without a solution or idea.
I can hardly believe there is such a bug in the stock music app and hardly anyone steps into it. I also find it hard to believe that samsung had this bug in Fascinate's music player, fixed it in the Galaxy S2's (which i also own and doesn't have this problem), just to re-integrate it in the Note 10.1.
Samsung support is not able to give any qualified answers and rather tries to force me to use kies (which I even tried, but despite its poor performance cannot help me with this problem). I will, however, try to ask them a 3rd time.
The Problem existed in ICS ROM as well as in Jelly Bean, which arrived about 2 weeks ago (XXBLJ9).
Any Ideas what I could try next?
If you read this and don't know an answer either, you can still help me by verifying the problem on your note 10.1 - just create a playlist with for example amazon mp3 (playlist, not album) and open it with samsung stock music player. Would be great, thanks in advance!
Greetings,
Oliver
Okay...seems like nobody has an idea how to solve this...no problem.
You can, however, also help me by just trying it out, takes about 1 minute of your time...is nobody using the stock music player and any other player?
As Internet isn't full of complaints, i suspect that it could be a configuration specific problem with my note. I am willing to wipe it in that case, but as it is not rooted i've got to restore its current state manually after that - which might take some hours So I just want to make sure that there's a chance that wiping helps me with my problem.
Anyone? Can (or can't) you confirm my problem?
Thanks and Greetings,
Oliver
Same issue on Samsung Droid Charge
OliverB82 said:
Okay...seems like nobody has an idea how to solve this...no problem.
You can, however, also help me by just trying it out, takes about 1 minute of your time...is nobody using the stock music player and any other player?
As Internet isn't full of complaints, i suspect that it could be a configuration specific problem with my note. I am willing to wipe it in that case, but as it is not rooted i've got to restore its current state manually after that - which might take some hours So I just want to make sure that there's a chance that wiping helps me with my problem.
Anyone? Can (or can't) you confirm my problem?
Thanks and Greetings,
Oliver
Click to expand...
Click to collapse
Hi,
I have had my Samsung Charge since it came out. That problem has always persisted on my device. I find it extremely frustrating as the point of a smart phone is that it is multiple devices. I would like this to be my main music player as well since it has an external 32gb SD card and so can hold quite a bit of music.
I am not a developer (I do do technical support), just decided I am trying to figure out - AGAIN - why it does this. I just downloaded a trial of PowerAmp. Don't know if this might help you figure out the problem. Power Amp shows my synced playlists from Windows Media Player not as a Playlist but as a music folder under folders. So far I have synced just one playlist as a test. In the folder in powerAmp, it is in the correct order. In the stock music player it is in reversed order.
I paused in typing, and after syncing multiple playlists at one shot, the list in Poweramp is garbled. The first try created a single folder with all the songs from the playlist in correct order. Now with the sync of multiple lists, I do have a couple like above but the rest either didn't come across or the music came across but not the playlist. The stock music player also has just some not all of the playlists I synced. The music is all in reverse order.
To me this suggest that problem is with the implementation of the sync on the device itself, given you have the same issue. My guess is it reads and writes the playlist from bottom up. I think there is also a burrering problem since it never seems to bring all my lists over and if that happens only some of the music.
Hope this helps, would like very much to know if you find a solution. Samsung is close to losing me as a customer over this. I care less about browsing and connectivity and more about multi functionality. A music player that works is important to me, and am considering an HTC or maybe even an IPhone (!!!) next time around just because of this - and my next upgrade is in 60 days. I HOPE YOU ARE READING THIS SAMSUNG!!!
---------- Post added at 02:57 PM ---------- Previous post was at 02:44 PM ----------
dakatisbak said:
Hi,
I have had my Samsung Charge since it came out. That problem has always persisted on my device. I find it extremely frustrating as the point of a smart phone is that it is multiple devices. I would like this to be my main music player as well since it has an external 32gb SD card and so can hold quite a bit of music.
I am not a developer (I do do technical support), just decided I am trying to figure out - AGAIN - why it does this. I just downloaded a trial of PowerAmp. Don't know if this might help you figure out the problem. Power Amp shows my synced playlists from Windows Media Player not as a Playlist but as a music folder under folders. So far I have synced just one playlist as a test. In the folder in powerAmp, it is in the correct order. In the stock music player it is in reversed order.
I paused in typing, and after syncing multiple playlists at one shot, the list in Poweramp is garbled. The first try created a single folder with all the songs from the playlist in correct order. Now with the sync of multiple lists, I do have a couple like above but the rest either didn't come across or the music came across but not the playlist. The stock music player also has just some not all of the playlists I synced. The music is all in reverse order.
To me this suggest that problem is with the implementation of the sync on the device itself, given you have the same issue. My guess is it reads and writes the playlist from bottom up. I think there is also a burrering problem since it never seems to bring all my lists over and if that happens only some of the music.
Hope this helps, would like very much to know if you find a solution. Samsung is close to losing me as a customer over this. I care less about browsing and connectivity and more about multi functionality. A music player that works is important to me, and am considering an HTC or maybe even an IPhone (!!!) next time around just because of this - and my next upgrade is in 60 days. I HOPE YOU ARE READING THIS SAMSUNG!!!
Click to expand...
Click to collapse
Hi Oliver,
Just discovered that my Amazon MP3 cloud player has all my playlists I just synced (except one) and the songs are all in the correct order. This is confounding to me as I previously had the same reversed order issue in this player. Not sure if it has anything to do with the fact that I went into the file system dorectly and deleted all the contents from themusic related folders before doing the sync for that one then multiple lists. Not sure what happened with that one list, might be related to the fact that it is a custom CD mix ( old school club music, I need the beats for running!). Am going to try syncing that list as I really like the music that's on it. This would seem to contradict my thinking above though. Seems the issue is with the Samsung stock music itself, not the sync. HTC/Apple here I come...
Galaxy stock mp3 Player
I have Samsung Fascinate and it has the same problem with stock mp3 music player. Songs on playlist are reversed. I also tried a few other players but they are not convenient.
So as previous says we can use Amazon mp3 player and widget. It works good for me. It remembers when I paused and even after reboot. So decided use it. It doesn't interfere with other programs (I use in my car navigation app - Navigon). So its very convenient listen music and have navigation.

[APP] ServeStream

Hello, I'm new to the forum, first post in fact. In addition to helping other developers I joined the forums to solicit feedback and possibly spawn a discussion regarding my own open source Android application. The application is called ServeStream. Has anyone here used it, heard of it, hate/love it? Any feedback (positive or negative) is welcome and encouraged.
About:
Open source HTTP streaming media player and media server browser. Supports custom, online radio and SHOUTcast streams.
Features:
- Supports the following media formats:
Protocols: [http, https, mms, mmsh]
Audio: mp3/3gp/mp4/m4a/ogg/wav/mid/xmf/mxmf/rtttl/rtx/ota/imy
Playlists: m3u/pls/asx/m3u8
- Supports multitasking/playing audio in the background
- Repeat and shuffle modes
- Alarm clock support
- Home screen widget
- Shortcut support
- Utilizes HTML parsing to allow navigation of HTTP media servers that serve HTML pages
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nobody?!
I think it's a great app and have been using it for a long while. For listening to internet radio or streaming audio files in the background that you may find in the browser it is superb. I can only suggest one competitor, VLC. But this is focussed on audio and is lighter weight. Just the other day I couldn't find an audio player to play an mp3 I downloaded to my sdcard: I ended up just sharing the url from the browser straight to Servestream! My main gripes is are that the icon is not pretty and it seems to buffer very little so that it is quite sensitive to network disconnections. Thanks and keep up the good work!
Hey. While I do believe this is a great medium for what you are trying to do, how about some more info? Specifically a general description and a link to where we could find the app. I have it on my list of things to research this weekend, but for better response from the xda community in general more info would be helpful.
Welcome to xda!
I would love to post a link however my "noob" status prevents me from posting links until I have at least ten thread posts . I can supply you with some info though. I originally set out to build an open source application that would let me browse and play songs from my GNUMP3d media server. After the app had been out for a while I discovered people were using it to play podcasts and online radio stations. Although this use hadn't occured to me originally I embranced the idea and ran with it. Basically the application will let you play any streaming media that Android supports natively. It will also let you "browse" webpages by parsing the links and presenting them in a list. This functionality allows me to browse and play songs from my media server. I also just integrated FFmpeg into the application. This allows me to retrieve stream metadata, album art, and, after a year of trial and error, I just added mms:// and mmsh:// support using that library. This is just a brief overview of the application, let me know if you have any additional questions!
dabl8 said:
My main gripes is are that the icon is not pretty and it seems to buffer very little so that it is quite sensitive to network disconnections. Thanks and keep up the good work!
Click to expand...
Click to collapse
Thanks for the feedback. The buffering is definitely an issue at times. The only problem is that the Android MediaPlayer API doesn't allow you to change this. This is why I have started down the FFmpeg route. It's way more complicated but it gives me, and thus, the user more flexability. The icon could definately use some work. I will be revamping the icons in the next month so look for that to change in the future.
Now that I'm able to post links, here is more info about the application:
Open source HTTP streaming media player and media server browser. Ideal for custom online radio and SHOUTcast streams.
Features
- Supports core Android media formats with additional support for WMA
- Protocols: [http, https, mms (beta), mmsh (beta)]
- Playlists: m3u/pls/asx/m3u8
- Video: 3gp/mp4
- Metadata retrieval using FFmpeg
- Supports multitasking/playing in the background
- Repeat and shuffle modes
- Alarm clock support
- Home screen widget
- Shortcut support
- Utilizes HTML parsing to allow navigation of HTTP media servers that serve HTML pages
Play Store Link: https://play.google.com/store/apps/details?id=net.sourceforge.servestream&hl=en
Source Code: http://sourceforge.net/projects/servestream/
Edit: it's ok now in the newer versions
Yes the icons and the ui were pretty bad...
But if I remember right,this was the only player that would stream yourmuze music and allow me to turn off my screen...
Sent from my HTC Explorer A310e using xda app-developers app
Although I agree the icons could use some work, I wouldn't say the UI is bad. I think it's very functional without the unnecessary eye candy that some people think is required for an app to be good. With that said, I'm actively working to make the UI more polished and these changes should find their way into the next few releases.
LeftyGR said:
Downloading now. Will play with it for a while... Thanks!
Click to expand...
Click to collapse
Thoughts?
Servestream
wseemann said:
Thoughts?
Click to expand...
Click to collapse
Hi Wseemann,
Thanks for Servestream - I find it very useful. Just one ask: allow the user to vary the cache (upwards).
klunka said:
Hi Wseemann,
Thanks for Servestream - I find it very useful. Just one ask: allow the user to vary the cache (upwards).
Click to expand...
Click to collapse
Thanks for the feedback. When you say "cache" are you referring to the buffer size? It appears you are asking for a setting to control the buffer size, is that correct?
wseemann said:
Thanks for the feedback. When you say "cache" are you referring to the buffer size? It appears you are asking for a setting to control the buffer size, is that correct?
Click to expand...
Click to collapse
Yes, I would like the cache to be bigger. There is a bug that is related to this. I have a CM7.2 phone and radio stream I play is very solid. Every now and then it drops out but then it recovers. However, on my CM10 phone (p990), if the WiFi disconnects , as it does periodically, the audio comes back for a split-second and then stops. Then, if I would press play to start again, it plays from where it last started! I'm not sure how it does that but it is rather annoying. I have to back out to the list screen, find the entry I want and press it. From the now-playing screen there is no way to reach the list screen if I got there from the Notification bar; therefore you need a home button or ActionBar.
I just released version 0.5.2. This release should address some of the previous complaints.
New in this version:
* New icons and media player layout
* Embedded album art retrieval via FFmpeg
* Scrobble Droid support
* Russian translation, thanks to Константин Сучков
* MIPS Architecture support
* Bug fixes
I like the solution for the now-playing screen in 0.5.2: it's basically an action bar without an action bar. It is still hard to get back to a list of files in a http directory though; I would hope that eventually there would be a button that can bring me back to the list that I got the file from. I don't understand what you mean about Android buffering though; e.g. Antennapod can buffer podcasts just fine, though you can't set how much it will buffer. A couple of feature suggestions: include some http directories by default (such as listenlive.eu and magnatune.com:80/mobile) and support local file playback via a file manager. I think you forgot to mention ScrobbleDroid in the Preferences. I have noticed too that many asx streams don't play, but thankfully they are fewer and further between! Also we are working on getting the latest version into F-Droid: just having a few difficulties with the build server e.g. it doesn't have bash it turns out!
dabl8 said:
I like the solution for the now-playing screen in 0.5.2: it's basically an action bar without an action bar. It is still hard to get back to a list of files in a http directory though; I would hope that eventually there would be a button that can bring me back to the list that I got the file from. I don't understand what you mean about Android buffering though; e.g. Antennapod can buffer podcasts just fine, though you can't set how much it will buffer. A couple of feature suggestions: include some http directories by default (such as listenlive.eu and magnatune.com:80/mobile) and support local file playback via a file manager. I think you forgot to mention ScrobbleDroid in the Preferences. I have noticed too that many asx streams don't play, but thankfully they are fewer and further between! Also we are working on getting the latest version into F-Droid: just having a few difficulties with the build server e.g. it doesn't have bash it turns out!
Click to expand...
Click to collapse
Thanks for the feedback. I'm still working on some UI improvements and I will include a better way to get back to the "browse" page in the next few releases. I realize that is a usability problem. Regarding the buffering, the Android MediaPlayer class doesn't offer a method to set the buffer size. The only way to control buffering when using this class is to download the file mantually and then send it to the media player class (progressive playback). I can make a buffer setting but it would only work with the progressive playback option enabled. That is why I'm moving away from MediaPlayer and focusing on using a FFmpeg based player. Does that make more sense? Regarding your other suggestions, the application currently supports local playlist files, Is that what you were referring to? I'm hesitant to add support for local, non-playlist, media files since those are usually handled by a standard media player and that change will make the application even more complex. I just fixed the omission of ScrobbleDroid in the preferences, thanks for catching that. Can you send me examples of ASX streams that don't play? I've been slowly adding support for these playlists but it's more difficult than one might think since playback needs to be done using AudioTrack and FFmpeg. Also, I didn't realize who I was talking to! I believe we have spoke on the F-Droid forums before. As I've said before, you guys/gals are doing a great thing, the project has really come a long way!
I have a phone with a menu button, but I don't see the overflow menu now. That is really necessary to be able to stop playback. I couldn't find a local .pls, I have a lot of m3us it seems and they aren't supported. I have another problem with playback: I can't actually stream files over 3g: they play for 10 seconds and then cut out. I'm on CM10 and it seems to work ok with VLC. This has been the way in v0.4 too. I can't think of a good example for asx, but most of the random candidates I tried on http://listenlive.eu wouldn't play. Regarding f-droid, the shell that's being used doesn't like [ $PIPESTATUS == 0 ] || exit 1 : invalid operator. Any ideas?
So, if you press the menu button you don't see the following menu?
http://servestream.sourceforge.net/device-2013-01-10-131302.png
When you say "I couldn't find a local .pls" what do you mean? Can you post links or email me the m3u's that are causing you issues? The issues with ASX files are still being sorted out. Sorry you are having so many problems with the application. Although I try my best, streaming and playlist parsing introduces alot of complexity and variance that can create issues.
Regarding the build issues, I believe $PIPESTATUS may only work with bash. You can simply comment out that line in arm-build.sh, x86-build.sh and mips-build.sh.
wseemann said:
So, if you press the menu button you don't see the following menu?
http://servestream.sourceforge.net/device-2013-01-10-131302.png.
Click to expand...
Click to collapse
I do see that, but I have CM10 with the option to display the overflow menu button and I don't see the button on the Now Playing screen, so I'm wondering if those without hardware buttons would be unable to get to it; although they can probably remove the item from the play queue. Pausing and backing out, doesn't stop the stream properly
When you say "I couldn't find a local .pls" what do you mean? Can you post links or email me the m3u's that are causing you issues?
Click to expand...
Click to collapse
I understood that a pls that points to a file on internal storage can be played by Servestream, perhaps I got that wrong
The issues with ASX files are still being sorted out. Sorry you are having so many problems with the application. Although I try my best, streaming and playlist parsing introduces alot of complexity and variance that can create issues.
.
Click to expand...
Click to collapse
I tried VLC again and that has the same problems. Stream plays for 40 seconds and cuts out: I've tried internet and wap apns. Must be a carrier problem.
Regarding the build issues, I believe $PIPESTATUS may only work with bash. You can simply comment out that line in arm-build.sh, x86-build.sh and mips-build.sh
Click to expand...
Click to collapse
Thanks , but mips-build.sh doesn't exist.
Servestream is simple and does its job, very good app if you just want to add the direct link to a stream and not fiddle around in some overcomplex radio apps with worldwide-search-feature.
Just a suggestion to the creator:
Maybe you should edit your first post and present screenshots, a short feature list, etc? That way this thread should grow better and you'll get more downloads.
But I also have a small complaint: When I press "Stop", the app continues to download the stream although I can't hear anything anymore. After a while it stops, but it's still not nice to eat my data uselessly like that.
Could you look into this problem?
Thank you!

Categories

Resources