Posts: 20
Joined: Sep 2015
Reputation:
0
I just upgraded to the latest stable build. After I upgraded a Python script I was running no longer works,
f = urllib.urlopen('http://192.168.1.83/jsonrpc?request={"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":0,"properties":["speed","percentage","totaltime","time"]},"id":1}')
result = f.read()
I do not get any returned data now.
Is this a know issue or did some thing change?
Posts: 20
Joined: Sep 2015
Reputation:
0
Was able to confirm, works fine on 14 but not on 15
Posts: 17,859
Joined: Jul 2011
Reputation:
371
let me move it to JSON section
Posts: 20
Joined: Sep 2015
Reputation:
0
Bump, has any one looked into fixing this?
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Did you try URL encoding the JSON-RPC request i.e. the value of the "request" GET parameter?
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: 20
Joined: Sep 2015
Reputation:
0
2015-10-08, 21:34
(This post was last modified: 2015-10-08, 21:35 by [email protected].)
Sorry, but I don't know what your asking. I am doing this Python and not sure if this is the best way to do it.
FYI, I am not a developer, I am just writing a small Python script that I run in EventGhost to send playing info to iRule.