Copy the current time of the video to clipboard.
Get the current time of the video and copy it to the clipboard with the format HH:MM:SS.MS, where MS (milliseconds) is 3 digits.
By default, the script is bound to "Ctrl + c"
External commands are used to access the clipboard:
Powershell
is used on Windowsxclip
is used on Linux + X11wl-copy
orxclip
is used on Linux + Waylandpbcopy
is used on MacOS
Put the copy_time.lua
script in your scripts folder
- usually
"%APPDATA%\mpv\scripts"
on Windows - usually
"~/.config/mpv/scripts/"
on Linux and Mac