(summary) enhance transcription document naming with room context

Add optional room name, recording time and date to generate better
document names based on user feedback. Template is customizable for
internationalization support.
This commit is contained in:
lebaudantoine
2025-07-11 15:24:14 +02:00
committed by aleb_the_flash
parent 16dde229cc
commit 6c4c44e933
4 changed files with 45 additions and 5 deletions

View File

@@ -136,6 +136,13 @@ class NotificationService:
"filename": recording.key,
"email": owner_access.user.email,
"sub": owner_access.user.sub,
"room": recording.room.name,
"recording_date": recording.created_at.astimezone(
owner_access.user.timezone
).strftime("%Y-%m-%d"),
"recording_time": recording.created_at.astimezone(
owner_access.user.timezone
).strftime("%H:%M"),
}
headers = {