From d437e66f0e70d67f37bc4416db0ed43f79dffb22 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 12 Feb 2023 10:53:50 -0500 Subject: [PATCH 1/2] Update media_path MACRO for archive.org transciption files The whisper transcription files are stored one directory deeper on archive.org. Add checks and correct path when passed txt, srt, or vtt media_type. --- templates/shared-utils.tpl.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/shared-utils.tpl.html b/templates/shared-utils.tpl.html index 3caf07c..f51d000 100644 --- a/templates/shared-utils.tpl.html +++ b/templates/shared-utils.tpl.html @@ -4,7 +4,7 @@ - + @@ -59,8 +59,14 @@ + + + + + + - + . From 138b0fdd1be2a017af67cdedaeec31e4a316cfc7 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 12 Feb 2023 10:58:43 -0500 Subject: [PATCH 2/2] Add Show Transcript section to episode template --- templates/content-episode.tpl.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/content-episode.tpl.html b/templates/content-episode.tpl.html index 0c33086..5a9f01c 100644 --- a/templates/content-episode.tpl.html +++ b/templates/content-episode.tpl.html @@ -27,6 +27,16 @@ Hosted by whisper +
whisper --model tiny --language en hpr0010.wav

+ +