Author Topic: Has anybody done anything with xIDo.exe  (Read 3155 times)

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Has anybody done anything with xIDo.exe
« on: December 31, 2023, 05:53:05 PM »
I would be curios to see what kind of things can be done

Offline MikeKrebs

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Re: Has anybody done anything with xIDo.exe
« Reply #1 on: January 01, 2024, 10:09:42 PM »
Got no hits on that. What is it?

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Has anybody done anything with xIDo.exe
« Reply #2 on: January 02, 2024, 03:52:29 PM »
it is a hook into the xLights REST API

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Has anybody done anything with xIDo.exe
« Reply #3 on: January 03, 2024, 06:33:18 AM »
I'm a dev but I don't even know what a REST API is.  Another dev wrote that interface and I don't see it documented anywhere.  I personally see no use for trying to interact with xLights outside using the GUI like we've done for years.  If you really want to know about this xlDo you would need to dig down inside the code base on GitHub or maybe join the Facebook group where the rest of the devs hangout.  This forum got shutdown for a year so we lost almost all interaction and very few of us are left.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Has anybody done anything with xIDo.exe
« Reply #4 on: January 03, 2024, 08:33:31 AM »

It is actually documented at:

https://github.com/xLightsSequencer/xLights/blob/master/documentation/xlDo%20Commands.txt


For the most part, if you are on any platform that has a real scripting language (particularly one that can handle JSON easily like php), then using the REST endpoint directly is likely easier than forking the xlDo thing every time.   
Daniel Kulp
Framingham, MA

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Has anybody done anything with xIDo.exe
« Reply #5 on: January 03, 2024, 09:34:32 AM »
Thanks for jumping in Dan.  I searched the xLights manual on xlights.org and didn't find anything about it.

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Has anybody done anything with xIDo.exe
« Reply #6 on: January 08, 2024, 06:47:31 PM »
Yes thanks Dan for the link, I was looking into scripting to do some automated cleaning of my show directory.
I do a lot of importing and would like to make dependencies more native to show directory with out a lot of extra baggage that you some times get with packaged sequences