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 - carlh1

Pages: [1]
1
I am also interested in helping with the Beta test. Live in the U.S. How do I proceed?

2
I got it... I still used the same phrase structure but used {lastSpoken} instead of a payload list and {1}. I also had to change the TTS.Speak to TTS.SpeakSync and it worked. thanks SO much!

now I'm going to build it so I can ask for Jazz or Rock or whatever.

Thanks!

3
Here you go:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<commandGroup open="True" name="Time of day" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="358" name="morning startup" enabled="true" alwaysOn="True" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)Contains(B)</ifType>
      <ifParams>{1}&amp;&amp;play some jazz please</ifParams>
      <then>
        <action>
          <cmdType>XJson.Raw</cmdType>
          <params>
            <param>Player.Open</param>
            <param>"item": {"file":"http://pub2.jazzradio.com:80/jr_smoothjazz"}</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)Contains(B)</ifType>
      <ifParams>{1}&amp;&amp;no jazz this morning thanks</ifParams>
      <then>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>OK, I hope you have a nice morning!</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.StopMacro</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <phrase optional="true">yes, no</phrase>
    <phrase>play some jazz please,  jazz this morning thanks</phrase>
  </command>
</commandGroup>

4
i have it under a group called "time of day" and the command is "morning setup". There are two command phrases, one is optional "yes, no" and one isn't optional "play some jazz please, jazz this morning thanks". I've attached the vox log. The play some jazz please should launch the jazz station. it looks like it's doing something in the log.

5
It seem I cant do much on my own... the code you suggested is working if I put in the test payload values... but when I speak the phrase Kodi gets it and acts like it wants to run it, but nothing happens. Here's my code:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<command id="-1" name="Actions copied from LCB">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>{1}&amp;&amp;play some jazz please</ifParams>
    <then>
      <action>
        <cmdType>XJson.Raw</cmdType>
        <params>
          <param>Player.Open</param>
          <param>"item": {"file":"http://pub2.jazzradio.com:80/jr_smoothjazz"}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>{1}&amp;&amp;no jazz this morning thanks</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>OK, I hope you have a nice morning!</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.StopMacro</cmdType>
        <params />
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
</command>

6
Attached.

This is the one I'd like to start with: "http://pub2.jazzradio.com:80/jr_smoothjazz"

Thanks.


7
James,

Would you still be willing to help me with this? I have played with this but it's got me stumped. I can sent my kodi log if that helps. I'm trying to get vox to activate a favorite in Kodi, or at least launch a specific station in the icecast plugin. Ultimately i wan to be able to say "play jazz", "play rock", etc and have it go to a station I like.


8
I'm trying to make a morning wakeup routine. When I say "good morning" i want it to say some things and then ask if I want to listen to some jazz. It would be in my favorites. It's jazzradio.com and the station is "smooth jazz".

I'm trying to use "XJson.Raw" with "Addons.ExecuteAddon" but I don't really understand the parameters after that, the example I've seen uses "addon":{1} I tried using "addon":"Jazzradio.com" but it didn't work.

I would rather just pass it the id of the favorite... would that work?

9
VoxCommando Basics and Core Features / Re: installing hue commands
« on: May 24, 2015, 11:33:17 PM »
Perfect, thanks!. I did watch the video on merging the configs with media monkey. I'll try that.

10
VoxCommando Basics and Core Features / installing hue commands
« on: May 24, 2015, 09:55:31 PM »
I've installed voxcommando (full version) and defaulted to the xbmc (kodi) config. I want to add hue commands now. I have the plugin workin, it recognizes the lights, but how/where do i get the voicecommands that are included in the hue config?

Thanks!

11
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XJSON.EventError
« on: February 05, 2015, 12:05:57 AM »
OK, thanks for your help! We'll get it figured out.

12
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XJSON.EventError
« on: February 04, 2015, 07:42:25 PM »
I don't know how to tell if I"m using mySQL or not, I tried to look it up online how to tell and I don't find anything. I don't remember that the install even asked for that, it just installs. I'm on Win8.1 does that default to using MySQL on install? I would think MySQL would be an openElec default (Just guessing, I don't know what I"m talking about).

I activated the xMySQL plugin and tried to GenXML it but it said it was unable to connect to any of the specified MySQL hosts.

I am using MyMusic48 and MyVideos90, I see they have contents.

Attached is my log from yesterday.

Thanks for your help.

13
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XJSON.EventError
« on: February 04, 2015, 12:06:18 AM »
By the way, I deactivated all my music plugins (but no others) and it's still happening. When I go to generate the Kodi/xJason it is choking on the music, and tv: It's saying:
ERROR: (xbmcArtists.xml) Object reference not set to an instance of an object
ERROR: (xbmcAlbums.xml) Object reference not set to an instance of an object
ERROR: (xbmcSongs.xml) Object reference not set to an instance of an object
ERROR: (xbmcTVShowTitles.xml) Object reference not set to an instance of an object

The movies do generate, but I'm too lazy to enter that text here :-)

When I generate the SQL xml it tells me that 0 items were saved to the music and tv xml.

14
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XJSON.EventError
« on: February 03, 2015, 11:56:36 PM »
I believe the event error was addressed in a later update, but it was not introduced by a new version of VC, I think it was introduced by Kodi and generally only comes from plugins that have unexpected json data attached to them.

2.138 is available now.  I can't remember if the event issue was fixed in 2.136 or not.

I just purchased voxcommando today. I've setup kodi and my hue lights. Issues with both, but start with Kodi. I'm getting the same error: "Object reference not set to an instance of an object." I'm noticing that it's not generating the music library when I generate the xml, but it did do the movie library. I'm running windows 8.1, Kodi Helix 14.0, and voxcommando VC 2.1.3.8   I can upload the log if that helps. 

I'll go to the hue forum for the issue with my lights.

thanks!

Carl

Pages: [1]