Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hiryu

Pages: [1] 2 3 4
1
Hi -- finally figured out how to get Live TV on Kodi with the HD Homerun Prime.  Trying out some of these Live TV commands -- from Kodi homescreen, I am able to say "Switch/play to channel [two]" and it will pull up the correct channel.  However, while channel two is playing and I try to change the channel "Switch to channel [four]", I get an error in Kodi, where it says "NextPVR: Tuner not available".  So, really can only use the switch command once.  I know the tuner is working, because even though I can't voice command anymore, if I go into the Live TV view, and just select channel four, it switches over.

I know this might actually be a Kodi issue, but thought I would ask here first if you have any advice or if anyone has encountered this issue.  Any advice on how to troubleshoot this? 

The VC log seems ok, maybe I'm missing something.

Code: [Select]
2/26/2015 6:53:29 PM 954 doCommand:Live TV Channel
2/26/2015 6:53:29 PM 954 [plugin] Sending json request:
2/26/2015 6:53:29 PM 954 [plugin] {"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params":{"title":"Switch to Channel Five (84.4)","message":"(1 Live TV Channel [WNYW Five]) (2 Live TV Channel [Fox Sports 1]) (3 Live TV Channel [Fox Sports 2]) (4 Live TV Channel [CBS Sports Netw]) (5 Live TV Channel [NBC Sports Netw]) (6 Live TV Channel [Fox Sports 1 HD]) "},"id": "0"}
2/26/2015 6:53:29 PM 954 action repeat set to: 1
2/26/2015 6:53:29 PM 955 Action:  XJson.Raw - Player.Open&&"item" : {"channelid" : 4}
2/26/2015 6:53:29 PM 955 [action] XJson.Raw:Player.Open&&"item" : {"channelid" : 4}

2/26/2015 6:53:29 PM 956 [plugin] {
  "id": "0",
  "jsonrpc": "2.0",
  "result": "OK"
}
2/26/2015 6:53:29 PM 957 [plugin] Sending json request:
2/26/2015 6:53:29 PM 957 [plugin] {"jsonrpc": "2.0", "method": "Player.Open", "params":{"item" : {"channelid" : 4}},"id": "0"}
2/26/2015 6:53:29 PM 972 [plugin] {
  "id": "0",
  "jsonrpc": "2.0",
  "result": "OK"
}
2/26/2015 6:53:29 PM 972 action result: OK
2/26/2015 6:53:29 PM 972 action repeat set to: 1
2/26/2015 6:53:29 PM 972 Action:  XJson.Raw - GUI.ShowNotification&&"title" : "Switch to Channel Five" , "message" : ""
2/26/2015 6:53:29 PM 972 [action] XJson.Raw:GUI.ShowNotification&&"title" : "Switch to Channel Five" , "message" : ""

2/26/2015 6:53:29 PM 972 [plugin] {
  "jsonrpc": "2.0",
  "method": "Player.OnStop",
  "params": {
    "data": {
      "end": true,
      "item": {
        "channeltype": "tv",
        "id": 3,
        "title": "WNBC",
        "type": "channel"
      }
    },
    "sender": "xbmc"
  }
}
2/26/2015 6:53:29 PM 974 [plugin] Sending json request:
2/26/2015 6:53:29 PM 974 [plugin] {"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params":{"title" : "Switch to Channel Five" , "message" : ""},"id": "0"}
2/26/2015 6:53:29 PM 976 [plugin] {
  "id": "0",
  "jsonrpc": "2.0",
  "result": "OK"
}
2/26/2015 6:53:29 PM 976 action result: OK

2
XBMC (Old board see 'KODI' above) / Re: Finding random episode of...
« 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!

3
XBMC (Old board see 'KODI' above) / 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"

5
Hey Jitterjames.

Could you explain to me the "Play Trailer" command in Kodi -- looking at the LCB, I don't understand exactly how to use it.  If you say "Find [movie]" and then "Play trailer", should it be able to find the corresponding trailer automatically?  (I have the trailer option enabled in The Movie Database add-on in Kodi).

Thanks!

6
PegLegTV -- yep, awesome, it works!  Thanks!  Good workaround since it has NoID.

Movies still play with VC TTS, but the screensavers, which have NoID don't announce anything.

And no need to mess around with the VideoIDs.  Thanks all.

7
HEy PLT,

Quote
In the command where it says "ID you want to block" replace that with the id of the video you don't want VC to announce

How do I figure out what the Video ID is?

As an example, I have a VideosID.xml that has "fireplace.mp4" in it as the only entry.  This xml is separate from the MoviesID.xml, which has all the movies loaded into Kodi.

8
Hahahaha -- yeah, mySQL was a bit of a bear for my situation.  Love tinkering with stuff, so getting it working was part of the pain/fun -- but I agree with you, JitterJames -- it was more trouble than it was worth for me.  Oh well, seems to be ok now.  I have taken a look at MediaBrowser in the past, and it just seemed a bit rough around the edges.  Maybe I'll take a look at it again.

Thanks guys -- I'll keep tinkering with this and see if I can make heads or tails out of the nfo.  Thanks PegLegTV -- I will try the code you posted.

You guys are awesome.

9
Also, just want to say thank you again to PegLegTV and Jitterjames.  Really want you to know how much I appreciate your help.  Thanks!

10
Quote
When the onmovie event fires the command uses an xJson.Raw action to ask Kodi for the information about what is playing.  I think that Kodi does not know the ID of the now playing item because it was starting using a file path and not a library ID.  Again this could be solved by using MySql and passing the media ID instead of the path.

