2016-07-03, 17:45
2016-07-03, 18:24
(2016-07-03, 17:45)FernetMenta Wrote:(2016-07-03, 17:07)Gade Wrote: +1 to Player.Process(xxx) to keep consistency.
Or even Player.xxx
The latter certainly not. We deal with info here only freaks are interested in and I don't want to mix this with the rest of Player or VideoPlayer labels.
Hehe, sounds fair enough
Whatever you guys decide will be fine.
2016-07-03, 18:40
2016-07-03, 19:15
Just triggered a build - should appear in the Windows test builds in about an hour.
2016-07-03, 20:20
Thanks. Still have some issues. Let's continue on GitHub (https://github.com/xbmc/xbmc/pull/10069#...-230167781)
2016-07-30, 23:09
At this point in time, have these new info label changes been propagated to python and JSON?
Using 17.0-ALPHA3 Git:20160721-a3f94c5 and executing this json code while a video file is successfully playing:
returns a dict with an empty string result:
and
echoes back the string: 'Player.Process(VideoFps)'
Am I using the wrong syntax?
Using 17.0-ALPHA3 Git:20160721-a3f94c5 and executing this json code while a video file is successfully playing:
Code:
query = '{"jsonrpc": "2.0", "method": "XBMC.GetInfoLabels", "params": {"labels": ["Player.Process(VideoFps)"]}, "id": 1}'
result = xbmc.executeJSONRPC(query)
jsonr = loads(result)
Code:
{u'jsonrpc': u'2.0', u'id': 1, u'result': {u'Player.Process(VideoFps)': u''}}
and
Code:
xbmc.getInfoLabel('Player.Process(VideoFps)')
echoes back the string: 'Player.Process(VideoFps)'
Am I using the wrong syntax?