Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Merge branch 'worktree-agent-a4cb5e7822a4c2a03'

Murtaza Nasir44156e9257e6
diff --cc src/models/user.py
index 4e0517d5,51ed6e64..47b2e210
--- a/src/models/user.py
+++ b/src/models/user.py
@@@ -63,13 -63,12 +63,19 @@@ class User(db.Model, UserMixin)
transcription_hotwords = db.Column(db.Text, nullable=True)
transcription_initial_prompt = db.Column(db.Text, nullable=True)
+ # Parse meeting date from the uploaded filename (#342). When enabled,
+ # a date extracted from the filename takes precedence over file
+ # metadata / lastModified when setting meeting_date on upload.
+ parse_filename_dates = db.Column(db.Boolean, default=False)
+ filename_date_pattern = db.Column(db.String(50), nullable=True, default='auto') # preset key or 'custom'
+ filename_date_regex = db.Column(db.String(500), nullable=True) # named-group regex for 'custom'
+
+ # Filename template for auto-exported markdown files (#348). Supports
+ # {{id}}, {{title}}, {{filename}}, {{date}}, {{datetime}}, {{time}},
+ # {{year}}, {{month}}, {{day}}. Null = default "recording_{{id}}"
+ # (exact legacy behavior).
+ export_filename_template = db.Column(db.String(500), nullable=True)
+
# Include timestamps in the transcript sent to the summarizer / chat (#304).
# Independent per feature; the *_template_id selects a transcript template to
# format the timestamps (null = a built-in default timestamp format).