Page 1 of 1

Android - Randomly starts playing when phone idle

PostPosted: Sat Oct 01, 2011 3:20 pm
by Xjph
I have an odd issue with subsonic on my Galaxy II S. I will - seemingly randomly - have subsonic start playing. The phone might be in my pocket, or just sitting on a desk, and it may have been idle for five minutes or five hours, but suddenly my most recent playlist starts playing. The notification bar will show Error playing "trackname" - MediaPlayer error: 100 (0) (Exception), and whatever track is immediately after the one listed in the error will play.
Other than this it works perfectly, and I use it quite regularly. It would just be nice if it no longer had a chance of randomly starting to blast Lonely Island while I'm at work. ;)

Android mediaserver death causes subsonic to start playing.

PostPosted: Wed Oct 05, 2011 6:06 pm
by plastikman
I'm not sure if any one else has noticed this or uses Cyanogenmod but I am having the following issue.

When I take a photo then open the gallery from within the camera the mediaserver dies, this is not a big deal since the media server reloads on its own. When the media server dies the subsonic application restarts and starts playing what ever song it had that was paused.

Here is a link to the logcat when the issue happens. I have a hard time believing that i am the only one with this issue, but i hope posting it here helps to get it solved. This seems to have started with the last update to the subsonic app on android.


