Skip to content
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

Delete recordings w/ only bots or that are silent #73

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

Mr0grog
Copy link
Member

@Mr0grog Mr0grog commented Aug 29, 2024

I noticed after we fixed this script that it frequently uploads empty/silent recordings of meetings nobody attended (usually because the only attendee was a bot, or one person showed up but nobody else did):

Screenshot of YouTube playlist with pointless videos

Instead of uploading those recordings, the changes here skip them. In addition:

  • If the only attendees were bots, the meeting recording is deleted entirely (including audio and chat transcripts).
  • If the video was completely silent, the video will be deleted when DELETE_AFTER_UPLOADING is set.

This also makes some other minor refactors to handle errors better and clean up the code slightly.

Instead of uploading recordings of meetings that only had bots (e.g. the Otter.ai notetaker) or that are completely silent (nobody turned on their mic; probably only one person showed up), delete those recordings from Zoom (we still want to save space) and do not upload them to YouTube (nobody needs to see empty meetings).

This also includes some light refactor of a few things and better error handling around Zoom API calls.
@Mr0grog Mr0grog merged commit aacea26 into main Aug 29, 2024
2 checks passed
@Mr0grog Mr0grog deleted the meetings-with-bots-are-pointless-to-upload branch August 29, 2024 21:37
Mr0grog added a commit that referenced this pull request Aug 29, 2024
I used ffmpeg to detect silent videos in #73, but to make sure it’s actually installed in CI. This fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant