-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch event recordings from youtube #94
base: main
Are you sure you want to change the base?
fetch event recordings from youtube #94
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks cool.
What would be the plan for fetching these and knowing how/when to link them? I'm not eager to sign up for manual work.
snippet = youtube_video_data["snippet"] | ||
content_details = youtube_video_data["contentDetails"] | ||
|
||
# TODO - could extract Speaker ? Should probably be from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't reliably set the speaker in a consistent way, so I agree that we should probably get speaker data from a different source.
Yeah, I wasn't sure if you had thoughts on that A couple ideas I had:
|
|
||
|
||
class Command(BaseCommand): | ||
help = "Attempt to resolve the names of event recordings" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example run of this script,
$ uv run manage.py resolve_event_recording_names
Recording: recording.title='PDF Text Extraction With Python' recording.published_at=datetime.datetime(2024, 8, 15, 3, 53, 12, tzinfo=datetime.timezone.utc)
Event: event.name='PDF Text Extraction (2nd Wed Talk)' event.start_at=datetime.datetime(2024, 8, 14, 23, 0, tzinfo=datetime.timezone.utc)
(i'd clean this up / complete it if you like the idea)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems cool. I guess we'd only need to run this when there is a recording that doesn't have an event attached, so the actual API calls would be super low. Also, if we are pulling from the known playlists where I'd be adding recordings, there could be a pretty high degree of confidence in the matching.
You've probably done more OpenAI stuff than I have. How deterministic do you think this is likely to be?
misc
shell_plus
)todos / followups
build a frontend for viewing these
relate recordings to events ; for now only relates to groups. will probably need to manually relate to events?
Visualization