Skip to content

Command-line option to automatically trim timings #29

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

Open
fenhl opened this issue Feb 16, 2014 · 2 comments
Open

Command-line option to automatically trim timings #29

fenhl opened this issue Feb 16, 2014 · 2 comments

Comments

@fenhl
Copy link

fenhl commented Feb 16, 2014

I would like to see a command-line option, eg --trim=<seconds> that works similarly to -e, but instead of opening the $EDITOR automatically changes all timings that are longer than <seconds> to <seconds>. If combined with -e, it should first auto-trim and then open the $EDITOR with the trimmed timings for further modification.

@ConradIrwin
Copy link
Owner

Yeah. That would be pretty cool. We could even enable it by default for
pauses over a second. Would you have time to submit a pull request?

I'd also really like a way to hide my typos. Maybe we can detect simple
transposition correction and just elide the wrong version :).

Conrad

On Sun, Feb 16, 2014 at 11:41 AM, Fenhl [email protected] wrote:

I would like to see a command-line option, eg --trim= that works
similarly to -e, but instead of opening the $EDITOR automatically changes
all timings that are longer than to . If combined with
-e, it should first auto-trim and then open the $EDITOR with the trimmed
timings for further modification.

Reply to this email directly or view it on GitHubhttps://github.com//issues/29
.

@fenhl
Copy link
Author

fenhl commented Feb 18, 2014

Sorry, I don't know enough Ruby for a pull request.

Typo-hiding should be optional though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants