# 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 p_media_commun ref_schedule := list.append(!ref_schedule, [ ({1w and 2h-8h}, p_la-nuit_ondecourte), ({1w and 8h-12h}, p_archive_ondecourte), ({1w and 12h-14h}, p_midi_ondecourte), ({1w and 14h-16h}, p_midi_ondecourte), ({1w and 16h-20h}, p_archive_ondecourte), ({1w and 20h-21h}, p_dub_ondecourte), ({1w and 21h-23h}, p_archive_ondecourte), ({(1w and 23h-24h) or (2w and 0h-2h)}, p_la-nuit_ondecourte) ])