Skip to content

Copy the current time of the video to clipboard.

License

Notifications You must be signed in to change notification settings

mbway/mpv-copyTime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 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"

External commands are used to access the clipboard:

  • Powershell is used on Windows
  • xclip is used on Linux + X11
  • wl-copy or xclip is used on Linux + Wayland
  • pbcopy is used on MacOS

Installation

Put the copy_time.lua script in your scripts folder

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

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%