Sean Meighan

Software => General Software => Topic started by: morry on December 31, 2023, 05:53:05 PM

Title: Has anybody done anything with xIDo.exe
Post by: morry on December 31, 2023, 05:53:05 PM
I would be curios to see what kind of things can be done
Title: Re: Has anybody done anything with xIDo.exe
Post by: MikeKrebs on January 01, 2024, 10:09:42 PM
Got no hits on that. What is it?
Title: Re: Has anybody done anything with xIDo.exe
Post by: morry on January 02, 2024, 03:52:29 PM
it is a hook into the xLights REST API
Title: Re: Has anybody done anything with xIDo.exe
Post by: Gilrock 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.
Title: Re: Has anybody done anything with xIDo.exe
Post by: dkulp 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.   
Title: Re: Has anybody done anything with xIDo.exe
Post by: Gilrock 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.
Title: Re: Has anybody done anything with xIDo.exe
Post by: morry 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