2014-02-16, 23:20
Hello All,
Okay, I've been experimenting with window access/navigation via JSON RPC calls and am having a bit of difficulty with an item mentioned in the wiki.
For the record, v6 (Frodo).
Access to the "parent directory" for videos is working when I use...
jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos"},"id":"1"}}
...however, I can't seem to directly navigate to my Movies or TV Shows pages.
At http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs , The wiki states I should use something like...
ActivateWindow(Videos,MovieTitles)
...but attempting this in my call has failed. I've tried the following variants:
jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos,movietitles"},"id":"1"}}
jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos","movietitles"},"id":"1"}}
Both fail, stating that "movietitles" is not a recognized enumerator.
So, how to I get this to work? How do I directly navigate to either the Movies or the TV Shows via a JSON RPC call?
Okay, I've been experimenting with window access/navigation via JSON RPC calls and am having a bit of difficulty with an item mentioned in the wiki.
For the record, v6 (Frodo).
Access to the "parent directory" for videos is working when I use...
jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos"},"id":"1"}}
...however, I can't seem to directly navigate to my Movies or TV Shows pages.
At http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs , The wiki states I should use something like...
ActivateWindow(Videos,MovieTitles)
...but attempting this in my call has failed. I've tried the following variants:
jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos,movietitles"},"id":"1"}}
jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos","movietitles"},"id":"1"}}
Both fail, stating that "movietitles" is not a recognized enumerator.
So, how to I get this to work? How do I directly navigate to either the Movies or the TV Shows via a JSON RPC call?