add icaluid to description
This commit is contained in:
@@ -30,7 +30,7 @@ poetry run generate-ics
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
* ~~sync events to gcal by icaluid on every release via gcal api~~
|
* ~~sync events to gcal by icaluid on every release via gcal api~~
|
||||||
compare event ids from last sync to current and highlight changes to previously selected events in release
|
* ~~compare event ids from last sync to current and highlight changes to previously selected events in release~~
|
||||||
* modify runner scripts to stop running on events that have already elapsed
|
* modify runner scripts to stop running on events that have already elapsed
|
||||||
* refactor event scrapers to use a config containing start/stop and other common metadata
|
* refactor event scrapers to use a config containing start/stop and other common metadata
|
||||||
* create multi-select webui
|
* create multi-select webui
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
|
"start": 1744948800,
|
||||||
|
"end": 1745207999,
|
||||||
"calendars": {
|
"calendars": {
|
||||||
"Sakura-Con Presents": "f2802717d1727828bf1bfe9f6cc35844a36ffff6daad7c3fa293ab35bf51c495@group.calendar.google.com",
|
"Sakura-Con Presents": "f2802717d1727828bf1bfe9f6cc35844a36ffff6daad7c3fa293ab35bf51c495@group.calendar.google.com",
|
||||||
"Fan Panel": "8062c73edfb8db11c385b255531d97ba7a30672a5e6ded4e24cd589b25282d65@group.calendar.google.com",
|
"Fan Panel": "8062c73edfb8db11c385b255531d97ba7a30672a5e6ded4e24cd589b25282d65@group.calendar.google.com",
|
||||||
|
|||||||
@@ -100,10 +100,11 @@ async def insert_fields(events):
|
|||||||
|
|
||||||
for desc, event in zip(descs, events):
|
for desc, event in zip(descs, events):
|
||||||
event["raw_description"] = desc
|
event["raw_description"] = desc
|
||||||
|
uid_str = f"UID: {event['id']}"
|
||||||
tags_str = ""
|
tags_str = ""
|
||||||
if 'hashtag_title' in event and event['hashtag_title']:
|
if 'hashtag_title' in event and event['hashtag_title']:
|
||||||
tags_str = f"Tags: {','.join(event['hashtag_title'])}\n"
|
tags_str = f"Tags: {','.join(event['hashtag_title'])}\n"
|
||||||
event["description"] = f"Track: {event['tag_title']}\n{tags_str}\n{desc}"
|
event["description"] = f"Track: {event['tag_title']}\n{tags_str}\n{uid_str}\n{desc}"
|
||||||
return events
|
return events
|
||||||
|
|
||||||
def batch_create_handler(_, resp, exception):
|
def batch_create_handler(_, resp, exception):
|
||||||
|
|||||||
Reference in New Issue
Block a user