Page 1 of 14

Stutter/skips in Android client

PostPosted: Tue Aug 31, 2010 5:28 pm
by courtarro
I see a few posts on here about skipping/stuttering in the Android client, but there seem to be no solutions. I do, however, have a few data points to contribute that might help us narrow down this problem. The symptom is as described on some of the other posts: streaming playback skips about 10 seconds into track playback, and then occasionally once or twice more during playback of a normal-length song. Sometimes the skips

Details: I have a Moto Droid (original version). I have used several ROMs, including the official 2.0.1 and 2.1, as well as Pete's 2.2 and Sapphire 1.0.0 (Froyo-based). My server is the latest Linux release, though I've used the Windows server in the past with the same problem.

Official Verizon/Moto 2.1: skips occur

Pete's 2.2 with 800Mhz kernel: skips DO NOT occur

Sapphire 1.0.0 (Opencore), 800Mhz standard-voltage kernel: skips occur

If I can find time in the future, I will see if another kernel works better with Sapphire, or if the Stagefright audio libraries work better.

PostPosted: Mon Sep 06, 2010 12:03 am
by deftdrummer
I wonder then if this is a bandwidth related thing? I tend to notice this more when I'm on 3G but it also occurs on WiFi. Then again, because its bandwidth it could be closely related to the CPU too, maybe since you overclocked that gave it the extra umph?

I have the Droid X and it skips with all official software. This has been a bug with Subsonic for as long as I can remember. Let's get some more comments in this thread!

PostPosted: Mon Sep 06, 2010 7:48 am
by vancamp
Also Droid X. I usually have a couple skips towards the beginning of the first couple tracks. Interestingly, I also usually get a repeat of a few seconds a little ways into the first or second track.

PostPosted: Tue Sep 07, 2010 1:19 pm
by technics2000
Yep, same thing here with Droid X. I tried putting on the leaked 2.2 update but it didn't fix it.

The amount of skips are random for me. Some songs it will skip once about 30 secs in and again about 4 mins in. Other songs it will skip much more, maybe 10 times throughout the song. This is only when streaming and it doesn't matter if i'm on 3g or local wifi.

Only solution I found is to queue up a bunch of songs and hope by the 3rd song it won't skip but that's far from ideal. Please look into fixing this Sindre, I have already donated but i'll be happy to donate again if you can resolve this problem.

PostPosted: Wed Sep 08, 2010 8:00 pm
by lambda
Sapphire 1.1.0 is out with stagefright enabled by default, and incorporating Google's patches to fix audio issues.

I'm running it with a 125/1000 LV kernel. I've noticed a couple of skips over a few hours of listening, but that's all.

PostPosted: Fri Sep 10, 2010 4:06 pm
by simpdawg
hi, new user here...been running subsonic for a couple months and recently purchased a license for the server because i really like it.

i've noticed skipping in the first few seconds of songs, and most recently the big problem has been that any song i start playing on the android will repeat even when there is a playlist...i can't find any repeat settings so i'm not sure what's going on.

i have an htc incredible running froyo. anyone else experience this?

PostPosted: Mon Sep 13, 2010 1:18 pm
by technics2000
Tried putting on the leaked Froyo 2.3.13 to see if it would fix the skipping, no luck.

Does the dev usually come in to these forums? I see alot of posts/questions but no official responses. Would be nice to know if this issue is being looked into or worked on.

PostPosted: Mon Sep 13, 2010 5:12 pm
by lambda
I'm noticing skips a lot more now. I'm on wifi, running Sapphire 1.1.1 with a 800 MHz kernel.

They seem to occur when tracks are downloading - I guess one could always just download all the tracks first, and then play, but that's unsatisfying, don't you think?

PostPosted: Mon Sep 13, 2010 5:26 pm
by Xevarg
Same issue. I have a Droid 2 (Froyo 2.2) and almost all tracks skip when using 3G.

It happens five, ten, even twenty seconds or more into the track. The song will skip to the beginning and I'll get a notification: "Error playing "Track Name". MediaPlayer error: 1 (31) (Exception)"

This is with four 3G bars.

PostPosted: Mon Sep 13, 2010 6:30 pm
by technics2000
It doesn't matter if its 3g or wifi. I can be sitting next to my N router and server and it will still skip when streaming a 5mb mp3.

PostPosted: Tue Sep 14, 2010 4:18 am
by Pishtim
I love this application, save for the skips. I too notice that it skips mostly when its downloading the queued tracks (maybe its ONLY when tracks are downloading, I will pay more attention to verify this).

I really wish this problem were seriously addressed. I would even submit another donation.

Are there any devs in here reading this stuff?

PostPosted: Tue Sep 14, 2010 11:24 am
by rgthorpe2001
I had the same symptoms as Xevarg streaming untranscoded m4a's to a 2.1 Droid X (same MediaPlayer error message and skip back to beginning of song after 20 sec or so). Once I set up to transcode all m4a's to mp3, this problem went away. (The more common issue of a momentary interruption in play during the first song of an album remains.)

PostPosted: Tue Sep 14, 2010 8:09 pm
by Xevarg
rgthorpe2001 wrote:I had the same symptoms as Xevarg streaming untranscoded m4a's to a 2.1 Droid X (same MediaPlayer error message and skip back to beginning of song after 20 sec or so). Once I set up to transcode all m4a's to mp3, this problem went away. (The more common issue of a momentary interruption in play during the first song of an album remains.)


Willing to give this a shot. How did you do it exactly? Do I just check off "enable" next to "m4a > mp3" in the Subsonic config?

PostPosted: Tue Sep 14, 2010 11:28 pm
by rgthorpe2001
You have to check two boxes, one on the Transcoding page in settings and on the Player page after you select your android user / player in the drop down box. Beyond that, you'll need to make sure the underlying transcoders on your server are set up right -- there is some intro info on the Subsonic site at http://subsonic.org/pages/installation.jsp and http://subsonic.org/pages/transcoding.jsp,
but the best resource I've found is this page:
http://sourceforge.net/apps/mediawiki/s ... ranscoders

PostPosted: Wed Sep 15, 2010 2:18 am
by Xevarg
rgthorpe2001 wrote:You have to check two boxes, one on the Transcoding page in settings and on the Player page after you select your android user / player in the drop down box. Beyond that, you'll need to make sure the underlying transcoders on your server are set up right -- there is some intro info on the Subsonic site at http://subsonic.org/pages/installation.jsp and http://subsonic.org/pages/transcoding.jsp,
but the best resource I've found is this page:
http://sourceforge.net/apps/mediawiki/s ... ranscoders


Thanks! That seems to have done the trick. No more skipping or reloading.