emfcamp / Website

The Electromagnetic Field web site
http://www.emfcamp.org
GNU Affero General Public License v3.0
40 stars 85 forks source link

Automatically email speakers when their video is published #1733

Closed Jonty closed 3 weeks ago

Jonty commented 3 weeks ago

VOC set the video URL's using an API when the videos have been published. We should email speakers when this is used to inform them that their video is now up, and where it is: https://github.com/emfcamp/Website/blob/main/apps/api/schedule.py#L32

We should only do this once for each of the video types (c3voc/youtube) when they are being set for the first time, and if both are set at once we should send a single email announcing both.

It would be good to have this in place before we start publishing the 2024 videos as it's a lot of work to do manually.

jayaddison commented 3 weeks ago

Dup of #1259? (although now we do in fact have an HTTP API for use to set the video URL(s), thanks to #1325)

Jonty commented 3 weeks ago

Oh, yep! We should do this now though.