old101 / mpv-copyStuff

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mpv-copyStuff

This script copies to clipboard the:

  • Filename (With Extension)
  • Full Filename Path
  • Relative Filename Path (Parent Directory + Filename)
  • Current Video Time (HH:MM:SS.MS)
  • Current Displayed Subtitle Text

Installation

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

  • Windows: "C:\Users\Username\AppData\Roaming\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).

Hotkeys

What is Copied Hotkey
Filename CTRL+f
Full Filename Path CTRL+p
Relative Filename Path CTRL+r
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 ss3 ss4 ss5

About

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

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%