pndurette / gTTS

Python library and CLI tool to interface with Google Translate's text-to-speech API
http://gtts.readthedocs.org/
MIT License
2.3k stars 362 forks source link

Flush file after saving #448

Closed ahmadfantastic closed 9 months ago

ahmadfantastic commented 9 months ago

This ensures that other libraries like playsound can immediately play the saved audio file.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5b35510) 98.76% compared to head (f4cb807) 98.76%. Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #448 +/- ## ======================================= Coverage 98.76% 98.76% ======================================= Files 13 13 Lines 324 325 +1 ======================================= + Hits 320 321 +1 Misses 4 4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pndurette commented 9 months ago

Oh good one! Thank you!