2012-10-11, 21:22
I don't follow. Where do you have { "type": "shuffle/repeat" } from?
(2012-10-10, 02:27)yallah Wrote: Hi,
Sorry but since commit 8b9f91d3f765f370fd479ac64229a9be805f2dd1 (https://github.com/xbmc/xbmc/pull/1480), I have some problems to get thumbnail or fanart with JSON (can't get any images for musics and videos...). I use exactly same command methods, with same computer(on windows 7), same db, same mysql, same library,....
just before commit 8b9f91d3f765f370fd479ac64229a9be805f2dd1: http://xbmclogs.com/show.php?id=10314
with commit 8b9f91d3f765f370fd479ac64229a9be805f2dd1 : http://xbmclogs.com/show.php?id=10315
thx
(2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands?
For example, I send this command to bring up the OSD Channels window (which works correctly):
{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}}
Then, I try to navigate the list with:
{"jsonrpc":"2.0","method":"Input.Up","id":1}
Or with:
{"jsonrpc":"2.0","id": 1,"method":"Input.ExecuteAction", "params": {"action": "up"}, "id": "1"}
Neither works…
I'm using the latest Frodo nightly from today.
{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"video"}, "id": "1"}}
(2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands?Will have to give this a try.
For example, I send this command to bring up the OSD Channels window (which works correctly):
{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}}
Then, I try to navigate the list with:
{"jsonrpc":"2.0","method":"Input.Up","id":1}
Or with:
{"jsonrpc":"2.0","id": 1,"method":"Input.ExecuteAction", "params": {"action": "up"}, "id": "1"}
Neither works…
I'm using the latest Frodo nightly from today.
(2012-10-19, 22:52)Jasp Wrote: After seeing that GUI.ActivateWindow was added I've updated to the latest as well.
I can't seem to navigate to Movies from TV Shows and vice versa. whenever I send the following command I get sent to the one I was previously at:
Code:{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"video"}, "id": "1"}}
Is there a way to go directly to Movies or TV Shows?
{ "jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "MovieTitles" ] }, "id": 1 }
(2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands?
For example, I send this command to bring up the OSD Channels window (which works correctly):
{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}}
Then, I try to navigate the list with:
{"jsonrpc":"2.0","method":"Input.Up","id":1}
Or with:
{"jsonrpc":"2.0","id": 1,"method":"Input.ExecuteAction", "params": {"action": "up"}, "id": "1"}
Neither works…
I'm using the latest Frodo nightly from today.
(2012-10-21, 10:57)Montellese Wrote:(2012-10-19, 18:30)Ayla Wrote: What is the correct way to navigate the PVR OSD with JSON-RPC commands?
For example, I send this command to bring up the OSD Channels window (which works correctly):
{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}}
Then, I try to navigate the list with:
{"jsonrpc":"2.0","method":"Input.Up","id":1}
Or with:
{"jsonrpc":"2.0","id": 1,"method":"Input.ExecuteAction", "params": {"action": "up"}, "id": "1"}
Neither works…
I'm using the latest Frodo nightly from today.
I just tested this and it works for me. But there are two things that might cause this problem:
- Calling GUI.ActivateWindow with a "window" parameter that is actually a dialog will block that request/thread until the dialog has been closed.
- There can be a dead lock when switching channels etc so maybe your XBMC was already dead locked when you tried those commands.