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
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 :
xcliporwl-clipboard. - MacOS:
pbcopy(not tested).
| 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 |



