Stutter/skips in Android client

Need help? Post your questions here.

Moderator: moderators

Postby sindre_mehus » Tue Oct 12, 2010 11:31 am

I have a feeling that this problem started when I upgraded from Android 2.1 to 2.2. Anyone else?

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby sn0skier » Tue Oct 12, 2010 5:43 pm

I have only used subsonic since I've had 2.2 on my evo so I'm not sure how it would have acted on 2.1.
The sputtering problem has stopped recently. I think I just had too many apps and widgets on my phone. I deleted sportstap (sports tap) from my phone and the skipping has stopped in subsonic and the HTC music player.
However I still have the problem where it will get to the end of a song and then restart. This apparently only happens when the next song is in the middle of downloading. if the next song is done downloading then it will move on.
sn0skier
 
Posts: 64
Joined: Fri Sep 24, 2010 8:40 pm

Postby sindre_mehus » Tue Oct 12, 2010 7:53 pm

Good news! I've discovered two problems, both of which can be fixed.

First of all, I found I bug in my Android code which may cause the song to restart in some situations. It's an easy fix, and I'll release a new version to Android Market in a few days.

Number two: Seems like Android doesn't like mp3 sample rates different from 44.1 kHz. When testing on my phone (Nexus One, Android 2.2), configured with a max bitrate of 96 Kbps, the LAME encoder (on the Subsonic server) produces mp3 data with 32 kHz sample rate. This doesn't seem to be very well supported by Android. For example, you can notice that the song progress bar is moving too slow. This also causes the last part of the song to be played twice.

Anyway: a work-around for this is to go to Settings > Advanced on your Subsonic server. Then specify the following as "Downsample command":

Code: Select all
lame -S -h --resample 44.1 -b %b %s -


This worked for me. Please let me know it it helps!

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby kermit22 » Tue Oct 12, 2010 9:19 pm

Good stuff Sindre! I plan on using the android app tonight. I'll let you know if my results differ from yours. Thanks again for your hard work.
User avatar
kermit22
 
Posts: 218
Joined: Fri Feb 20, 2009 7:00 pm

Postby technics2000 » Tue Oct 12, 2010 9:41 pm

Doesn't sound like either addresses the skipping issue on the Droid X. Hopefully you can find that bug soon as well!

Also, have had this problem on 2.1 and 2.2
technics2000
 
Posts: 11
Joined: Tue Sep 07, 2010 1:06 pm

Postby sindre_mehus » Wed Oct 13, 2010 7:20 am

I just released version 1.7.2 in Android Market. It should hopefully fix some of the skipping problems (see my post above).

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby cavediver » Wed Oct 13, 2010 10:37 am

sindre_mehus wrote:I just released version 1.7.2 in Android Market. It should hopefully fix some of the skipping problems (see my post above).

Sindre


I installed the new version. At least it plays the first song all the way through, but it won't skip to the next song on the album. (Select all & Play checked). It just repeates the first song over and over, even thought it has already downloaded the next 5 songs. If I force skip to the next song, the album will play normally.
cavediver
 
Posts: 4
Joined: Sun Sep 26, 2010 2:46 pm

Postby seanpkeown » Wed Oct 13, 2010 11:37 pm

Hey Sindre thanks for looking into this for us. I installed the newest android client today and i still have the same issue. I even tried changing the downsample from lame -S -h -b %b %s - to lame -S -h --resample 44.1 -b %b %s - without any luck. Maybe the logs below will able to help you.

I noticed that when the problem happens i also get 10-13 18:12:35.198 54 86 W AudioFlinger: write blocked for #of msecs error but not always. I'm running android 1.5 on the Motorola Backflip.




