You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Sorry for the very long delay in the response.
I made a very small fix with the encoding, and was able to convert your file correctly (attached).
Not sure it fixed your issue, but please try again.
About the unreverse, i tested it and it should work as is. let me know if it doesn't work for you after the fix.
Hi thanks for the fix but i'm getting sn error now:
BuSHari@DiskStation:~/reverse-subtitles$ python rev.py "Annabelle.heb.forced.srt"
Found 1 files. Starting to convert
Converting File: Annabelle.heb.forced.srt
Traceback (most recent call last):
File "rev.py", line 101, in <module>
Main()
File "rev.py", line 91, in Main
ReversePuctuation(file, newFile)
File "rev.py", line 40, in ReversePuctuation
f = open(file, 'r', encoding="Windows-1255")
TypeError: 'encoding' is an invalid keyword argument for this function
Love your script, this is exactly what i need, but there are some issues that i hope that you can correct them.
Here some examples (attached)
UnReverse Punctuation.zip
Reverse Punctuation.zip
The text was updated successfully, but these errors were encountered: