-
Notifications
You must be signed in to change notification settings - Fork 21
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
The button to loop the current video on the current subtitle fragment #177
Comments
This can be achieved by going to Settings > Open Config Folder, and then creating (I think it's not there by default) a text file "input.conf" and pasting this:
Then the Enter key will replay the current subtitle segment. Correct me if I'm wrong. |
Like mansuen said, you should just add a bind in your |
That button executes
It goes to the last subtitle.
It goes 10 seconds backwards in the video. Corrections aside, I don't see the value in implementing the feature internally in Memento since the same functionality can be achieved through some button presses or through a Lua script if you want to get specific. Implementing features like this in C++ is just unneeded baggage in my opinion. The type of features that should be implemented in Memento are ones that either can't easily be scripted into mpv or can be done significantly better in C++. Since exactly what you want doesn't already exist from what I can find, I recommend you learn Lua and mpv's API. Lua is a simple language. mpv's API has a learning curve due to its documentation, but essentially all you'll be doing is binding a hotkey that gets the |
I request to add a button to loop the video on the fragment of the current subtitles
The button will look something like that
![example](https://private-user-images.githubusercontent.com/66978329/260781435-bb14f11c-4dc1-4e39-a8fd-eb9ade4d8280.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjkwNzQsIm5iZiI6MTcyMjAyODc3NCwicGF0aCI6Ii82Njk3ODMyOS8yNjA3ODE0MzUtYmIxNGYxMWMtNGRjMS00ZTM5LWE4ZmQtZWI5YWRlNGQ4MjgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIxMTkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhNWVhM2EwMWM3MzMyZWM1NjkxODc2NDJjZGE5MTM0ZWUxYjcyN2VlNWM3Nzk1NDI3NDNlZDkwM2VjZDUwNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tlP39HMVGc7NhXegZzheKSnC0JPqfS0pgKIC9m9f8GU)
The text was updated successfully, but these errors were encountered: