CUTTHEMUSIC Posted November 4, 2007 Share Posted November 4, 2007 Anyone have any details on the format of the LOR scheduler files? The reason I ask is because I am creating a webservice application that will allow me to edit my shows schedule via my cell phone so that I can make sure my lights are on for me if I come home late from a hockey game. The below example will run the show.lss file every day of the week from 6pm to 7pm but I cant figure out what the 2 or the 0 does? Any help would be appreciated.((68400,2,(,0,C:LORshow.lss),64800),(154800,2,(,0,C:LORshow.lss),151200),(241200,2,(,0,C:LORshow.lss),237600),(327600,2,(,0,C:LORshow.lss),324000),(414000,2,(,0,C:LORshow.lss),410400),(500400,2,(,0,C:LORshow.lss),496800),(586800,2,(,0,C:LORshow.lss),583200)) Link to comment Share on other sites More sharing options...
Ponddude Posted November 4, 2007 Share Posted November 4, 2007 The software isn't even out yet and the Beta testers have hacked it....I LOVE IT!!Greg Link to comment Share on other sites More sharing options...
Tim Fischer Posted November 4, 2007 Share Posted November 4, 2007 Ah, I love reverse-engineering!From the few minutes I've looked for it, I've determined the following (for the weekly schedule only -- haven't looked at the yearly one but it's probably similar):The schedule is a list of elements of the following format. Each schedule item in the list gets it's own identifier. So if you had a show running from 6pm-9:30pm each day, and nothing else., you'd have seven events in the list.((86400,2,(,0,C:LORData20062006 show.lss),82800)So what does it mean? The path is obviously a path the the show file for that particular schedule item. The first number and last number are times. The other stuff I haven't yet figured out.The times work as follows: Sunday at 12:00AM is time 0. Other times are calculated sequentially from that base time, in seconds. So Sunday at 12 noon would be 12 * 60 * 60 or 43200. And Monday at 12 noon would be 36 * 60 * 60 or 129600. The first time in the list is the END time, and the second time in the list ist the START time.That should hopefully be enough to get you going. The other elements (like the 2) could be a version number or something... I couldn't get that to vary.I hope Dan/John doesn't mind me posting this. It only took about 5 minutes of work so I don't think it's top-secret or anything! -TimP.S. This is for LOR 1.6.1, I'm not a beta so I can't look at LOR II... Link to comment Share on other sites More sharing options...
Tim Fischer Posted November 4, 2007 Share Posted November 4, 2007 FYI: The yearly schedule seems to be the same format, with the addition of a calendar date. The timebase is the same, calculated from Sunday at 12AM of that week being Time 0.-Tim Link to comment Share on other sites More sharing options...
CUTTHEMUSIC Posted November 5, 2007 Author Share Posted November 5, 2007 I think I know what the 2 and 0 might be for but I need to poke around some more. Now, my question is "can you edit the lsc file while a show is running?" Even if you can't can you edit it from a text editor while the service is running and then have the changes take effect. I'll have to check all these issues out. Link to comment Share on other sites More sharing options...
daniel Posted November 5, 2007 Share Posted November 5, 2007 I think you can, after edit the currently playing show will continue, nut after that it jumpss to the new schedule.--Daniel L Link to comment Share on other sites More sharing options...
CUTTHEMUSIC Posted November 5, 2007 Author Share Posted November 5, 2007 daniel wrote: I think you can, after edit the currently playing show will continue, nut after that it jumpss to the new schedule.--Daniel LThat would be great. I'm going to test tonight Link to comment Share on other sites More sharing options...
Tim Fischer Posted November 5, 2007 Share Posted November 5, 2007 CUTTHEMUSIC wrote: I think I know what the 2 and 0 might be forWell, how about sharing? :cool: (I'm just curious...)-Tim Link to comment Share on other sites More sharing options...
CUTTHEMUSIC Posted November 5, 2007 Author Share Posted November 5, 2007 Tim Fischer wrote: Well, how about sharing? :cool: (I'm just curious...)-TimI will once I test tonight. No use sharing false information. Link to comment Share on other sites More sharing options...
daniel Posted November 5, 2007 Share Posted November 5, 2007 ((158400,5,(,1,C:Program FilesLight-O-RamaSequencestree.lss),111600))First number is the stop time/date, last number is the start time/date. Tim cracked the date/time code....I'm still trying to figure out the "0" &"2"....EDIT: I can find no use for those two values, an outrageous value (10000000000000000) will make it dissapear but nothing else I can find....The above show seems to play correctly....--Daniel L Link to comment Share on other sites More sharing options...
CUTTHEMUSIC Posted November 5, 2007 Author Share Posted November 5, 2007 I still cant figure out what the values are but it looks like they correspond to the background, startup, animation, musical, interactive and shutdown tabs. I'm not going to spend any more time on it because it appears to be irrelavent to what I am trying to accomplish. One problem that I am having is that I cannot edit a show file or schedule file programatically and have it run. I need to stop and restart the light o rama control panel to get my changes to take affect. The files must be loaded into memory when the app starts. Maybe Dan can shed some light????? Link to comment Share on other sites More sharing options...
Greg Posted November 5, 2007 Share Posted November 5, 2007 This is along the same lines but a little different. I was thinking about using windows XP remote desktop application to modify the show from work if I need to. Has anyone tried this?greg Link to comment Share on other sites More sharing options...
CUTTHEMUSIC Posted November 5, 2007 Author Share Posted November 5, 2007 I did it and it works great! Link to comment Share on other sites More sharing options...
Tim Fischer Posted November 5, 2007 Share Posted November 5, 2007 CUTTHEMUSIC wrote: I still cant figure out what the values are but it looks like they correspond to the background, startup, animation, musical, interactive and shutdown tabs. I'm not going to spend any more time on it because it appears to be irrelavent to what I am trying to accomplish. One problem that I am having is that I cannot edit a show file or schedule file programatically and have it run. I need to stop and restart the light o rama control panel to get my changes to take affect. The files must be loaded into memory when the app starts. Maybe Dan can shed some light?????Changes to the schedule via the scheduler app do take effect while a show is running. I figured they just polled the file for changes, but maybe the scheduler somehow notifies the show controller app when changes are made.-Tim Link to comment Share on other sites More sharing options...
Push Eject Posted December 4, 2007 Share Posted December 4, 2007 How are we doing with this, dev team? Hack on! Link to comment Share on other sites More sharing options...
fire_paramedic Posted December 4, 2007 Share Posted December 4, 2007 I use logmein, ( www.logmein.com ) the free version and log on to my computers just as if i am sitting there. i can start, stop shows, edit, change play lists, show times anything. You get no sound but you can email the file you are working on to yourself and then get on the internet via the internet on your home computer and open your email then dl it to its respective location and there you go updated show or sequence. basically you can do anything, its just like being there. works great i use it all the time. Link to comment Share on other sites More sharing options...
Recommended Posts