Author Topic: bat files in Xschedule  (Read 4811 times)

Offline greg s

  • Newbie
  • *
  • Posts: 21
    • View Profile
bat files in Xschedule
« on: September 14, 2020, 09:14:29 AM »
Last year I was able to run bat files in xSchedule using the Run Process command.  I am unable to get it to trigger the files (everything still in place from last year) Did something change and is there a new process to do so?

here is a snip from the xSchedule log it looks like the data string may be messed up where the command launches (path should be F:\nutcracker-xlights\RDS\2020 bat files\party in the usa.bat)

2020-09-14 14:12:33,042 14200 log_base [DEBUG]    Active scheduled playlists: 0
2020-09-14 14:12:33,158 14200 log_base [WARN] Frame interval greater than 200% of what it should have been [50] 397
2020-09-14 14:12:33,158 14200 log_base [INFO] Launching command F:
utcracker-xlights\RDS\2020 bat files\party in the usa.bat wait 0.
2020-09-14 14:12:33,159 14200 log_base [INFO] Command launched.
2020-09-14 14:12:33,159 14200 log_base [INFO] Launching command F:
utcracker-xlights\RDS\Generic Bat Files\party in the usa.bat wait 0.
2020-09-14 14:12:33,159 14200 log_base [INFO] Command launched.
2020-09-14 14:12:33,320 10780 log_base [DEBUG] DoLoadAudioData: Song data loaded in 279. Read: 8938432
2020-09-14 14:12:35,091 14200 log_frame [WARN] Timer: Frame event fire interval 11ms less than 1/4 frame time 12ms
2020-09-14 14:12:36,516 14200 log_base [WARN] Frame interval greater than 200% of what it should have been [50] 201
« Last Edit: September 14, 2020, 12:19:34 PM by greg s »

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: bat files in Xschedule
« Reply #1 on: September 14, 2020, 12:24:14 PM »
Did you check the step settings?

Offline greg s

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: bat files in Xschedule
« Reply #2 on: September 14, 2020, 12:34:41 PM »
yes in fact I ran a playlist that worked fine last year and it reacted the same way.  I did find a playlist log from last year to compare and where the command did launch there is a discrepancy in log files here is a snip from the log from last year

2020-01-18 19:17:46,734 5000 log_base [INFO] Launching command F:\nutcracker-xlights\RDS\2019 bat files\drummer boy.bat wait 0.
2020-01-18 19:17:46,758 5000 log_base [INFO] Command launched.
2020-01-18 19:17:46,758 5000 log_base [INFO] Launching command F:\nutcracker-xlights\RDS\Generic Bat Files\drummer boy2.bat wait 0.
2020-01-18 19:17:46,759 5584 log_base [DEBUG] DoLoadAudioData: Progress 10%
2020-01-18 19:17:46,774 5000 log_base [INFO] Command launched.

hope this comparison helps
« Last Edit: September 14, 2020, 12:39:12 PM by greg s »

Offline greg s

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: bat files in Xschedule
« Reply #3 on: September 14, 2020, 05:41:36 PM »
Keith,
On a side note I ran the playlist on my laptop with and older version of xschedule (2020.12 32 bit) modifying paths and the bat files executed correctly.  The version on my show computer is 2020.33 64 bit.  Hope this helps.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: bat files in Xschedule
« Reply #4 on: September 18, 2020, 09:19:43 PM »
When .38 comes out change the path to

F:\\nutcracker-xlights\RDS\2019 bat files\drummer boy.bat

as \n, \t and \\ are special characters. This may have changed during the year but i dont want to undo it as it enables a bunch of other things.

Offline greg s

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: bat files in Xschedule
« Reply #5 on: September 20, 2020, 07:54:22 PM »
Got it Thanks, for your response and all the hard work on a great program.

« Last Edit: September 20, 2020, 07:56:28 PM by greg s »

Offline greg s

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: bat files in Xschedule
« Reply #6 on: September 21, 2020, 10:27:48 AM »
Keith, I just wanted to let you know I installed .38 last night and didn't have to modify anything it all was now working perfectly.  Thanks again