dreamapps786 / scrobbledroid

Automatically exported from code.google.com/p/scrobbledroid
MIT License
0 stars 0 forks source link

Called setQueuePosition when start play item #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I can't play a music media on native music player after install scrobbledroid.

scrobbler is started on prepare status. 
It call setQueuePosition and player receive reset command

I don't know why does it happend.
please check follow log message and guide us.

Thanks

09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): AddToScheduler
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): PendForExec
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): OsclActiveScheduler::Current
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): StartScheduler
09-23 12:38:47.271: VERBOSE/PVPlayer(1281): send PLAYER_SETUP
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): Send player code: 2
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): Completed command PLAYER_SETUP 
status=PVMFSuccess
09-23 12:38:47.271: VERBOSE/PVPlayer(1281): setDataSource(/mnt/sdcard/01-01. 
Uprising.mp3)
09-23 12:38:47.271: VERBOSE/PVPlayer(1281): prepareAsync
09-23 12:38:47.271: VERBOSE/PVPlayer(1281):   data source = /mnt/sdcard/01-01. 
Uprising.mp3
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): Send player code: 3
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): handleSetDataSource
09-23 12:38:47.271: VERBOSE/PlayerDriver(1281): handleSetDataSource- scanning 
for extension
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): Completed command 
PLAYER_SET_DATA_SOURCE status=PVMFSuccess
09-23 12:38:47.281: VERBOSE/PVPlayer(1281): run_init s=0, cancelled=0
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): Send player code: 6
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): release string is 2.2 len 3
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): Completed command PLAYER_INIT 
status=PVMFSuccess
09-23 12:38:47.281: VERBOSE/PVPlayer(1281): run_set_video_surface s=0, 
cancelled=0
09-23 12:38:47.281: VERBOSE/PVPlayer(1281): run_set_audio_output s=0, 
cancelled=0
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): Send player code: 5
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): Create realtime output
09-23 12:38:47.281: ERROR/PlayerDriver(1281): Creating Non-Tunnel mode playback 
- uncompressed MIO
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.281: VERBOSE/PlayerDriver(1281): Completed command 
PLAYER_SET_AUDIO_SINK status=PVMFSuccess
09-23 12:38:47.281: VERBOSE/PVPlayer(1281): run_prepare s=0, cancelled=0
09-23 12:38:47.291: VERBOSE/PlayerDriver(1281): Send player code: 7
09-23 12:38:47.291: VERBOSE/PlayerDriver(1281): disable natpkt - 0
09-23 12:38:47.311: VERBOSE/PlayerDriver(1281): HandleInformationalEvent: 
UNKNOWN PVMFStatus
09-23 12:38:47.311: VERBOSE/PlayerDriver(1281): HandleInformationalEvent: 
type=44 UNHANDLED
09-23 12:38:47.311: WARN/MediaPlayer(18539): info/warning (1, 44)
09-23 12:38:47.311: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.311: VERBOSE/PlayerDriver(1281): Completed command 
PLAYER_PREPARE status=PVMFSuccess
09-23 12:38:47.311: VERBOSE/PlayerDriver(1281): PLAYER_PREPARE complete 
mDownloadContextData=0x0, mDataReadyReceived=0
09-23 12:38:47.311: VERBOSE/PlayerDriver(1281): Player is in prepared state, 
hence put the player to Pause state
09-23 12:38:47.321: VERBOSE/PVPlayer(1281): check_for_live_streaming s=0, 
cancelled=0
09-23 12:38:47.321: VERBOSE/PlayerDriver(1281): HandleInformationalEvent: 
PVMFInfoPositionStatus
09-23 12:38:47.321: VERBOSE/PlayerDriver(1281): Send player code: 14
09-23 12:38:47.321: VERBOSE/PlayerDriver(1281): position=0
09-23 12:38:47.331: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.331: VERBOSE/PlayerDriver(1281): Completed command <null> 
status=PVMFSuccess
09-23 12:38:47.331: VERBOSE/PlayerDriver(1281): HandleInformationalEvent: 
PVMFInfoDurationAvailable
09-23 12:38:47.331: VERBOSE/PlayerDriver(1281): .... with duration = 302889 ms
09-23 12:38:47.331: INFO/ActivityManager(1394): Start proc 
net.jjc1138.android.scrobbler for broadcast 
net.jjc1138.android.scrobbler/.MusicBroadcastReceiver: pid=18554 uid=10011 
gids={3003, 1015}
09-23 12:38:47.341: ERROR/MediaPlaybackService(18539): 
[MediaPlaybackService:play]
09-23 12:38:47.341: INFO/AudioService(1394):  AudioFocus  requestAudioFocus() 
from 
android.media.AudioManager@450dbc78com.android.music.MediaPlaybackService$3@450d
ade0
09-23 12:38:47.341: INFO/AudioService(1394):   Remote Control   
registerMediaButtonEventReceiver() for 
ComponentInfo{com.android.music/com.android.music.MediaButtonIntentReceiver}
09-23 12:38:47.341: VERBOSE/PlayerDriver(1281): Send player code: 15
09-23 12:38:47.341: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.341: VERBOSE/PlayerDriver(1281): Completed command 
PLAYER_GET_DURATION status=PVMFSuccess
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): Send player code: 14
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): position=0
09-23 12:38:47.351: VERBOSE/PVPlayer(1281): setLooping(0)
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): Send player code: 12
09-23 12:38:47.351: VERBOSE/PVPlayer(1281): setLooping(0)
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): Send player code: 12
09-23 12:38:47.351: VERBOSE/PVPlayer(1281): start
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): Send player code: 8
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.351: VERBOSE/PlayerDriver(1281): Completed command PLAYER_START 
status=PVMFSuccess
09-23 12:38:47.471: VERBOSE/PlayerDriver(1281): Send player code: 14
09-23 12:38:47.471: VERBOSE/PlayerDriver(1281): position=0
09-23 12:38:47.501: INFO/ActivityManager(1394): Starting activity: Intent { 
act=com.android.music.PLAYBACK_VIEWER flg=0x4000000 
cmp=com.android.music/.MediaPlaybackActivity }
09-23 12:38:47.531: INFO/MediaPlayer(18539): Info (1,44)
09-23 12:38:47.681: ERROR/MediaPlaybackService(18539): 
[MediaPlaybackService:setQueuePosition]
09-23 12:38:47.681: ERROR/MediaPlaybackService(18539): 
[MediaPlaybackService:stop]
09-23 12:38:47.681: VERBOSE/PVPlayer(1281): reset
09-23 12:38:47.681: VERBOSE/PlayerDriver(1281): Send player code: 18
09-23 12:38:47.681: VERBOSE/PlayerDriver(1281): handleCancelAllCommands
09-23 12:38:47.771: WARN/AudioFlinger(1281): write blocked for 284 msecs, 10 
delayed writes, thread 0xbb68
09-23 12:38:47.821: INFO/ActivityManager(1394): Displayed activity 
com.android.music/.MediaPlaybackActivity: 263 ms (total 263 ms)
09-23 12:38:47.961: VERBOSE/PlayerDriver(1281): CommandCompleted
09-23 12:38:47.961: VERBOSE/PlayerDriver(1281): Completed command 
PLAYER_CANCEL_ALL_COMMANDS status=PVMFSuccess
09-23 12:38:47.961: VERBOSE/PlayerDriver(1281): Send player code: 11

Original issue reported on code.google.com by seal7...@gmail.com on 23 Sep 2010 at 4:11