Add event subgroup start

Closes #303
Update auto-generated events
This commit is contained in:
oldnapalm
2024-01-09 11:15:30 -03:00
parent 336c9ee91c
commit bef6a73ea6
+4 -4
View File
@@ -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