fix: Use showdate endpoint for setlist import instead of showid
This commit is contained in:
parent
2a6b232e08
commit
0e71d283c9
1 changed files with 2 additions and 2 deletions
|
|
@ -158,9 +158,9 @@ def import_shows_and_setlists():
|
|||
existing_shows[show_date] = show
|
||||
shows_added += 1
|
||||
|
||||
# Fetch setlist for this show
|
||||
# Fetch setlist for this show by date
|
||||
try:
|
||||
setlist_data = get_api_data(f"setlists/showid/{api_show_id}.json")
|
||||
setlist_data = get_api_data(f"setlists/showdate/{show_date_str}.json")
|
||||
if not setlist_data.get("error"):
|
||||
setlist = setlist_data.get("data", [])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue