Author Topic: Finding random episode of...  (Read 3180 times)

0 Members and 1 Guest are viewing this topic.

Hiryu

  • Contributor
  • ***
  • Posts: 53
  • Karma: 2
    • View Profile
Finding random episode of...
« on: February 25, 2015, 09:52:05 AM »
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?

Code: [Select]
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"
« Last Edit: February 25, 2015, 10:45:10 AM by jitterjames »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Finding random episode of...
« Reply #1 on: February 25, 2015, 10:37:37 AM »
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

  • Contributor
  • ***
  • Posts: 53
  • Karma: 2
    • View Profile
Re: Finding random episode of...
« Reply #2 on: February 25, 2015, 01:27:28 PM »
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!