diff --git a/server/default_config.py b/server/default_config.py index 662be42..6a7f6ca 100644 --- a/server/default_config.py +++ b/server/default_config.py @@ -15,7 +15,7 @@ DB_URI = 'sqlite:///techrec.db' AUDIO_OUTPUT = 'output/' AUDIO_INPUT = 'rec/' AUDIO_INPUT_FORMAT = '%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.mp3' -AUDIO_OUTPUT_FORMAT = 'techrec-%(time)s-%(name)s.mp3' +AUDIO_OUTPUT_FORMAT = 'techrec-%(startdt)s-%(endtime)s-%(name)s.mp3' FORGE_TIMEOUT = 20 FORGE_MAX_DURATION = 3600*5 FFMPEG_OUT_CODEC = ['-acodec', 'copy'] diff --git a/server/pages/archive.html b/server/pages/archive.html index 57598c6..d8348aa 100644 --- a/server/pages/archive.html +++ b/server/pages/archive.html @@ -53,10 +53,11 @@ $(function() { parseInt(rec.starttime, 10)).toLocaleString() ); var duration = $('