#--------------------------- # This is a sample template for Custom AsRun log rules # # In addition to usually supported playlist variables $(var), the following variables can be used # # $(job_year) $(job_mon) $(job_day) $(job_hour) $(job_min) $(job_sec) $(job_frm) - The actual time the related media started # $(cur_year) $(cur_mon) $(cur_day) $(cur_hour) $(cur_min) $(cur_sec) $(cur_frm) - The actual time this event occurred # $(dur_hour) $(dur_min) $(dur_sec) $(dur_frm) - The actual duration of the time the related media started to this event occurring # $(on_air) - Airing status # $(media_state) - Media state # $(event) - Logging event that occurred # # The header only supports $(cur_year) $(cur_mon) $(cur_day) $(cur_hour) $(cur_min) $(cur_sec) # # After the variable name, arguments can be added to modify how the variable will be displayed # $(event) -> $(event,ralign,width:10) # width - Set strict width for text to be displayed # ralign - Align to right of text block, needs to have width set # As well, variable values can be mapped to different values by using = # $(gpi1_mode,on=ENABLED,off=DISABLED,none=), if gpi1_mode is 'on' 'ENABLED' will be logged, if 'off' 'DISABLED' will be logged, if 'none' then no characters will be written ## # The template for graphics events starts with the '^' symbol in the beginng of the line. Same parameter as for the main event # and the same rules apply # #---------------------------- ! ! This will be the header text for this log, it will only be written when this log is opened, ! is used to set header lines ! Today's date: $(cur_year)-$(cur_mon)-$(cur_day) ! $(event,width:8) - $(cur_hour):$(cur_min):$(cur_sec): $(uri) was affected, media duration in frames $(duration,ralign,width:12) Started: $(ev_year)-$(ev_mon)-$(ev_day) $(ev_hour):$(ev_min):$(ev_sec) ^$(event,width:8) - $(ev_hour):$(ev_min):$(ev_sec): $(uri)