-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can't get seek-to.lua to work :( #11
Comments
Hmm, that's definitely unexpected. The
then it failed at the registering the keybinds, which suggests a different issue entirely. Does manually adding the keybinds in input.conf works? For example:
If neither of the keybinds work, it's probably an issue in your mpv config. |
Thanks for your reply! :) I've tried again now, and keybinding seems to be recognized now. So key-bindings seem to be fine now. I'm starting MPV from the commandline to see the logging output in the shell: |
I've added a dummy-messages to "paste_timestamp()" - to see if (and how far) it's being executed: Seems it never gets past the "if clipboard == nil then return end" line. |
Seems that the "platform" string cannot be read (is nil)?
Throws:
...so the "get_clipboard()" function has no chance 😉 |
Ah yes, the I would definitely vouch for upgrading mpv, but if you can't, you can either hardcode the |
I've downloaded your code and saved it to ".config/mpv/scripts/seek-to.lua" - and restarted MPV (as works with the other lua scripts I have in that folder).
But when I paste the following timecode using "Ctrl+Alt+V" nothing happens, and mpv says it ain't responsible for that keyboard shortcut.
The timecode was:
00:01:03.12
- and the video was 2m20s long. So it should work, right?Can I help debugging this?
Thank you very much in advance!
System:
The text was updated successfully, but these errors were encountered: