2016-08-06, 21:15
I'm posting this because it took me several days and an unanswered post to figure this out, so I hope this will save others some time.
The sticky "Changes to the skinning engine for Kodi Krypton" in the skinning forum lists many new InfoLabels, of which the Player.Process ones were of interest to me.
Quoting that post (2373685 (post)):
Player.Process(VideoDecoder)
Player.Process(DeintMethod)
Player.Process(PixFormat)
Player.Process(VideoWidth)
Player.Process(VideoHeight)
Player.Process(VideoFps)
Player.Process(VideoDar)
Player.Process(AudioDecoder)
Player.Process(AudioChannels)
Player.Process(AudioSamplerate)
Player.Process(AudioBitsPerSample)
However, using these in practice:
Did not work.
Looking at the included Estuary skin for Krypton file, "DialogPlayerProcessInfo.xml" revealed that the parts inside the parentheses were not capitalized as in Ronie's post.
So changing the code to:
Does indeed work.
The sticky "Changes to the skinning engine for Kodi Krypton" in the skinning forum lists many new InfoLabels, of which the Player.Process ones were of interest to me.
Quoting that post (2373685 (post)):
Player.Process(VideoDecoder)
Player.Process(DeintMethod)
Player.Process(PixFormat)
Player.Process(VideoWidth)
Player.Process(VideoHeight)
Player.Process(VideoFps)
Player.Process(VideoDar)
Player.Process(AudioDecoder)
Player.Process(AudioChannels)
Player.Process(AudioSamplerate)
Player.Process(AudioBitsPerSample)
However, using these in practice:
Code:
query = '{"jsonrpc": "2.0", "method": "XBMC.GetInfoLabels", "params": {"labels": ["Player.Process(VideoFps)"]}, "id": 1}'
xbmc.getInfoLabel('Player.Process(VideoFps)')
Did not work.
Looking at the included Estuary skin for Krypton file, "DialogPlayerProcessInfo.xml" revealed that the parts inside the parentheses were not capitalized as in Ronie's post.
So changing the code to:
Code:
query = '{"jsonrpc": "2.0", "method": "XBMC.GetInfoLabels", "params": {"labels": ["Player.Process(videofps)"]}, "id": 1}'
xbmc.getInfoLabel('Player.Process(videofps)')
Does indeed work.