diff --git a/PseudoChannel.py b/PseudoChannel.py index af3c04a..7900ec9 100644 --- a/PseudoChannel.py +++ b/PseudoChannel.py @@ -1054,6 +1054,8 @@ if __name__ == '__main__': def run_task(): + global the_daily_schedule + now = datetime.datetime.now() now_time = now.time().replace(microsecond=0) @@ -1070,6 +1072,8 @@ if __name__ == '__main__': pseudo_channel.update_schedule_from_google_calendar() + the_daily_schedule = pseudo_channel.db.get_daily_schedule() + else: pass @@ -1078,6 +1082,8 @@ if __name__ == '__main__': pseudo_channel.make_xml_schedule() + the_daily_schedule = pseudo_channel.db.get_daily_schedule() + pseudo_channel.controller.tv_controller(the_daily_schedule) t = Timer(1, run_task, ()) diff --git a/pseudo_config.py b/pseudo_config.py index 865fb58..c2f2f51 100644 --- a/pseudo_config.py +++ b/pseudo_config.py @@ -63,6 +63,6 @@ useGoogleCalendar = False useCommercialInjection = True -dailyUpdateTime = "11:59 AM" +dailyUpdateTime = "3:00 PM" debug_mode = False