VideoPlayer: expose stream player info to GUI - Info label names?
#16
(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.
Reply
#17
(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 Smile

Whatever you guys decide will be fine.
Reply
#18
Here is the change: https://github.com/xbmc/xbmc/pull/10069

can someone verify that it works?
Reply
#19
I haven't set up a build environment. Could you trigger a test build?
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#20
Just triggered a build - should appear in the Windows test builds in about an hour.
Reply
#21
Thanks. Still have some issues. Let's continue on GitHub (https://github.com/xbmc/xbmc/pull/10069#...-230167781)
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#22
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:
Code:
query = '{"jsonrpc": "2.0", "method": "XBMC.GetInfoLabels", "params": {"labels": ["Player.Process(VideoFps)"]}, "id": 1}'
result = xbmc.executeJSONRPC(query)
jsonr = loads(result)
returns a dict with an empty string 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?
Reply
#23
Ok, the problem was the capitalization detailed in @ronie 's post in the sticky.

No caps in the parenthesis (i.e. should be Player.Process(videofps).
Reply

Logout Mark Read Team Forum Stats Members Help
VideoPlayer: expose stream player info to GUI - Info label names?0