From bef6a73ea64f27a893aba1fb06659885c090966d Mon Sep 17 00:00:00 2001 From: oldnapalm <38410858+oldnapalm@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:15:30 -0300 Subject: [PATCH] Add event subgroup start Closes #303 Update auto-generated events --- zwift_offline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zwift_offline.py b/zwift_offline.py index 9e13da27..84568687 100644 --- a/zwift_offline.py +++ b/zwift_offline.py @@ -1342,7 +1342,7 @@ def get_events(limit, sport): events_list = [('2022 Bambino Fondo', 3368626651, 6), ('2022 Medio Fondo', 2900074211, 6), ('2022 Gran Fondo', 1327147942, 6), - ('Alpe du Zwift Downhill', 1480439148, 6), + ('Big Flat 8', 1917017591, 6), ('Bologna TT', 2843604888, 10), ('Crit City', 947394567, 12), ('Crit City Reverse', 2875658892, 12), @@ -1350,8 +1350,8 @@ def get_events(limit, sport): ('Gravel Mountain', 3687150686, 16), ('Gravel Mountain Reverse', 2956533021, 16), ('Neokyo Crit', 1127056801, 13), + ('Spiral into the Volcano', 3261167746, 6), ('The Magnificent 8', 2207442179, 6), - ('Ventop Downhill', 2891361683, 14), ('WBR Climbing Series', 2218409282, 6), ('Zwift Bambino Fondo', 3621162212, 6), ('Zwift Medio Fondo', 3748780161, 6), @@ -1402,8 +1402,8 @@ def get_events(limit, sport): #event_cat.lineUpStartWT = eventStartWT - 5 * 60000 #event_cat.lineUpEnd = eventStart #event_cat.lineUpEndWT = eventStartWT - #event_cat.eventSubgroupStart = eventStart - #event_cat.eventSubgroupStartWT = eventStartWT + event_cat.eventSubgroupStart = eventStart - 60000 # fixes HUD timer + event_cat.eventSubgroupStartWT = eventStartWT - 60000 event_cat.route_id = item[1] event_cat.startLocation = cat event_cat.label = cat