Inconsistent playback percentage values
#1
Hello,
I develop my own playback control and info display and i'd like to use the percentage value from "Player.GetProperties".
But it seems inconsistent.
My client performs a query five times a second and get these percentage results:

Video playback:
1.03541887
1.04024160
1.03784204
1.04265296
1.04024160
1.04506433
1.04265296
1.04748750
1.04506433
1.04989886
1.04748750
1.05232203
1.04989886
1.05473340
1.05232203
So far there is still some problem.
Here I pausing with sending this:
{"jsonrpc": "2.0", "method": "Player.PlayPause", "params": { "playerid": 1 }, "id": 1}
The playback immediately paused but the values oscillates two or three times before takes a fixed value.
1.05473340
1.05617547
1.05473340
1.05617547
1.05617547
1.05617547
1.05617547

Audio playback:

2.42002916
2.34085178
2.48350763
2.42002916
2.54732728
2.48350763
2.61729002
2.54732728
2.68452263
2.61729002
2.75004864
2.68452263
2.82922602
2.75004864
2.89645863
2.82922602
2.96334982
2.89645863
3.03024101
2.96334982
So far there is still some problem too.
Here I pausing with sending this:
{"jsonrpc": "2.0", "method": "Player.PlayPause", "params": { "playerid": 0 }, "id": 1}
The playback immediately paused but the values oscillates in approx 50 secs before takes a fixed value.
3.15378499
3.03024101
3.15446758
3.15378499
3.15037227
3.15446758
3.15412617
3.15037227
3.16163445
3.15412617
3.17903996
3.16163445
3.15549135
...

Platform: Android
Hardware: Strong Leap S3, Android TV 11.0.0 (5.4.180)
Kodi: 20.2.0
Git: 20230629-5f418d0b13

Thanks,
Reply

Logout Mark Read Team Forum Stats Members Help
Inconsistent playback percentage values0