10-13 18:12:21.248 606 606 I Util : Deleted file /sdcard/subsonic/music/Incubus/Make Yourself/01-Privilege.mp3.128.partial
10-13 18:12:21.258 606 606 I DownloadServiceImpl: IDLE -> IDLE
10-13 18:12:21.368 606 606 I FileUtil: Serialized object to /data/data/net.sourceforge.subsonic.androidapp/cache/downloadstate.ser
10-13 18:12:21.368 606 697 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:12:21.368 606 697 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (0/100000, false)
10-13 18:12:21.378 91 179 I ActivityManager: Starting activity: Intent { comp={net.sourceforge.subsonic.androidapp/net.sourceforge.subsonic.androidapp.activity.DownloadActivity} }
10-13 18:12:21.438 606 606 W Util : Failed to disable activity transition.
10-13 18:12:21.438 606 606 W Util : java.lang.NoSuchMethodException: overridePendingTransition
10-13 18:12:21.438 606 606 W Util : at java.lang.ClassCache.findMethodByName(ClassCache.java:308)
10-13 18:12:21.438 606 606 W Util : at java.lang.Class.getMethod(Class.java:1007)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.util.Util.disablePendingTransition(Util.java:616)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.util.Util.startActivityWithoutTransition(Util.java:608)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.util.Util.startActivityWithoutTransition(Util.java:603)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.activity.SelectAlbumActivity$12.run(SelectAlbumActivity.java:386)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.activity.SelectAlbumActivity.checkLicenseAndTrialPeriod(SelectAlbumActivity.java:420)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.activity.SelectAlbumActivity.download(SelectAlbumActivity.java:395)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.activity.SelectAlbumActivity.access$200(SelectAlbumActivity.java:55)
10-13 18:12:21.438 606 606 W Util : at net.sourceforge.subsonic.androidapp.activity.SelectAlbumActivity$3.onClick(SelectAlbumActivity.java:130)
10-13 18:12:21.438 606 606 W Util : at android.view.View.performClick(View.java:2189)
10-13 18:12:21.438 606 606 W Util : at android.view.View.onTouchEvent(View.java:3842)
10-13 18:12:21.438 606 606 W Util : at android.widget.TextView.onTouchEvent(TextView.java:6375)
10-13 18:12:21.438 606 606 W Util : at android.view.View.dispatchTouchEvent(View.java:3378)
10-13 18:12:21.438 606 606 W Util : at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:872)
10-13 18:12:21.438 606 606 W Util : at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:872)
10-13 18:12:21.438 606 606 W Util : at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:872)
10-13 18:12:21.438 606 606 W Util : at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:872)
10-13 18:12:21.438 606 606 W Util : at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:872)
10-13 18:12:21.438 606 606 W Util : at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1771)
10-13 18:12:21.438 606 606 W Util : at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1220)
10-13 18:12:21.438 606 606 W Util : at android.app.Activity.dispatchTouchEvent(Activity.java:2066)
10-13 18:12:21.438 606 606 W Util : at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1755)
10-13 18:12:21.438 606 606 W Util : at android.view.ViewRoot.handleMessage(ViewRoot.java:1572)
10-13 18:12:21.438 606 606 W Util : at android.os.Handler.dispatchMessage(Handler.java:99)
10-13 18:12:21.438 606 606 W Util : at android.os.Looper.loop(Looper.java:123)
10-13 18:12:21.438 606 606 W Util : at android.app.ActivityThread.main(ActivityThread.java:3977)
10-13 18:12:21.438 606 606 W Util : at java.lang.reflect.Method.invokeNative(Native Method)
10-13 18:12:21.438 606 606 W Util : at java.lang.reflect.Method.invoke(Method.java:521)
10-13 18:12:21.438 606 606 W Util : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
10-13 18:12:21.438 606 606 W Util : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
10-13 18:12:21.438 606 606 W Util : at dalvik.system.NativeStart.main(Native Method)
10-13 18:12:21.898 606 698 I ImageLoader: Starting ImageLoader 72
10-13 18:12:21.908 606 698 I RESTMusicService: Using URL http://x.x.x.x/subsonic/rest/getCoverAr ... 7&size=320
10-13 18:12:22.048 91 111 I ActivityManager: Displayed activity net.sourceforge.subsonic.androidapp/.activity.DownloadActivity: 672 ms
10-13 18:12:22.375 606 697 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (0/100000, false)
10-13 18:12:23.380 606 697 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (26456/100000, false)
10-13 18:12:24.381 606 697 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (78196/100000, false)
10-13 18:12:25.389 606 697 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (116456/100000, false)
10-13 18:12:25.389 606 697 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:12:25.418 606 697 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:12:25.508 606 697 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:12:25.518 606 697 I DownloadServiceImpl: PREPARED -> STARTED
10-13 18:12:25.788 54 86 W AudioFlinger: write blocked for 182 msecs
10-13 18:12:26.438 606 696 I DownloadFile: Downloaded 123 KB of Nothin' On You
10-13 18:12:29.478 606 696 I DownloadFile: Downloaded 300 KB of Nothin' On You
10-13 18:12:32.511 606 696 I DownloadFile: Downloaded 475 KB of Nothin' On You
10-13 18:12:32.818 606 606 I DownloadServiceImpl: STARTED -> COMPLETED
10-13 18:12:32.858 606 606 I DownloadServiceImpl: COMPLETED -> IDLE
10-13 18:12:32.868 606 704 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:12:32.878 606 704 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (507500/603456, false)
10-13 18:12:33.881 606 704 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (575456/603456, false)
10-13 18:12:34.888 606 704 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (615500/603456, false)
10-13 18:12:34.888 606 704 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:12:34.898 606 704 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:12:34.948 606 704 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:12:34.958 606 704 I DownloadServiceImpl: Restarting player from position 7018
10-13 18:12:35.008 606 704 I DownloadServiceImpl: PREPARED -> STARTED
10-13 18:12:35.198 54 86 W AudioFlinger: write blocked for 141 msecs
10-13 18:12:35.518 606 696 I DownloadFile: Downloaded 641 KB of Nothin' On You
10-13 18:12:38.648 606 696 I DownloadFile: Downloaded 817 KB of Nothin' On You
10-13 18:12:41.652 606 696 I DownloadFile: Downloaded 976 KB of Nothin' On You
10-13 18:12:44.738 606 696 I DownloadFile: Downloaded 1.12 MB of Nothin' On You
10-13 18:12:47.918 606 696 I DownloadFile: Downloaded 1.29 MB of Nothin' On You
10-13 18:12:50.968 606 696 I DownloadFile: Downloaded 1.45 MB of Nothin' On You
10-13 18:12:54.128 606 696 I DownloadFile: Downloaded 1.62 MB of Nothin' On You
10-13 18:12:57.161 606 696 I DownloadFile: Downloaded 1.79 MB of Nothin' On You
10-13 18:13:00.238 606 696 I DownloadFile: Downloaded 1.94 MB of Nothin' On You
10-13 18:13:03.308 606 696 I DownloadFile: Downloaded 2.11 MB of Nothin' On You
10-13 18:13:06.351 606 696 I DownloadFile: Downloaded 2.26 MB of Nothin' On You
10-13 18:13:06.408 606 606 I DownloadServiceImpl: STARTED -> COMPLETED
10-13 18:13:06.448 606 606 I DownloadServiceImpl: COMPLETED -> IDLE
10-13 18:13:06.458 606 708 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:13:06.468 606 708 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (2379500/2475456, false)
10-13 18:13:07.470 606 708 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (2447456/2475456, false)
10-13 18:13:08.475 606 708 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (2510456/2475456, false)
10-13 18:13:08.478 606 708 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:13:08.508 606 708 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:13:08.628 606 708 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:13:08.628 606 708 I DownloadServiceImpl: Restarting player from position 38203
10-13 18:13:08.748 606 708 I DownloadServiceImpl: PREPARED -> STARTED
10-13 18:13:08.968 54 86 W AudioFlinger: write blocked for 142 msecs
10-13 18:13:09.349 606 696 I DownloadFile: Downloaded 2.45 MB of Nothin' On You
10-13 18:13:12.468 606 696 I DownloadFile: Downloaded 2.62 MB of Nothin' On You
10-13 18:13:15.598 606 696 I DownloadFile: Downloaded 2.81 MB of Nothin' On You
10-13 18:13:18.608 606 696 I DownloadFile: Downloaded 2.98 MB of Nothin' On You
10-13 18:13:21.738 606 696 I DownloadFile: Downloaded 3.16 MB of Nothin' On You
10-13 18:13:24.788 606 696 I DownloadFile: Downloaded 3.33 MB of Nothin' On You
10-13 18:13:27.808 606 696 I DownloadFile: Downloaded 3.50 MB of Nothin' On You
10-13 18:13:30.811 606 696 I DownloadFile: Downloaded 3.63 MB of Nothin' On You
10-13 18:13:33.841 606 696 I DownloadFile: Downloaded 3.82 MB of Nothin' On You
10-13 18:13:36.881 606 696 I DownloadFile: Downloaded 3.99 MB of Nothin' On You
10-13 18:13:39.108 606 696 I DownloadFile: Downloaded 4324635 bytes to /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial
10-13 18:13:39.848 606 696 I Util : Copied /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial to /sdcard/subsonic/music/B.o.B/Nothin' On You.complete.mp3
10-13 18:13:40.258 606 712 I RESTMusicService: Using URL http://x.x.x.x/subsonic/rest/stream.vie ... itRate=128
10-13 18:13:44.348 606 712 I DownloadFile: Downloaded 116 KB of Airplanes (Ft. Hayley Williams)
10-13 18:13:47.478 606 712 I DownloadFile: Downloaded 247 KB of Airplanes (Ft. Hayley Williams)
10-13 18:13:50.508 606 712 I DownloadFile: Downloaded 371 KB of Airplanes (Ft. Hayley Williams)
10-13 18:13:53.518 606 712 I DownloadFile: Downloaded 496 KB of Airplanes (Ft. Hayley Williams)
10-13 18:13:56.548 606 712 I DownloadFile: Downloaded 632 KB of Airplanes (Ft. Hayley Williams)
10-13 18:13:59.658 606 712 I DownloadFile: Downloaded 731 KB of Airplanes (Ft. Hayley Williams)
10-13 18:14:02.608 606 712 I DownloadFile: Downloaded 850 KB of Airplanes (Ft. Hayley Williams)
10-13 18:14:05.608 606 712 I DownloadFile: Downloaded 973 KB of Airplanes (Ft. Hayley Williams)
10-13 18:14:08.631 606 712 I DownloadFile: Downloaded 1.05 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:11.631 606 712 I DownloadFile: Downloaded 1.19 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:14.638 606 712 I DownloadFile: Downloaded 1.30 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:17.671 606 712 I DownloadFile: Downloaded 1.42 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:20.668 606 712 I DownloadFile: Downloaded 1.53 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:23.748 606 712 I DownloadFile: Downloaded 1.66 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:26.791 606 712 I DownloadFile: Downloaded 1.78 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:29.811 606 712 I DownloadFile: Downloaded 1.91 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:32.828 606 712 I DownloadFile: Downloaded 2.04 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:35.841 606 712 I DownloadFile: Downloaded 2.17 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:39.141 606 712 I DownloadFile: Downloaded 2.29 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:42.148 606 712 I DownloadFile: Downloaded 2.41 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:45.171 606 712 I DownloadFile: Downloaded 2.53 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:48.411 606 712 I DownloadFile: Downloaded 2.64 MB of Airplanes (Ft. Hayley Williams)
10-13 18:14:50.721 606 712 I DownloadFile: Downloaded 2874305 bytes to /sdcard/subsonic/music/B.o.B/Airplanes (Ft. Hayley Williams).mp3.128.partial
10-13 18:14:52.218 606 712 I Util : Copied /sdcard/subsonic/music/B.o.B/Airplanes (Ft. Hayley Williams).mp3.128.partial to /sdcard/subsonic/music/B.o.B/Airplanes (Ft. Hayley Williams).complete.mp3
10-13 18:14:55.458 606 714 I RESTMusicService: Using URL http://x.x.x.x/subsonic/rest/stream.vie ... itRate=128
10-13 18:14:55.618 606 612 I Util : Deleted file /sdcard/subsonic/music/B.o.B/Airplanes (Ft. Hayley Williams).mp3.128.partial
10-13 18:14:59.631 606 714 I DownloadFile: Downloaded 88 KB of Don't Let Me Fall
10-13 18:15:02.641 606 714 I DownloadFile: Downloaded 222 KB of Don't Let Me Fall
10-13 18:15:05.678 606 714 I DownloadFile: Downloaded 352 KB of Don't Let Me Fall
10-13 18:15:07.948 606 606 I DownloadServiceImpl: STARTED -> COMPLETED
10-13 18:15:07.998 606 606 I DownloadServiceImpl: COMPLETED -> IDLE
10-13 18:15:07.998 606 716 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:15:08.008 606 716 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (4324635/4424635, true)
10-13 18:15:08.018 606 716 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:15:08.038 606 716 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:15:08.158 606 716 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:15:08.158 606 716 I DownloadServiceImpl: Restarting player from position 157157
10-13 18:15:08.218 606 716 I DownloadServiceImpl: PREPARED -> STARTED
10-13 18:15:08.708 606 714 I DownloadFile: Downloaded 480 KB of Don't Let Me Fall
10-13 18:15:11.728 606 714 I DownloadFile: Downloaded 600 KB of Don't Let Me Fall
10-13 18:15:14.841 606 714 I DownloadFile: Downloaded 720 KB of Don't Let Me Fall
10-13 18:15:17.898 606 714 I DownloadFile: Downloaded 853 KB of Don't Let Me Fall
10-13 18:15:20.978 606 714 I DownloadFile: Downloaded 976 KB of Don't Let Me Fall
10-13 18:15:23.998 606 714 I DownloadFile: Downloaded 1.07 MB of Don't Let Me Fall
10-13 18:15:27.028 606 714 I DownloadFile: Downloaded 1.19 MB of Don't Let Me Fall
10-13 18:15:30.041 606 714 I DownloadFile: Downloaded 1.32 MB of Don't Let Me Fall
10-13 18:15:33.188 606 714 I DownloadFile: Downloaded 1.44 MB of Don't Let Me Fall
10-13 18:15:36.228 606 714 I DownloadFile: Downloaded 1.57 MB of Don't Let Me Fall
10-13 18:15:39.281 606 714 I DownloadFile: Downloaded 1.69 MB of Don't Let Me Fall
10-13 18:15:42.368 606 714 I DownloadFile: Downloaded 1.82 MB of Don't Let Me Fall
10-13 18:15:45.408 606 714 I DownloadFile: Downloaded 1.93 MB of Don't Let Me Fall
10-13 18:15:48.468 606 714 I DownloadFile: Downloaded 2.06 MB of Don't Let Me Fall
10-13 18:15:51.558 606 714 I DownloadFile: Downloaded 2.19 MB of Don't Let Me Fall
10-13 18:15:54.588 606 714 I DownloadFile: Downloaded 2.31 MB of Don't Let Me Fall
10-13 18:15:57.678 606 714 I DownloadFile: Downloaded 2.43 MB of Don't Let Me Fall
10-13 18:16:00.728 606 714 I DownloadFile: Downloaded 2.56 MB of Don't Let Me Fall
10-13 18:16:03.828 606 714 I DownloadFile: Downloaded 2.69 MB of Don't Let Me Fall
10-13 18:16:06.828 606 714 I DownloadFile: Downloaded 2.81 MB of Don't Let Me Fall
10-13 18:16:09.958 606 714 I DownloadFile: Downloaded 2.93 MB of Don't Let Me Fall
10-13 18:16:13.028 606 714 I DownloadFile: Downloaded 3.06 MB of Don't Let Me Fall
10-13 18:16:16.038 606 714 I DownloadFile: Downloaded 3.15 MB of Don't Let Me Fall
10-13 18:16:19.049 606 714 I DownloadFile: Downloaded 3.25 MB of Don't Let Me Fall
10-13 18:16:22.058 606 714 I DownloadFile: Downloaded 3.39 MB of Don't Let Me Fall
10-13 18:16:25.271 606 714 I DownloadFile: Downloaded 3.52 MB of Don't Let Me Fall
10-13 18:16:28.348 606 714 I DownloadFile: Downloaded 3.65 MB of Don't Let Me Fall
10-13 18:16:31.391 606 714 I DownloadFile: Downloaded 3.77 MB of Don't Let Me Fall
10-13 18:16:34.418 606 714 I DownloadFile: Downloaded 3.88 MB of Don't Let Me Fall
10-13 18:16:37.548 606 714 I DownloadFile: Downloaded 4.01 MB of Don't Let Me Fall
10-13 18:16:40.761 606 714 I DownloadFile: Downloaded 4.13 MB of Don't Let Me Fall
10-13 18:16:42.168 606 714 I DownloadFile: Downloaded 4409469 bytes to /sdcard/subsonic/music/B.o.B/Don't Let Me Fall.mp3.128.partial
10-13 18:16:42.938 606 714 I Util : Copied /sdcard/subsonic/music/B.o.B/Don't Let Me Fall.mp3.128.partial to/sdcard/subsonic/music/B.o.B/Don't Let Me Fall.complete.mp3
10-13 18:17:01.128 606 606 I DownloadServiceImpl: STARTED -> COMPLETED
10-13 18:17:01.368 606 606 I Util : Deleted file /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial10-13 18:17:01.388 606 606 I DownloadServiceImpl: COMPLETED -> IDLE
10-13 18:17:01.398 606 721 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:17:01.398 606 721 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Airplanes (Ft. Hayley Williams).mp3.128.partial (0/122880, true)
10-13 18:17:01.398 606 721 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:17:01.408 606 721 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:17:01.578 606 721 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:17:01.588 606 721 I DownloadServiceImpl: PREPARED -> STARTED
10-13 18:20:01.328 606 606 I DownloadServiceImpl: STARTED -> COMPLETED
10-13 18:20:01.438 606 606 I DownloadServiceImpl: COMPLETED -> IDLE
10-13 18:20:01.448 606 725 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:20:01.458 606 725 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Don't Let Me Fall.mp3.128.partial (4409469/4532349, true)
10-13 18:20:01.468 606 725 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:20:01.578 606 725 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:20:01.668 606 725 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:20:01.678 606 725 I DownloadServiceImpl: PREPARED -> STARTED
10-13 18:24:01.208 474 474 I NewsBroadcastReceiver: action: com.motorola.blur.service.blur.Actions.ACTION_PURGE_DATAdata: null



