Skip to content

Kr4is/mpv-copy-time

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

mpv-copy-time

Copy the current time of the video to clipboard or to file.

  • 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.

  • Get the current time of the video and copy it to file.txt with the format HH:MM:SS.

By default:

  • Copy to clipboard is bound to "Ctrl + c"
  • Copy to file is bound to "Ctrl + a"

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%