glut23 / webvtt-py

Read, write, convert and segment WebVTT caption files in Python.
MIT License
192 stars 56 forks source link

srtwriter is writing cuetag into srt #56

Closed lilaboc closed 5 months ago

lilaboc commented 8 months ago

Similar to #4

changing f.writelines(['{}\n'.format(l) for l in caption.lines])

to

f.write('{}\n'.format(caption.text))

works for me

glut23 commented 5 months ago

Hi @lilaboc 0.5.1 version is fixing this issue. Thanks.