Thanks again,
Sean K
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

Postby sindre_mehus » Thu Oct 14, 2010 6:50 am

Sean, thanks for the log.

Now, the player restarting is "supposed to be like that". It's the way progressive download is implemented in the app. Are you hearing stutters (small pauses), or does the song skip to the wrong position when this happens?

I also experienced stutters in Android 1.5, but it disappeared in later Android versions.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Stutter (buffering) after update to Subsonic 1.7.3

Postby cyberyaga » Thu Oct 14, 2010 5:11 pm

Hi Sindre...

After I downloaded the Subsonic update on the Android client 1.7.3 today.

Now when I play a song, it will buffer and start playing. After the song plays for 15-20 seconds it stops and buffers some more, then it continues playing.

My home connection is 30mbits Down and 5mbits Up. So I don't think is my connectivity, plus this began happening after the update.

I have the latest version of the server as well.

My phone is Droid 2 running Android 2.2.2

Any Thoughts? Thanks
cyberyaga
 
Posts: 7
Joined: Wed Aug 04, 2010 5:22 am

Postby sn0skier » Thu Oct 14, 2010 8:47 pm

Skipping has resolved itself. I'm pretty sure it was just a sign of my system lagging in general. I uninstalled sportstap (sports tap?) And this seems to have improved Android as a whole, and to have stopped the skipping problem. ESPN scorecenter is better anyway.

