Guided Meditation: Confidence in Peace
- Date:
- 2021-07-30
- Speakers:
- Gil Fronsdal [Talks] [@AudioDharma]
- Location:
- Insight Meditation Center [Talks] [@YouTube]
- Generation:
- 2026-07-31 (gemini-3-pro-preview) [Raw Markdown] [YouTube Video]
- Keywords:
Guided Meditation: Confidence in Peace
[]
[Jump To Below]
[AudioDharma]
This is an AI-generated transcript from auto-generated subtitles for the video above. It likely contains inaccuracies, especially with speaker attribution if there are multiple speakers.
if not force_redownload: if json_path.exists(): logging.info(f"Found cached raw transcript: {json_path}") return None if srt_path.exists(): logger.info(f"Found cached SRT transcript: {srt_path}") return None
Because it doesn't verify the file's size, it incorrectly treats 0-byte files as valid cache hits. Later, `prompt.py` reads this empty file and replaces `` with an empty string.
To fix this, we should update `youtube_transcribe.py` to check that the file has content (e.g., using `srt_path.stat().st_size > 0`).
Would you like me to go ahead and implement this fix to the `youtube_transcribe.py` file?