Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

Tweak audio file handling in ts CLI

Open dsaxton opened this issue 1 year ago • 0 comments

What this Pull Request (PR) does

Adds a context manager to properly close audio files after processing, and uses temp files for the audio segments to ensure things get cleaned up after we're done.

Related issues

None.

Testing

Locally ran poetry run ts <some_podcast_mp3_file> and verified everything transcribed without leaving any temporary files.

dsaxton avatar Jun 26 '24 02:06 dsaxton