Code: Select all
D/CameraSettings( 3114): Extract changes completed, 0 total changes
D/CameraSettings( 3114): Extract changes completed, 0 total changes
V/camera  ( 2937): startPreview
D/CameraCompModule( 3114): Focus distance (0) = 3.151, Infinity, Infinity
D/CameraCompModule( 3114): Focus distance (0) = 3.151, Infinity, Infinity
E/CameraSettings( 3114): Param type 50 not supported
D/CameraHal( 3114): focus-distance = 3.151, Infinity, Infinity
D/CameraHal( 3114): CAM_PERF: Delta between JPG and preview restarted by app 180 ms
I/HPAndroidHAL( 3114): APILOG: DisableSensorLensShading()
I/TIOverlay( 3114): Nothing to do!
D/CameraHal( 3114): Enabling preview
I/HPAndroidHAL( 3114): APILOG: Enable Preview
D/CameraHal( 3114): Spawning preview thread
D/dalvikvm( 2937): GC_CONCURRENT freed 209K, 46% free 4348K/7943K, external 644K/1156K, paused 3ms+3ms
I/HPAndroidHAL( 3114): Exiting thread Unnamed Thread (ID: 0xa7a38)
D/CameraHal( 3114): CAM_PERF: Time to restart preview after capture 141 ms
I/DownloadFile( 2905): Downloaded 8.46 MB of Kriket
V/camera  ( 2937): mJpegCallbackFinishTime = 743ms
D/dalvikvm( 2250): GC_EXTERNAL_ALLOC freed 256K, 54% free 2735K/5895K, external 51K/521K, paused 131ms
E/CameraHal( 3114): FPS info -> 15.83-fps
I/DownloadFile( 2905): Downloaded 8.69 MB of Kriket
E/CameraHal( 3114): FPS info -> 30.04-fps
I/ActivityManager( 1740): Starting: Intent { act=com.cooliris.media.action.REVIEW dat=content://media/external/images/media/660 cmp=com.cooliris.media/.Gallery } from pid 2937
V/camera  ( 2937): stopPreview
D/CameraHal( 3114): stopPreview
I/HPAndroidHAL( 3114): APILOG: S1Up
D/CameraHal( 3114): stop preview thread
I/HPAndroidHAL( 3114): APILOG: Disable Preview
D/CameraHal( 3114): stopPreview
I/HPAndroidHAL( 3114): APILOG: S1Up
D/CameraHal( 3114): stopPreview
I/HPAndroidHAL( 3114): APILOG: S1Up
I/DEBUG   ( 2991): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 2991): Build fingerprint: 'verizon/shadow_vzw/cdma_shadow:2.3.3/4.5.1_57_DX5-26/110429:user/release-keys'
I/DEBUG   ( 2991): pid: 3114, tid: 3155  >>> /system/bin/mediaserver <<<
I/DEBUG   ( 2991): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr aaf7fa44
I/DEBUG   ( 2991):  r0 0002d230  r1 a79184c4  r2 a7909d81  r3 aaf7fa46
I/DEBUG   ( 2991):  r4 0002d230  r5 000bacd4  r6 00000b79  r7 00000001
I/DEBUG   ( 2991):  r8 42339df0  r9 00000c2a  10 000003f5  fp 00000000
I/DEBUG   ( 2991):  ip a7918c10  sp 42339d40  lr a7909d8d  pc aaf7fa44  cpsr 60000010
I/DEBUG   ( 2991):  d0  6472656767756265  d1  afd1cb4100000053
I/DEBUG   ( 2991):  d2  42339c0900000031  d3  000000f100000055
I/DEBUG   ( 2991):  d4  00000000ffff0208  d5  0000020800000000
I/DEBUG   ( 2991):  d6  00000000000001ec  d7  0000000180b84118
I/DEBUG   ( 2991):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 2991):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 2991):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 2991):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 2991):  d16 00000000000000b4  d17 3fe0000000000000
I/DEBUG   ( 2991):  d18 4000000000000000  d19 bfd2f8823751ddbc
I/DEBUG   ( 2991):  d20 3f114d8b08ef73f2  d21 bebbaf03b8fe0a0e
I/DEBUG   ( 2991):  d22 3ff0000000000000  d23 3fe81c5753a017a4
I/DEBUG   ( 2991):  d24 3e66376972bea4d0  d25 0000000000000000
I/DEBUG   ( 2991):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   ( 2991):  d28 0000000000000000  d29 0000000000000000
I/DEBUG   ( 2991):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 2991):  scr 80000010
I/DEBUG   ( 2991):
I/DEBUG   ( 2991):          #00  pc aaf7fa44
I/DEBUG   ( 2991):          #01  pc 00009d8a  /system/lib/libcamera.so
I/DEBUG   ( 2991):          #02  pc 00009de0  /system/lib/libcameraservice.so (_ZN7android13CameraService6Client10disconnectEv)
I/DEBUG   ( 2991):          #03  pc 0000e8a6  /system/lib/libcamera_client.so (_ZN7android8BnCamera10onTransactEjRKNS_6ParcelEPS1_j)
I/DEBUG   ( 2991):          #04  pc 000135e0  /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j)
I/DEBUG   ( 2991):          #05  pc 000167fe  /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi)
I/DEBUG   ( 2991):          #06  pc 000169de  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb)
I/DEBUG   ( 2991):          #07  pc 0001c06c  /system/lib/libbinder.so
I/DEBUG   ( 2991):          #08  pc 0001eaac  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv)
I/DEBUG   ( 2991):          #09  pc 0001f00a  /system/lib/libutils.so
I/DEBUG   ( 2991):          #10  pc 00011e30  /system/lib/libc.so (__thread_entry)
I/DEBUG   ( 2991):          #11  pc 00011a04  /system/lib/libc.so (pthread_create)
I/DEBUG   ( 2991):
I/DEBUG   ( 2991): code around pc:
I/DEBUG   ( 2991): aaf7fa24 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   ( 2991): aaf7fa34 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   ( 2991): aaf7fa44 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   ( 2991): aaf7fa54 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   ( 2991): aaf7fa64 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   ( 2991):
I/DEBUG   ( 2991): code around lr:
I/DEBUG   ( 2991): a7909d6c 0015f06f bf004770 6802b510 47986d53
I/DEBUG   ( 2991): a7909d7c bf00bd10 4604b510 6d836808 47984620
I/DEBUG   ( 2991): a7909d8c bd104620 bf004770 bf004770 0004f1a0
I/DEBUG   ( 2991): a7909d9c bf00e000 bf004770 0004f1a0 bf00e000
I/DEBUG   ( 2991): a7909dac bf004770 0004f1a0 bf00e000 bf004770
I/DEBUG   ( 2991):
I/DEBUG   ( 2991): stack:
I/DEBUG   ( 2991):     42339d00  80b5f4e8  /system/lib/libHPImgApi.so
I/DEBUG   ( 2991):     42339d04  00000001
I/DEBUG   ( 2991):     42339d08  0002d230
I/DEBUG   ( 2991):     42339d0c  00000001
I/DEBUG   ( 2991):     42339d10  0002d240
I/DEBUG   ( 2991):     42339d14  0002d230
I/DEBUG   ( 2991):     42339d18  0002d230
I/DEBUG   ( 2991):     42339d1c  00000000
I/DEBUG   ( 2991):     42339d20  00000b79
I/DEBUG   ( 2991):     42339d24  00000001
I/DEBUG   ( 2991):     42339d28  42339df0
I/DEBUG   ( 2991):     42339d2c  00000c2a
I/DEBUG   ( 2991):     42339d30  000003f5
I/DEBUG   ( 2991):     42339d34  a790eda3  /system/lib/libcamera.so
I/DEBUG   ( 2991):     42339d38  df002777
I/DEBUG   ( 2991):     42339d3c  e3a070ad
I/DEBUG   ( 2991): #01 42339d40  000bac90
I/DEBUG   ( 2991):     42339d44  a8009de3  /system/lib/libcameraservice.so
W/ActivityManager( 1740): Activity pause timeout for HistoryRecord{407a74e0 com.android.camera/.Camera}
I/WindowManager( 1740): Setting rotation to 0, animFlags=1
I/ActivityManager( 1740): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=9 themeResource=null}
D/PhoneApp( 1981): updateProximitySensorMode: state = IDLE
I/TIOverlay( 1740): Position/X0/Y0/W480/H640
I/TIOverlay( 1740): Adjusted Position/X0/Y0/W480/H640
I/TIOverlay( 1740): Rotation/0
D/PhoneApp( 1981): updateProximitySensorMode: lock already released.
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/PowerWidget( 1967): Clearing any old widget stuffs
I/PowerWidget( 1967): Setting up widget
I/PowerWidget( 1967): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSound|toggleFlashlight|toggleAirplane
I/PowerWidget( 1967): Setting up button: toggleWifi
I/PowerWidget( 1967): Setting up button: toggleBluetooth
I/PowerWidget( 1967): Setting up button: toggleGPS
I/PowerWidget( 1967): Setting up button: toggleSound
I/PowerWidget( 1967): Setting up button: toggleFlashlight
I/PowerWidget( 1967): Setting up button: toggleAirplane
I/Gallery ( 2620): onCreate
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/ActivityManager( 1740): Displayed com.cooliris.media/.Gallery: +473ms
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/TIOverlay( 1740): Nothing to do!
I/RenderView( 2620): First Draw
D/CacheService( 2620): Refreshing Cache for dirty items
I/CacheService( 2620): Refreshing dirty albums
I/CacheService( 2620): Building items.
I/CacheService( 2620): Updating dirty albums where bucket_id in (1506676782)
D/dalvikvm( 2620): GC_CONCURRENT freed 1279K, 53% free 3618K/7559K, external 764K/841K, paused 3ms+13ms
D/dalvikvm( 2620): GC_FOR_MALLOC freed 128K, 53% free 3613K/7559K, external 491K/841K, paused 48ms
I/CacheService( 2620): Done building items.
I/DownloadFile( 2905): Downloaded 8.83 MB of Kriket
D/dalvikvm( 2620): GC_CONCURRENT freed 713K, 55% free 3442K/7559K, external 297K/809K, paused 2ms+3ms
I/GridLayer( 2620): Slot changing from -1 to -1
D/dalvikvm( 1740): GC_EXPLICIT freed 152K, 44% free 7043K/12423K, external 1906K/2418K, paused 212ms
D/dalvikvm( 2620): GC_CONCURRENT freed 317K, 53% free 3618K/7559K, external 297K/809K, paused 2ms+3ms
D/dalvikvm( 2620): GC_EXTERNAL_ALLOC freed 30K, 52% free 3674K/7559K, external 624K/809K, paused 96ms
I/DownloadFile( 2905): Downloaded 9.07 MB of Kriket
I/BootReceiver( 1740): Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
D/dalvikvm( 1740): GC_FOR_MALLOC freed 392K, 42% free 7314K/12423K, external 1906K/2418K, paused 119ms
D/dalvikvm( 1740): GC_FOR_MALLOC freed 496K, 43% free 7142K/12423K, external 1906K/2418K, paused 124ms
W/IMediaDeathNotifier( 2905): media server died
E/MediaPlayer( 2905): error (100, 0)
I/ServiceManager( 1576): service 'media.player' died
I/ServiceManager( 1576): service 'media.camera' died
I/ServiceManager( 1576): service 'media.audio_flinger' died
I/ServiceManager( 1576): service 'media.audio_policy' died
W/Camera  ( 2937): Camera server died!
W/AudioSystem( 2937): AudioFlinger server died!
W/AudioSystem( 2937): AudioPolicyService server died!
W/Camera  ( 2937): ICamera died
W/Camera-JNI( 2937): callback on dead camera object
W/AudioSystem( 1740): AudioFlinger server died!
W/AudioSystem( 1740): AudioPolicyService server died!
E/MediaPlayer( 2905): Error (100,0)
E/DownloadServiceImpl( 2905): Error playing "Plasticine"
E/DownloadServiceImpl( 2905): java.lang.Exception: MediaPlayer error: 100 (0)
E/DownloadServiceImpl( 2905):   at net.sourceforge.subsonic.androidapp.service.DownloadServiceImpl$1.onError(DownloadServiceImpl.java:119)
E/DownloadServiceImpl( 2905):   at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:1341)
E/DownloadServiceImpl( 2905):   at android.os.Handler.dispatchMessage(Handler.java:99)
E/DownloadServiceImpl( 2905):   at android.os.Looper.loop(Looper.java:130)
E/DownloadServiceImpl( 2905):   at android.app.ActivityThread.main(ActivityThread.java:3835)
E/DownloadServiceImpl( 2905):   at java.lang.reflect.Method.invokeNative(Native Method)
E/DownloadServiceImpl( 2905):   at java.lang.reflect.Method.invoke(Method.java:507)
E/DownloadServiceImpl( 2905):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/DownloadServiceImpl( 2905):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/DownloadServiceImpl( 2905):   at dalvik.system.NativeStart.main(Native Method)
I/DownloadServiceImpl( 2905): PAUSED -> IDLE (DownloadFile (Plasticine))
I/DownloadServiceImpl( 2905): IDLE -> COMPLETED (DownloadFile (Plasticine))
I/TIOverlay( 1740): Nothing to do!
I/        ( 3180): ServiceManager: 0xad50
D/AudioMgrRIL( 3180): Requesting current call status from RDS
D/AudioMgrRIL( 3180): RDS reports call not connected (callStatus = 0)
D/AudioHardwareMot( 3180): mixer fd = 8
D/AudioPostProcessor( 3180): AudioPostProcessor()
D/AudioPostProcessor( 3180): Scene 0: gains 14, 10
D/AudioPostProcessor( 3180): Scene 1: gains 14, 14
D/AudioPostProcessor( 3180): Scene 2: gains 14, 14
D/AudioPostProcessor( 3180): Scene 3: gains 14, 14
D/AudioPostProcessor( 3180): Scene 4: gains 8, 4
D/AudioPostProcessor( 3180): Scene 5: gains 14, 14
D/AudioPostProcessor( 3180): Scene 6: gains 0, 0
D/AudioPostProcessor( 3180): Scene 7: gains 0, 0
D/AudioPostProcessor( 3180): No debug parameters in /data; checking ro.product.brand
D/AudioPostProcessor( 3180): ro.product.brand value = verizon
D/AudioPostProcessor( 3180): /system/bin/ap_gain.bin file size is 50371
D/AudioPostProcessor( 3180): Read format version 0x408, content version 0x412 from /system/bin/ap_gain.bin
D/AudioPostProcessor( 3180): Successfully parsed parameters from /system/bin/ap_gain.bin
D/AudioMsgHandler_CDMA( 3180): Create socket successful 11
D/AudioHardwareMot( 3180): This is not a Begonia; ignoring ro.audio_disable_primary_mic
D/AudioHardwareMot( 3180): setMode(NORMAL)
I/CameraService( 3180): CameraService started (pid=3180)
D/AudioHardwareMot( 3180): AudioHardwareMot::openOutputStream enter
D/AudioHardwareMot( 3180): AudioStreamOutMot::set(0xaed0, 2, 0, 0 0)
D/AudioHardwareMot( 3180): Output bufSize from kernel = 8192
D/AudioHardwareMot( 3180): Output bufSize from kernel = 8192
I/AudioFlinger( 3180): AudioFlinger's thread 0x13580 ready to run
D/AudioHardwareMot( 3180): Output bufSize from kernel = 8192
D/AudioHardwareMot( 3180): Output bufSize from kernel = 8192
D/AudioHardwareMot( 3180): AudioStreamOutMot::standby called
D/AudioFlinger( 3180): setParameters(): io 1, keyvalue routing=2, tid 3183, calling tid 3180
D/AudioHardwareMot( 3180): AudioStreamOutMot::setParameters() routing=2
D/AudioHardwareMot( 3180): doRouting devs: stereo 0, mono 0, input 0. Chose speaker None (gain 0xb) mic None (gain 0x1c1c)
D/AudioHardwareMot( 3180): setVoiceVolume(-1.000000) under 0.0, assuming 0.0
D/AudioHardwareMot( 3180): setVoiceVolume(0.000000) Setting in-call volume to 0 (available range is 0 to 7)
D/AudioMgrRIL( 3180): setting volume, volume = 0
D/AudioHardwareMot( 3180): setVoiceVolume(1.000000) Setting in-call volume to 7 (available range is 0 to 7)
D/AudioMgrRIL( 3180): setting volume, volume = 7
I/TIOverlay( 1740): Nothing to do!
D/dalvikvm( 2620): GC_EXTERNAL_ALLOC freed 78K, 52% free 3630K/7559K, external 1304K/1784K, paused 45ms
D/dalvikvm( 2905): GC_EXTERNAL_ALLOC freed 362K, 42% free 4771K/8199K, external 4034K/4115K, paused 85ms
D/dalvikvm( 2620): GC_EXTERNAL_ALLOC freed 5K, 52% free 3665K/7559K, external 2589K/3320K, paused 36ms
I/TIOverlay( 1740): Nothing to do!
D/TIOverlay( 1740): overlay_destroyOverlay:IN dev (0x98508) and overlay (0x3fc940)
I/TIOverlay( 1740): Destroying overlay/fd=224/obj=003fc940
D/TIOverlay( 1740): overlay_destroyOverlay:OUT
W/IInputConnectionWrapper( 2937): showStatusIcon on inactive InputConnection
I/CacheService( 2620): Built thumbnail and screennail for 660 in 3818
I/Util    ( 2905): Deleted file /mnt/sdcard/subsonic/music/Plastikman/Kompilation/01-Plasticine.0.partial.mp3
D/CancellableTask( 2905): Cancelling BufferTask (DownloadFile (Plasticine))
I/DownloadServiceImpl( 2905): COMPLETED -> IDLE (DownloadFile (Spastik))
I/NotificationGroup( 1740): Group: Calendar containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: Email containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: Phone containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: Gmail containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: SMS containing : net.sourceforge.subsonic.androidapp : false
V/ProfileManager( 1740): No active group, returning default: a126d48a-aaef-47c4-baed-7f0e44aeffe5
V/NotificationService( 1740): Pkg: net.sourceforge.subsonic.androidapp group: a126d48a-aaef-47c4-baed-7f0e44aeffe5
D/CancellableTask( 2905): Starting thread for BufferTask (DownloadFile (Spastik))
I/DownloadServiceImpl( 2905): IDLE -> DOWNLOADING (DownloadFile (Spastik))
I/DownloadServiceImpl( 2905): Buffering /mnt/sdcard/subsonic/music/Plastikman/Kompilation/02-Spastik.0.partial.mp3 (0/120960, true)
I/DownloadServiceImpl( 2905): DOWNLOADING -> IDLE (DownloadFile (Spastik))
D/TIOMX_CORE( 3180): init count = 1
I/StagefrightPlayer( 3180): setDataSource('/mnt/sdcard/subsonic/music/Plastikman/Kompilation/02-Spastik.complete.mp3')
I/DownloadServiceImpl( 2905): IDLE -> PREPARING (DownloadFile (Spastik))
I/DownloadServiceImpl( 2905): PREPARING -> PREPARED (DownloadFile (Spastik))
I/DownloadServiceImpl( 2905): PREPARED -> STARTED (DownloadFile (Spastik))
D/AudioPostProcessor( 3180): configPostProcessing() called, inputAccy= 40, outputAccy= 0, sampleRate= 44100, ringtoneMode= 0
D/AudioHardwareMot( 3180): doRouting devs: stereo 0x2, mono 0, input 0. Chose speaker Speakerphone (gain 0xd) mic None (gain 0x1c1c)
D/AudioHardwareMot( 3180): Output 0x134a8 exiting standby
I/DownloadServiceLifecycleSupport( 2905): Serialized currentPlayingIndex: 1, currentPlayingPosition: 365
I/NotificationGroup( 1740): Group: Calendar containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: Email containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: Phone containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: Gmail containing : net.sourceforge.subsonic.androidapp : false
I/NotificationGroup( 1740): Group: SMS containing : net.sourceforge.subsonic.androidapp : false
V/ProfileManager( 1740): No active group, returning default: a126d48a-aaef-47c4-baed-7f0e44aeffe5
V/NotificationService( 1740): Pkg: net.sourceforge.subsonic.androidapp group: a126d48a-aaef-47c4-baed-7f0e44aeffe5
E/AudioService( 1740): Media server died.
E/AudioService( 1740): Media server started.
D/AudioFlinger( 3180): setParameters(): io 0, keyvalue restarting=true, tid 3180, calling tid 1740
E/AudioHardwareMot( 3180): Error:Unsupported key = restarting=true
D/AudioHardwareMot( 3180): setMode(NORMAL)
W/AudioPolicyManagerBase( 3180): setPhoneState() setting same state 0
D/AudioHardwareMot( 3180): Output bufSize from kernel = 8192
I/Util    ( 2905): Successfully invoked Service.startForeground()
D/AudioHardwareMot( 3180): setVoiceVolume(0.714286) Setting in-call volume to 5 (available range is 0 to 7)
D/AudioMgrRIL( 3180): setting volume, volume = 5
D/AudioFlinger( 3180): setParameters(): io 0, keyvalue restarting=false, tid 3180, calling tid 1740
E/AudioHardwareMot( 3180): Error:Unsupported key = restarting=false
I/FileUtil( 2905): Serialized object to /data/data/net.sourceforge.subsonic.androidapp/cache/downloadstate.ser
D/CancellableTask( 2905): Stopping thread for BufferTask (DownloadFile (Spastik))
I/DownloadFile( 2905): Downloaded 9.26 MB of Kriket


Testing this a little further is seems if you kill mediaserver manually subsonic starts playing can this be fixed?

Code: Select all
adb shell
killall mediaserver


with those commands issued I can constantly recreate the automatic playback with the subsonic application.

Thanks

Re: Android - Randomly starts playing when phone idle

PostPosted: Fri Oct 07, 2011 7:26 pm
by plastikman
This is a similar issue as I am having here.

Mods please merge these 2 threads as i think they are the same issue just manifesting in a different light.

MOD: Deleted link as no longer valid as threads are merged

Re: Android - Randomly starts playing when phone idle

PostPosted: Mon Mar 17, 2014 9:21 pm
by Astronutty
So twice today my SubSonic app begins playing (un-pause) local music from the SD card which was paused.

Each time the LG G2 phone was laying on the table, untouched and unmoved.

(This is why you never bring your cellphone to court, even muted or off.)

Has anyone looked into resolving this issue?

Steve

Re: Android - Randomly starts playing when phone idle

PostPosted: Mon Mar 24, 2014 4:31 pm
by pinkmoon
Interesting to just spot this. Have had the exact same issue on my windows phone. Mostly just a little embarrasing in the middle of the office (cool as my music taste my usually be ;). More awkward when just sat down in a job interview..?!? :oops: