This commit is contained in:
CroneKorkN 2025-05-30 19:01:39 +02:00
parent 2cdb0235c5
commit 40efa94b81
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -22,7 +22,7 @@ def get_next_section_start(now):
def record_section(): def record_section():
tz = pytz.timezone("Europe/Berlin") tz = pytz.timezone("Europe/Berlin")
now = datetime.datetime.now(tz) now = datetime.datetime.now(tz)
timestamp = now.strftime("%Y%m%d-%H%M") timestamp = now.strftime("%Y%m%d-%H%M%S")
filename = os.path.join(OUTDIR, f"{timestamp}.flac") filename = os.path.join(OUTDIR, f"{timestamp}.flac")
print(f"🎙️ Starte Aufnahme: {filename}") print(f"🎙️ Starte Aufnahme: {filename}")