2010-11-04, 19:15
Thanks for the log and the detailed description about what you did. Here is what I can see from the log (I picked out the important lines):
You started playing the movie here:
and my tool immediatly asks XBMC about the current position and length of the playing file:
My tool then grabs some additional information about the file from the XBMC library and finally (still within the same second you started playing the movie) sets the progress bars:
Then comes the period where you let the movie play for 36 seconds which looks like this:
As expected the progress is updated every 5 seconds. Of course you need to realise that there won't be any visible change on the display because 35 seconds is only 1/186 of the total of 6534 seconds (108 min) and as there are only 32 pieces of the progress bar you won't see anything until you get to 205 seconds.
Ok let's see what else we got in the log. Then you pressed "Pause" which makes my tool ask XBMC for the current position again and display it on the screen:
Then you resumed playback which forces yet another update of the progress bar
Then you make some jumps ahead which is where there seems to be a problem. When my tool asks XBMC about the new position after the seek XBMC returns:
which makes my program reset the progress bar to 0. As soon as you pause/play it is updated to the correct position.
I will look into this as it works perfectly fine at my place. Did you ever try this with a music song? Music songs are better suited to test this problem because the overall progress proceeds faster and you should see something on the progress bar sooner (in a 4 minutes song you should see the first bar piece at the top after 10 seconds or so.
Concerning the volume problem I can't see anything in the log as it seems to be coming from iMon Manager and not from my tool.
You started playing the movie here:
Code:
04/11/2010 18:46:30 [XBMC Handler] Playback started
Code:
04/11/2010 18:46:30 [XBMC] XbmcVideoPlayer.GetTime()
04/11/2010 18:46:30 [XBMC] Calling JSON RPC method "VideoPlayer.GetTimeMS"...
04/11/2010 18:46:30 [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "VideoPlayer.GetTimeMS",
"id": 7
}
04/11/2010 18:46:30 [XBMC] JSON RPC response: {
"id" : 7,
"jsonrpc" : "2.0",
"result" : {
"paused" : false,
"playing" : true,
"time" : 1,
"total" : 6534000
}
}
Code:
04/11/2010 18:46:30 [iMON] IMON_Display_SetLcdProgress(1, 6534000)
Code:
04/11/2010 18:46:35 [iMON] IMON_Display_SetLcdProgress(5001, 6534000)
04/11/2010 18:46:40 [iMON] IMON_Display_SetLcdProgress(10001, 6534000)
04/11/2010 18:46:45 [iMON] IMON_Display_SetLcdProgress(15001, 6534000)
04/11/2010 18:46:50 [iMON] IMON_Display_SetLcdProgress(20001, 6534000)
04/11/2010 18:46:55 [iMON] IMON_Display_SetLcdProgress(25001, 6534000)
04/11/2010 18:47:00 [iMON] IMON_Display_SetLcdProgress(30001, 6534000)
04/11/2010 18:47:05 [iMON] IMON_Display_SetLcdProgress(35001, 6534000)
Ok let's see what else we got in the log. Then you pressed "Pause" which makes my tool ask XBMC for the current position again and display it on the screen:
Code:
04/11/2010 18:47:06 [XBMC Handler] Playback paused
04/11/2010 18:47:06 [iMON] IMON_Display_SetLcdProgress(35235, 6534000)
Code:
04/11/2010 18:47:10 [XBMC Handler] Playback resumed
04/11/2010 18:47:10 [iMON] IMON_Display_SetLcdProgress(36822, 6534000)
Then you make some jumps ahead which is where there seems to be a problem. When my tool asks XBMC about the new position after the seek XBMC returns:
Code:
04/11/2010 18:47:17 [XBMC] JSON RPC response: {
"id" : 26,
"jsonrpc" : "2.0",
"result" : {
"Player.SeekTime" : "00:00:00"
}
}
which makes my program reset the progress bar to 0. As soon as you pause/play it is updated to the correct position.
I will look into this as it works perfectly fine at my place. Did you ever try this with a music song? Music songs are better suited to test this problem because the overall progress proceeds faster and you should see something on the progress bar sooner (in a 4 minutes song you should see the first bar piece at the top after 10 seconds or so.
Concerning the volume problem I can't see anything in the log as it seems to be coming from iMon Manager and not from my tool.