Author Topic: Weird pause repeat issue  (Read 2559 times)

0 Members and 2 Guests are viewing this topic.

HomieTheClown

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 0
    • View Profile
Weird pause repeat issue
« on: December 17, 2015, 11:24:08 AM »
I'm having an issue with using the VC.pause command.  I am making a simple xbmc\kodi command so I can press the record button on my remote which tells xbmc/kodi to start recroding a live tv show or record a show if I'm looking at my EPG. Simple stuff...

Anyway I set up a command, but the VC.pause function is messing it up. I know this because I took the pause command out and it didn't repeat it self 3 times.
Here's what I mean about the repeat part.

My macro is  1) XJson.Btn.KB         X 
                    2) VC.Pause                1000
                    3) Send keys               Left    (for move the cursor so it selects yes in the dialogue box.) 

So if your're looking at the history page, when I press my record button (to activate this macro) it makes this macro play 3 times.  Without the pause command, looking at the history, it just plays once like it's suppose too.

Anyway ideas?  bug?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Weird pause repeat issue
« Reply #1 on: December 17, 2015, 11:27:54 AM »
Please post the xml for your command.

Always.

Also, if you think there may be a bug we need to know what version of VoxCommando you are using, and probably would not hurt to know what version of Kodi as well.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Weird pause repeat issue
« Reply #2 on: December 17, 2015, 11:30:21 AM »
If you can also post the VoxCommando log that will make it easier for us to diagnose this assuming that we cannot recreate the issue using your XML.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Weird pause repeat issue
« Reply #3 on: December 17, 2015, 11:32:40 AM »
Also, does the same thing happen when you are not on the EPG page?  Because I don't have EPG so won't be able to test it under that condition.

HomieTheClown

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 0
    • View Profile
Re: Weird pause repeat issue
« Reply #4 on: December 17, 2015, 11:54:08 AM »
Its amazing how fast you are lol.

OK yes it happens outside of the EPG. I tried it out side of KODI. Doesn't matter.  I am using the newest version of KODI I believe. I downloaded it the other day. PLus I downloaded VoXCommando 2.2.0.7. I hadn't upgraded Vox in a year. I didn't have these issues with my previous version of Vox. 2.0.something.

I'll upload the voicecommand.xml and screenshot of the history log. One sec.

HomieTheClown

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 0
    • View Profile
Re: Weird pause repeat issue
« Reply #5 on: December 17, 2015, 12:06:27 PM »
Here's a screen shot of my history when I press my desired button to trigger the macro. For some reason it's playing the macro 4 times now... Maybe it always was and I just counted 3.

Also I uploaded my voicecommands.xml

HomieTheClown

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 0
    • View Profile
Re: Weird pause repeat issue
« Reply #6 on: December 17, 2015, 12:14:50 PM »
Here's a screenshot of the history with the pause function taken out.  It plays once and doesn't repeat like the other macro does.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Weird pause repeat issue
« Reply #7 on: December 17, 2015, 12:30:30 PM »
I asked for the xml for your command, not your complete voicecommands.xml file.  Also, I don't think you posted the correct file because I can't find any command there triggered by any UUIRT events.

http://voxcommando.com/mediawiki/index.php?title=XML_on_the_forum

I think I might know what's happening though.  It's not really a bug.

I suspect that the UUIRT event is triggereing multiple times because the MCE remote is sending the IR signal multiple times.  The fact that it doesn't seem to happen without the pause is because VC probably detects multiple identical messages from the UUIRT that are really close together and discards the extra one.  By putting the pause in it is making it look like the signals are not close together in time.

I think you can probably fix this by putting renaming your command so that it starts with ++

HomieTheClown

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 0
    • View Profile
Re: Weird pause repeat issue
« Reply #8 on: December 17, 2015, 12:35:33 PM »
Interesting.

When you say renaming it, do you mean in the voicecommands GUI.  For example I have named it Record a show.    Should I now name it ++Record a show?

EDIT:  NEvermind. That did the trick. Thanks for you time. As always you rock.
« Last Edit: December 17, 2015, 12:47:02 PM by HomieTheClown »