VoxCommando Forum

Help and Support (Using VoxCommando) => Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis => Topic started by: ElbeCoder on March 04, 2016, 10:57:55 AM

Title: Help me with my command
Post by: ElbeCoder on March 04, 2016, 10:57:55 AM
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.4-->
<command id="339" name="What did he say" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Go back 10 seconds">
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>vk:{1}</param>
    </params>
    <cmdRepeat>{2}</cmdRepeat>
  </action>
  <phrase>What did he say</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\1directions.xml</payloadFromXML>
  <payloadRange>1,1</payloadRange>
</command>




I am trying one thing. If im saying What did i miss, what did he say, i missed that. And then kodi would go back like 5,10 seconds. whats wrong
Title: Re: Help me with my command
Post by: jitterjames on March 04, 2016, 11:01:03 AM
Why do you have a payloadXML and payloadRange in your voice command?

What do you want your macro to do?

It looks like you tried to modify another command but without understanding how it works.
Title: Re: Help me with my command
Post by: jitterjames on March 04, 2016, 11:02:09 AM
If you are not comfortable reading the wiki then you should watch some tutorials in order to get to grips with some of the basics:

https://www.youtube.com/playlist?list=PL5EB7936BE8F07625
Title: Re: Help me with my command
Post by: ElbeCoder on March 04, 2016, 11:11:09 AM
Yeah. but i dont want to make much my own commands. i just want to make one. If  i say What did he say? It would reverse or skip back the video or music for 10 seconds.
Title: Re: Help me with my command
Post by: ElbeCoder on March 04, 2016, 11:34:49 AM
I have watched that video several times.. i tried. Put input send keys and then key left. Doesnt work. Doesnt do anything. it does take the input key left when saying what did he say..
Title: Re: Help me with my command
Post by: ElbeCoder on March 04, 2016, 11:43:03 AM
Got it working. But is there anyway to just go back 5 seconds
Title: Re: Help me with my command
Post by: jitterjames on March 04, 2016, 11:49:11 AM
http://kodi.wiki/view/Skip_steps#Custom_skip_step_values