News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

Finding random episode of...

Started by Hiryu, February 25, 2015, 09:52:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hiryu

I'm trying out the find random episode of [series] command, and VC brings me to the Videos main view rather than the menu with the actual show.  I did a GenXML, restarted VC, and still happening.  Maybe I don't understand enough about XJSON to know what I'm doing wrong.  Any advice?

2/25/2015 8:48:12 AM 335 Group: Kodi TV Speech: find random episodes of Battlestar Galactica
2/25/2015 8:48:12 AM 335 semanticID: 879
2/25/2015 8:48:12 AM 335 command ID: 879
2/25/2015 8:48:12 AM 335 semanticID: 879
2/25/2015 8:48:12 AM 335 kvp: command | 879
2/25/2015 8:48:12 AM 335 kvp: payload1 | <879:>Battlestar Galactica (2003)
2/25/2015 8:48:12 AM 335 id from payload: 879
2/25/2015 8:48:12 AM 337 idle timer set for 21 seconds.
2/25/2015 8:48:12 AM 337 [info] Timeout set for: 21(s)

2/25/2015 8:48:12 AM 339 semanticID: 879
2/25/2015 8:48:12 AM 339 kvp: command | 879
2/25/2015 8:48:12 AM 339 kvp: payload1 | <879:>Battlestar Galactica (2003)
2/25/2015 8:48:12 AM 339 id from payload: 879
2/25/2015 8:48:12 AM 339 alternate:find random episodes of Battlestar Galactica
2/25/2015 8:48:12 AM 359 doCommand:Random Episodes of {1}
2/25/2015 8:48:12 AM 359 [plugin] Sending json request:
2/25/2015 8:48:12 AM 359 [plugin] {"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params":{"title":"find random episodes of Battlestar Galactica (60.2)","message":"(1 Random Episodes of {Battlestar Galactica (2003)}) "},"id": "0"}
2/25/2015 8:48:12 AM 359 action repeat set to: 1
2/25/2015 8:48:12 AM 359 Action:  TTS.Speak - Viewing random episodes of Battlestar Galactica (2003)
2/25/2015 8:48:12 AM 359 [action] TTS.Speak:Viewing random episodes of Battlestar Galactica (2003)

2/25/2015 8:48:12 AM 361 [plugin] {
  "id": "0",
  "jsonrpc": "2.0",
  "result": "OK"
}
2/25/2015 8:48:12 AM 586 action result: speaking (asynchronous): Viewing random episodes of Battlestar Galactica (2003)
2/25/2015 8:48:12 AM 586 action repeat set to: 1
2/25/2015 8:48:12 AM 586 Action:  XJson.SmartPL - smarts\randomepisodes.xsp&&Battlestar Galactica (2003)
2/25/2015 8:48:12 AM 586 [action] XJson.SmartPL:smarts\randomepisodes.xsp&&Battlestar Galactica (2003)

2/25/2015 8:48:12 AM 588 [plugin] xjson sending smart playlist
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?><smartplaylist type=\"episodes\">    <name>random episodes</name>    <match>all</match>    <rule field=\"tvshow\" operator=\"contains\">Battlestar Galactica (2003)</rule>    <limit>10</limit>    <order direction=\"ascending\">random</order></smartplaylist>"
2/25/2015 8:48:12 AM 588 [plugin] Sending json request:
2/25/2015 8:48:12 AM 588 [plugin] {"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params":{"addonid":"script.voxtools","wait":true, "params":{"type":"smartpl","var":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?><smartplaylist type=\"episodes\">    <name>random episodes</name>    <match>all</match>    <rule field=\"tvshow\" operator=\"contains\">Battlestar Galactica (2003)</rule>    <limit>10</limit>    <order direction=\"ascending\">random</order></smartplaylist>"}},"id": "0"}
2/25/2015 8:48:12 AM 589 [plugin] {
  "error": {
    "code": -32602,
    "message": "Invalid params."
  },
  "id": "0",
  "jsonrpc": "2.0"
}
2/25/2015 8:48:12 AM 589 action result: OK
2/25/2015 8:48:12 AM 589 action repeat set to: 1
2/25/2015 8:48:12 AM 589 Action:  XJson.Raw - GUI.ActivateWindow&&"window": "video", "parameters": [ "special://profile/playlists/mixed/voxsmart.xsp" ]
2/25/2015 8:48:12 AM 589 [action] XJson.Raw:GUI.ActivateWindow&&"window": "video", "parameters": [ "special://profile/playlists/mixed/voxsmart.xsp" ]

2/25/2015 8:48:12 AM 591 [plugin] Sending json request:
2/25/2015 8:48:12 AM 591 [plugin] {"jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params":{"window": "video", "parameters": [ "special://profile/playlists/mixed/voxsmart.xsp" ]},"id": "0"}
2/25/2015 8:48:12 AM 874 [plugin] {
  "id": "0",
  "jsonrpc": "2.0",
  "result": "OK"

nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Hiryu

I had it installed when it was still XBMC.  Something must've messed up when I transitioned to Kodi.  In any case, I tried a re-install and then it worked again.  Thanks!