occivink / mpv-scripts

Various scripts for mpv
The Unlicense
417 stars 38 forks source link

Seek-to.lua Allow Pasting In Timestamps #75

Open AziRizvi opened 8 months ago

AziRizvi commented 8 months ago

It'd be great if we could have the ability to paste timestamps using ctrl+v in when the script is activated with its keybind and the osd seek to message is displayed.

Sneakpeakcss commented 8 months ago

There's a fork made by @dexeonify that implemented this already, and also fixed script crashing when pressing backspace while last digit is selected.

I've also just uploaded my own changes to that fork, that address some of the issues i still had that were either inherited from original seek-to.lua or the fork itself:

And some other more or less significant changes: seek-to.lua

AziRizvi commented 8 months ago

There's a fork made by @dexeonify that implemented this already, and also fixed script crashing when pressing backspace while last digit is selected.

I've also just uploaded my own changes to that fork, that address some of the issues i still had that were either inherited from original seek-to.lua or the fork itself:

  • Shifting message width when selecting pairs of 1's.
  • Selected digit indicator not helping when user uses osd-bold=yes.
  • Not using Ctrl+V for pasting timestamps.

And some other more or less significant changes: seek-to.lua

I didn't know about the fork, thanks! I've gone ahead and grabbed your fork.