Posts: 58
Joined: Dec 2010
Reputation:
0
2014-03-30, 21:09
(This post was last modified: 2014-03-30, 21:09 by wuench.)
What property values will trigger a Player.OnPropertyChanged notification? The JSONRPC documentation lists a lot of properties like time, percentage, etc. But I don't see any OnPropertyChanged notifications coming in at all so I assume it can't return those values....
Posts: 58
Joined: Dec 2010
Reputation:
0
Ok, thanks. That's what I figured. I know I can retrieve that info through polling, and currently do. But my driver is pushing the CPU on my Raspberry Pi by about 10-15% polling every 3 seconds so I am trying to be a little more efficient on how I poll. OnPropertyChanged looked like it solved all my problems, but it looks like I will need to get more creative and fake the time tracking. I get why you wouldn't want to push that info out in events...
Posts: 5,184
Joined: Jan 2009
Reputation:
131
It's not available in Frodo and there's no real documentation about it except of the API definition.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
You need to use Settings.GetSections to get a list of possible values for "section" and Settings.GetCategories to get a list of possible values for "category". Or you can look into XBMC's settings definition in your XBMC installation under system/settings/settings.xml to see what exists and what doesn't.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 183
Joined: Apr 2012
Reputation:
10
Thanks Montellese, sorry, i was so tired when i wrote this question that i don´t read everything on the commit, now i know how it works, very cool.
Can you tell me if is already possible to request a image with a specific size ? I tried to found any information about this but i don´t found.
Thanks again
Best regards
Clayton