However I'm still having the problem where the song will restart if the next song isn't done downloading. I'll probably start a new thread or find another one ti solve this problem.
sn0skier
 
Posts: 64
Joined: Fri Sep 24, 2010 8:40 pm

Postby seanpkeown » Thu Oct 14, 2010 11:22 pm

sindre_mehus wrote:Sean, thanks for the log.

Now, the player restarting is "supposed to be like that". It's the way progressive download is implemented in the app. Are you hearing stutters (small pauses), or does the song skip to the wrong position when this happens?

I also experienced stutters in Android 1.5, but it disappeared in later Android versions.


Hey Sindre,
I'm hearing the small pauses every time the following happens and only once in great while does it start from the incorrect spot. It normally restarts from where it stopped from. Hopefully it's just a android 1.5 problem because i'll be getting upgraded to 2.1 any week now.

10-13 18:15:07.948 606 606 I DownloadServiceImpl: STARTED -> COMPLETED
10-13 18:15:07.998 606 606 I DownloadServiceImpl: COMPLETED -> IDLE
10-13 18:15:07.998 606 716 I DownloadServiceImpl: IDLE -> DOWNLOADING
10-13 18:15:08.008 606 716 I DownloadServiceImpl: Buffering /sdcard/subsonic/music/B.o.B/Nothin' On You.mp3.128.partial (4324635/4424635, true)
10-13 18:15:08.018 606 716 I DownloadServiceImpl: DOWNLOADING -> IDLE
10-13 18:15:08.038 606 716 I DownloadServiceImpl: IDLE -> PREPARING
10-13 18:15:08.158 606 716 I DownloadServiceImpl: PREPARING -> PREPARED
10-13 18:15:08.158 606 716 I DownloadServiceImpl: Restarting player from position 157157
10-13 18:15:08.218 606 716 I DownloadServiceImpl: PREPARED -> STARTED



Thanks for the fast response
Sean K
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

Postby alphawave7 » Fri Oct 15, 2010 2:58 am

Oh no! NOW I'm getting the first song skip/download/play/skip/ download issue again. Don't know which of the two recent updates did it, but I'd been flawless up to those on my N1 running Froyo, and CM6-stable. I tried killing all tasks and resuming playback, but to no avail..had to wait for the entire song to d/l.
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby technics2000 » Fri Oct 15, 2010 3:55 am

After the market update I'm also getting buffering at about 20 seconds in on every track, I'm still getting stuttering as well.

Can you take a look at the logs I posted on the previous page, maybe there's something in there that could lead you to the problem.
technics2000
 
Posts: 11
Joined: Tue Sep 07, 2010 1:06 pm

Postby seanpkeown » Sun Oct 17, 2010 12:46 am

Good News. I tested this on my brothers phone who is running android 2.2 and it no longer skips. ^_^
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests