Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1005 Bytes

macro-carts.md

File metadata and controls

30 lines (24 loc) · 1005 Bytes

#Macro CARTS Automation is controlled using these two Macro CARTS. Of note with regards to the Spinitron logger is the on-air flag, which has been appropriated to be the automation is off flag. This affects the pm used by the logger.

##Automation ON

001  PM 2!
002  TA 0!
003  RN /opt/wmfo/macro_sh/automation_ON.sh!

This sets the mode to automatic (instead of manual or liveassist), sets the on-air flag to 0, and executes a shell script copied in this repo.

The script loads the failsafe log, and if today's log exists, overwrites it with that. It calculates the correct item to play based on the time. These logs are generated by a separate script.

##Automation OFF

001  TA 1!
002  RN /opt/wmfo/macro_sh/automation_OFF.sh!

This sets the on-air flag to 1, and runs another script which removes all logs.

Logs are global to a Rivendell install, so failsafe and blank logs need to be made once per station, not once per computer.