A notification script is a special kind of script which is called automatically by mAirList in certain situations, for example at program startup, when a player is started or stopped, or when the playlist accidently runs empty in automation mode. By the means of a notification script, you can react on these conditions, fix the situation, or implement custom logging functionality.
Notification scripts are activated in the configuration dialog
(see Section 8.9, “Scripting”).
When mAirList starts up, each script is loaded and compiled,
and a ntMask notification is sent to the
script, asking to specify the notification types to be
passed to that script. For example, a logging script would
mask out any notifications but the “player was started” one.