Hi Torben, kick me if I’m doing something wrong but Icannot get an event to run as a scheduled item in the latest version.
I click events and give it a name, set a time and click automation/aasist in scope. I then add an action to insert a playlist. Save as an mle and close the editor.
However nothing happens at the assigned time, where am I going wrong?
btw. If I manually run the event within the editor all is OK.
Can you please post the .mle file here?
Hi Torben, blimey that was quick!
here are the contents of an mle file:
load ad c
11
47
59
C:\hooks\11.m3u
Just tried to load through a command with no joy either:
here is the mla file:
C:\hook.m3u
10
Kind regards tony
[quote=“tony wilding, post:1, topic:5021”]Hi Torben, kick me if I’m doing something wrong but Icannot get an event to run as a scheduled item in the latest version.
I click events and give it a name, set a time and click automation/aasist in scope. I then add an action to insert a playlist. Save as an mle and close the editor.
However nothing happens at the assigned time, where am I going wrong?
btw. If I manually run the event within the editor all is OK.[/quote]
Hello Tony,
Yesterday I discovered ‘a sort of’ problem. I updated the version of mAirlist in the studio and took the event list from the older version. For some reason the event list is not compatible with the last (snapshot) version. I had to put the events manually into the event list. Now all is working fine… I’m glad to have only 2 events in the list.
Here’s our mle:
<mAirListEventList Version="1">
<EventList>
<Event>
<Description>loadnext</Description>
<Month>1-12</Month>
<Day>1-31</Day>
<Weekday>1-7</Weekday>
<Hour>0-23</Hour>
<Minute>59</Minute>
<Second>55</Second>
<RunInAutomation />
<ActionList>
<RunScript>
<Filename>C:\Program Files\mAirList\scripts\LoadNextHour.mls</Filename>
<PlaybackControl>0</PlaybackControl>
</RunScript>
</ActionList>
</Event>
<Event>
<Description>savemmd</Description>
<Month>1-12</Month>
<Day>1-31</Day>
<Weekday>1-7</Weekday>
<Hour>0-23</Hour>
<Minute>0</Minute>
<Second>59</Second>
<RunInAutomation />
<ActionList>
<RunScript>
<Filename>C:\Program Files\mAirList\scripts\LoadAndSaveMDD.mls</Filename>
<PlaybackControl>0</PlaybackControl>
</RunScript>
</ActionList>
</Event>
</EventList>
</mAirListEventList>
Regards,
Vincent.
Tony,
In “Date”, you are using “User Defined” but have no definitions (ie: no days). In “Time”, you have set the event to run only once at 11:47:59. I have edited the “Date” so that it runs daily at this time - the code is below:
<mAirListEventList Version="1">
<EventList>
<Event>
<Description>load ad c</Description>
<Month>1-12</Month>
<Day>1-31</Day>
<Weekday>1-7</Weekday>
<Hour>11</Hour>
<Minute>47</Minute>
<Second>59</Second>
<RunInAutomation />
<RunInAssist />
<ActionList>
<InsertPlaylist>
<Filename>C:\hooks\11.m3u</Filename>
</InsertPlaylist>
</ActionList>
</Event>
</EventList>
</mAirListEventList>
Well spotted Charlie. Many Thanks Tony
Vincent, which was the old version you were using? And what happend when you tried to load the event list with the snapshot?
Also, is the event list you posted from the old version or from the new snapshot? (Just because it loads fine here.)
[quote=“Torben, post:7, topic:5021”]Vincent, which was the old version you were using? And what happend when you tried to load the event list with the snapshot?
Also, is the event list you posted from the old version or from the new snapshot? (Just because it loads fine here.)[/quote]
Hello Torben,
It was an old version and which was running very stable (only non-stop). I think is was version 2.1.32
Using the ‘old’ event list with v2.1.44 nothing happend (no actions, no error messages). Also manual running from the event window doesn’t make any sense. The list I posted before is the working one from the last version.
Hereby I’ll post the ‘old -not working- script’
Vincent
<mAirListEventList Version="1">
<EventList>
<Event>
<Description>Volgende uur</Description>
<Month>1-12</Month>
<Day>1-31</Day>
<Weekday>1-7</Weekday>
<Hour>0-23</Hour>
<Minute>59</Minute>
<Second>55</Second>
<ActionType>script</ActionType>
<ActionParameter>C:\Program Files\mAirList\scripts\LoadNextHour.mls</ActionParameter>
<RunInAutomation />
<LastExecution>28-4-2008 16:00:20</LastExecution>
</Event>
<Event>
<Description>savemdd</Description>
<Month>1-12</Month>
<Day>1-31</Day>
<Weekday>1-7</Weekday>
<Hour>0-23</Hour>
<Minute>0</Minute>
<Second>59</Second>
<ActionType>script</ActionType>
<ActionParameter>C:\Program Files\mAirList\scripts\LoadAndSaveMDD.mls</ActionParameter>
<RunInAutomation />
<LastExecution>28-4-2008 16:00:59</LastExecution>
</Event>
</EventList>
</mAirListEventList>
The format of the mle files has changed with the introduction of “action lists” in v2.1.34 (see change log). For a few versions, mAirList was still able to import mle files in the old format, but support for that was dropped in v2.1.42.
If anyone should have the same problem (and a significally larger number of items to convert), you can download a version in between .34 and .42, load the old .mle file and save it again (then in the new format).