However, there is only one emergency action option available in the event manager that does not seem to trigger the desired action once the playlist runs empty. Plus I found an PlaylistEmptyActions.mls in the .ini folder.
I do not understand how to edit and activate this feature. Hoping for a short hint. The chapter of the German manual is empty at 7.2 and the English manual does not get into details either.
Using a script like PlaylistEmpty.mls isn’t really necessary anymore, now that there is the “When playlist runs empty…” action list.
So go to mAirListConfig, Actions, select “When playlist runs empty during automation” from the list at the top, and add any action that should be executed.
About “Emergency actions”:
This is an entirely different thing, and it has got nothing to do with the “playlist runs empty” condition.
Emergency actions are executed when any of the other actions in the action list fails. Typical example: Load an emergency playlist from disk when the database is not available in your top-of-the-hour playlist loading event:
Actions inside the top of the hour event:
“Load and play database playlist”
“Emergency actions”
Actions nested inside the “Emergency actions” list:
“Load and play playlist” (playlist file from disk, e.g. C:\emergencymusic.mlp)
Send e-mail
Now at the top of the hour, mAirList will first try to load the playlist from the database. If that fails, because the database connection is not available or so, it will execute the emergency actions instead, and load a playlist from a file, and also send an e-mail to the manager. (Don’t forget to prepare the emergencymusic.mlp file with 1 hour of music.)
Wouldn’t it make sense to start a new wiki where such information from the forum could be collected over the time to fill the gaps from the manual.
[quote=“Torben, post:3, topic:9438”]Using a script like PlaylistEmpty.mls isn’t really necessary anymore, now that there is the “When playlist runs empty…” action list.
So go to mAirListConfig, Actions, select “When playlist runs empty during automation” from the list at the top, and add any action that should be executed.
About “Emergency actions”:
This is an entirely different thing, and it has got nothing to do with the “playlist runs empty” condition.
Emergency actions are executed when any of the other actions in the action list fails. Typical example: Load an emergency playlist from disk when the database is not available in your top-of-the-hour playlist loading event:
Actions inside the top of the hour event:
“Load and play database playlist”
“Emergency actions”
Actions nested inside the “Emergency actions” list:
“Load and play playlist” (playlist file from disk, e.g. C:\emergencymusic.mlp)
Send e-mail
Now at the top of the hour, mAirList will first try to load the playlist from the database. If that fails, because the database connection is not available or so, it will execute the emergency actions instead, and load a playlist from a file, and also send an e-mail to the manager. (Don’t forget to prepare the emergencymusic.mlp file with 1 hour of music.)