Skip to content

Copy to clipboard the filename, full filename path, relative filename path, current video time, current displayed subtitle text, video duration/metadata.

License

Notifications You must be signed in to change notification settings

rofe33/mpv-copyStuff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

mpv-copyStuff

This script copies to clipboard the:

  • Filename (With Extension) or URL Link
  • Full Filename Path
  • Current Video Time (HH:MM:SS.MS)
  • Current Displayed Subtitle Text
  • Video Metadata

Installation

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

  • Windows: "C:\Users\Username\AppData\Roaming\mpv\scripts".
  • Linux and MacOS: "~/.config/mpv/scripts/".

To work, the script needs:

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

Hotkeys

What is Copied Hotkey
Filename or URL Link CTRL+f
Full Filename Path CTRL+p
Current Video Time (HH:MM:SS.MS) CTRL+t
Current Displayed Subtitle Text CTRL+s
Video Duration CTRL+d
Video Metadata CTRL+m

Screenshots

ss1 ss2 ss4 ss5

About

Copy to clipboard the filename, full filename path, relative filename path, current video time, current displayed subtitle text, video duration/metadata.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Lua 100.0%