Skip to content

Copy the current time of the video to clipboard.

License

Notifications You must be signed in to change notification settings

hexa0/mpv-copyTime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

mpv-copyTime

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"

Installation

Put the script copyTime.lua in your scripts folder, usually in:

  • Windows: "%APPDATA%\mpv\scripts".
  • Linux and Mac: "~/.config/mpv/scripts/".

To work, the script needs:

  • Windows: Powershell.
  • Linux/X11: xclip.
  • Linux/Wayland : xclip or wl-clipboard.
  • MacOS: pbcopy (not tested).

Screenshot

ss1

About

Copy the current time of the video to clipboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%