Emergency Action - How to set up?

I understand that Mairlist has the option to set up an emergency action if the playlist runs empty:

https://www.mairlist.com/forum/index.php/topic,5591.msg40025.html#msg40025

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.

Hi

If you add the PlaylistEmpty.mls to your notification scripts in the config screen that should solve your problem

Ron.

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:

  1. “Load and play database playlist”
  2. “Emergency actions”

Actions nested inside the “Emergency actions” list:

  1. “Load and play playlist” (playlist file from disk, e.g. C:\emergencymusic.mlp)
  2. 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.)

Got it?

Thank you for these very helpful details.

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:

  1. “Load and play database playlist”
  2. “Emergency actions”

Actions nested inside the “Emergency actions” list:

  1. “Load and play playlist” (playlist file from disk, e.g. C:\emergencymusic.mlp)
  2. 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.)

Got it?[/quote]