# Schedule setup # Howto: # # ref_schedule := list.append(!ref_schedule, [p_schedule, ...]) # # p_schedule: ({time_setting}, p_id) # Schedule a program # # time_setting: time_info # time_info and time_info # time_info or time_info # (time_setting) and time_info # (time_setting) and time_info # time_info and (time_setting) # time_info or (time_setting) # (time_setting) and (time_setting) # (time_setting) or (time_setting) # When can the program be played # # time_info: time # time_interval # Time or time interval # # time_interval: time-time # Period of time # # time: _w_h_m_s (_ is an integer, any can be ommited) # w stands for weekday, ranging from 0 to 7, where 1 is monday, and sunday is both 0 and 7 # h stands for hours, ranging from 0 to 24 # m stands for minutes, from 0 to 60 # s stands for seconds, from 0 to 60 ref_schedule := list.append(!ref_schedule, [ ({3w and 2h-7h}, p_failsafe), ({3w and 7h-8h}, p_archive_musique), ({3w and 8h-9h}, p_entre_deux), ({3w and 9h-10h}, p_les_menstruelles), ({3w and 10h-12h}, p_archive_musique), ({3w and 12h-13h}, p_old_time_radio), ({3w and 13h-14h}, p_kindergarden), ({3w and 14h-17h}, p_archive_musique), ({3w and 17h-18h}, p_flash_grainerie), ({3w and 18h-19h}, p_fastandhard), ({3w and 19h-20h}, p_media_commun), ({3w and 20h-21h}, p_komplo_magazine), ({3w and 21h-22h}, p_un_moment_d_absence), ({3w and 22h-23h}, p_musique_new), ({(3w and 23h-24h) or (4w and 0h-2h)}, p_failsafe) ])