PegLegTV and Jitterjames,

After a lot of missteps and frustrating roadblocks, I finally figured out how to get a mysql server running (at least it seems to be working for now).  And it also seems that sending and pulling kodi works, with pauses at the correct time stamp (30 seconds back).  Thank you both!  I was reluctant to setup mysql since I am not very technically inclined and wasn't sure I could do it. 

Jitterjames -- also when you said that GenXML doesn't actually generate the information and really is just grabbing information from Kodi (which is generated from a scrape).  Where can I find the actual Kodi information if I wanted to change the data (say, if actors are missing).

The other question is, is there any way to exclude certain videos from VC announcing the name and actors?  I ask because I have a Screensaver add-on that cycles between a few videos (ambient visualizations, fireplace, etc.) but VC also announces those.  I want to exclude those from the list.  Sorry, don't really understand XJson.Raw so need some guidance. 

Do I just go into XBMCpayloads and look for, say, the fireplace entry and delete it?

Thanks!


11
Thanks -- I'll keep experimenting with this.  James, do I have to turn off the Xsql plugin if I use xMySql (is it only one or the other, don't want to run into conflicts).

Also, I've never used sql so very unfamiliar -- how do I check to see if MySql is working correctly?  Any good quick test?

I know this is asking for more help than just VC.  My Mac Mini is the server with all the hosted media files.  So I installed MySQL on that, turned it on, and also installed Kodi on there for good measure.  After adding all the advancedsettings.xml settings onto my PC instance of Kodi and re-starting it up, I check the xMySQL Plugin, go to the payload generator, and input the ip address of my server, user name and password (from Kodi Services, webserver).  The username and password are the same on all my instances of Kodi (Mac Mini, Macbook, and PC). 

When I try to "save and generate" the payload xml, I get Access denied for 'user'@'pc.home' (using password: YES) SCANNING ABORTED.  Any advice?  Am I doing something wrong here with the MySQL setup?

12
PegLegTV -- thanks so much!

For me, it is passing the video to the other computer, but always at 0:0:0 paused, meaning the beginning of the movie, even if I'm halfway through on the PC (host).

As for XBMC.Player.OnPlay.movie
XJson.Raw:Player.GetItem&&"playerid":1,  "properties": ["title","cast"]
Results.RegEx:"name".*?"(.*)"

Rollover just states error: No matches found

Hovering over XBMC.Player.Onplay.movie, I see {1} No ID

I'm running the latest version of VC 2.1.3.8.

Thanks --I'll take a look at the "pull" command, makes this even more awesome.


BTW, for Xsql or Xjson -- I don't have much familiarity with those -- most of my movies have the full slate of metadata (VC announced Film title and who stars in it, but I've found some movies that doesn't have the actors information so VC just says starring [then nothing].  I've purged the cache, run the GenXML, but still persists, any advice on that for filling in the blank information?



13
PegLegTV --  thank you so much for sharing -- this is really awesome.  I installed this last night and got it to work for the most part. 

The part that worked for me is that VC was able to send the video from my PC to my Mac and Fire TV installations.  However, I have a few kinks in the system.
First, it is sending the video and pausing it, but not at the time stamp of where the movie played up to on the PC (host).  Secondly, I'm getting "Results.RegEx:"name".*?"(.*)" error: no matches found.  I'm still trying to get my head around RegEx so don't have much insight as to what that means.  I know that when the video gets sent over, VC says now playing (and then blank on the movie title) starring (blank again).  When I play it on the PC, though, VC is able to read the title and actors from the XML. 

In any case, do you have any advice to fix these little things?


Also, I assume if you want to send from the target pc back to the host pc, the "target" would have to have VC installed and then set it up so that it can be a "host" pc as well -- to go the other way.  Am I right in that assumption?

I wonder if there's a way, instead, to just "retrieve" the video back to the PC.  A command like, "Bring video back from mac"?  It would almost be like handoff/continuity for Kodi!

14
VoxCommando Basics and Core Features / VC (nonSP) - SAPI
« on: February 12, 2015, 05:25:17 PM »
Jitterjames!  I tried what you advised, and copied my VC SP folder and cloned it, renamed it.  Then I used only VoxCommando.exe, instead of SP so that I can use the standard engine.  I'm getting way more false positives (even setting the confidence level at 85 or above), then I was with SP. 

Then I deleted that whole folder and did a completely clean install.  Same thing.  Now I've been away from VC for a long time, so am definitely rusty, and started with SP, so that's all I'm familiar with in terms of the setup process.  Are there things I'm forgetting to do in Windows to tune the voice recognition levels? 

I'm using an open mic for now (CAD u7), but again it seems SP behaves really well, but VC Standard is picking up lots of things even when I'm not speaking (a cough by someone in the room was interpreted as launch kodi on the clean install, a tap on the desk issued the command "go up", or initiated a google search on the non-clean install).

Could it be just that the SP speech engine is just better with an open mic and that VC Standard is super sensitive with an open mic setup?


15
XML Exchange / Re: Yandex translation command
« on: February 12, 2015, 05:17:45 PM »
Wow --  bad recollection!  I'm guessing I did input the key before and somehow in transferring my VC build to a new computer, I must have mucked something up.  The command was still there but not the key.  My bad.  Silly me!  Sorry Nime5ter.

Pages: [1] 2 3 4