feat: Update import script to include future shows
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run

This commit is contained in:
fullsizemalt 2025-12-24 17:10:50 -08:00
parent c9a22de2a9
commit f73d1aaca1

View file

@ -92,8 +92,11 @@ def import_shows_and_setlists():
tours_added = 0
songs_added = 0
# Process past shows with setlists
for api_show in past_shows:
# Process ALL shows (past and future)
all_shows_to_process = past_shows + future_shows
print(f"Processing {len(all_shows_to_process)} shows...")
for api_show in all_shows_to_process:
show_date_str = api_show.get("showdate")
show_date = datetime.strptime(show_date_str, "%Y-%m-%d")
api_show_id = api_show.get("show_id")