-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when shifting files #19
Comments
Using the srt command or the library ? |
library |
I'm sorry but I'm not able to reproduce. Can you show me a code sample that behave like that please ? |
$ pip freeze
$ head out.srt 2 |
Ok it's a bit difficult to see but the shift method signature is: shift(hours=0, minutes=0, seconds=0, milliseconds=0) So you ask to shift 1 hour back. subs.shift(seconds=-1) |
You're rigth! Thanks! |
You're welcome. It's my bad, I've never took the time to write a proper documentation. |
I have this subs:
1
00:00:00,058 --> 00:00:02,942
Previously on AMC's
Breaking Bad...
2
00:00:02,984 --> 00:00:04,513
Sooner or later
someone is gonna flip.
If I shift this subs -1 seconds, the resulting file has all this subs at 00:00:00,000
1
00:00:00,000 --> 00:00:00,000
Previously on AMC's
Breaking Bad...
2
00:00:00,000 --> 00:00:00,000
Sooner or later
someone is gonna flip.
3
00:00:00,000 --> 00:00:00,000
I've got nine guys.
They were part of the
I think it should be 00:00:00,000 at first and then -1 second.
The text was updated successfully, but these errors were encountered: