Author Topic: xSchedule "Back" (Prior step) Button function  (Read 2316 times)

Offline futuretechguy

  • Newbie
  • *
  • Posts: 11
    • View Profile
xSchedule "Back" (Prior step) Button function
« on: January 21, 2018, 11:26:18 AM »
Hi Guys,

I am not sure if this in a bug but whenever I trigger a xSchedule "Back" ("Prior step in the current playlist") button  function, the xSchedule stops playing the current step, if the current position is the first (top) step in the playlist. This occurs regardless of the method of trigger (manually in xSchedule or from a remote script).  Is there a simple fix or workaround that does not involve more coding on my end?

This was interrupting my show last Christmas when my audience were using the buttons during the first step.





Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: xSchedule "Back" (Prior step) Button function
« Reply #1 on: January 21, 2018, 01:14:57 PM »
To be sure I have this right ... if you try to jump to prior step it is stopping the playlist.

My options seem to be. Restart the first step or jump to the last step but only if the playlist is being looped. Would that make sense.

Offline futuretechguy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #2 on: January 21, 2018, 02:35:50 PM »
Correct, however I think it should jump to the last (since that was logically the previous step) but only if the status is playing (as it does when not at the first or the last step). It also stops playing if "Next" is executed while the last step is being played; in this case I think it should go the first step.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: xSchedule "Back" (Prior step) Button function
« Reply #3 on: January 21, 2018, 02:38:10 PM »
I can agree but only if it is set to be looping. If not looping then next is correct to stop if on the last step.

Offline futuretechguy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #4 on: January 21, 2018, 03:15:07 PM »
Okay, that makes sense.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #5 on: January 21, 2018, 03:46:26 PM »
I would expect Next to be disabled if on the last song and not looping.

Offline futuretechguy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #6 on: January 21, 2018, 04:12:46 PM »
Perhaps, but remaining enabled creates options,  providing the ability to manually keep going (a step a time) if desired.  The scenario is that playing stops, but if the "Next" button is executed the next logical step in the last (played) playlist is executed.  I am mostly focused on my audience after my show ends, if they hit the button the next of previous step(not the entire playlist)  runs only once and stops.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #7 on: January 21, 2018, 06:45:26 PM »
I'm not talking about your side I mean the xLights side.  If you are on the last song in a sequence with no looping set then I would expect a next command to do nothing instead of halt the sequence.

Offline futuretechguy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #8 on: January 22, 2018, 05:53:12 AM »
Yes, since it was designed to stop after the last step when looping is not enabled, then any button(s) using "Next step in current playlist" should be disabled. The same also for buttons(s) using the "Prior step in the current playlist" when the position is at the top or first step.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: xSchedule "Back" (Prior step) Button function
« Reply #9 on: January 22, 2018, 11:16:16 AM »
I don’t agree. Next on the last step will end the playlist. Prior on the first step will restart the first step.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #10 on: January 22, 2018, 11:37:49 AM »
I can see it now.  Some kid will run up and hit the Next button and then the whole show stops and all the kids start crying....lol.
« Last Edit: January 22, 2018, 12:07:02 PM by Gilrock »

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: xSchedule "Back" (Prior step) Button function
« Reply #11 on: January 22, 2018, 02:43:42 PM »
But the show would have stopped at the end of the song anyway. If it is set to loop then all would be ok.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #12 on: January 22, 2018, 04:33:42 PM »
Luckily I don't need to come here to get code changes.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: xSchedule "Back" (Prior step) Button function
« Reply #13 on: January 22, 2018, 06:16:45 PM »
#ifdef GIL

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: xSchedule "Back" (Prior step) Button function
« Reply #14 on: January 22, 2018, 07:17:43 PM »
Ok I'll stop trolling....I don't care what the button does... :)