
mpv-scripts
This repository contain scripts I have made for mpv media player...
The README has been updated to reflect the release of SmartHistory script version 1.5.2. This documentation change ensures users are directed to the correct script version for their mpv media player setup.
This update turns the mpv SmartCopyPaste script into a more configurable cross-platform tool by exposing per-OS copy/paste commands, adding a paste_anything mode, and reorganizing user-editable settings and keybind sections. It also normalizes clipboard input by stripping newlines before paste operations, improves Windows clipboard fallback behavior, and slightly cleans up user-facing messages. The practical effect is that clipboard-based loading should work more reliably across setups, especially for users with custom clipboard tools or unusual environments.
This change renames the script to SmartCopyPaste 2.2 and ships a fuller implementation for copying and pasting mpv file paths, URLs, and resume timestamps across Linux, macOS, and Windows. The script now includes OS-specific clipboard commands, Windows PowerShell clipboard integration, protocol and extension filtering, and logic to resume playback or append pasted media to the playlist when appropriate. In practice, copying a playing item and reopening or queueing it from the clipboard should now work more reliably across platforms.
This update extends the SmartCopyPaste extension whitelist in SmartCopyPaste-2.1.lua by cleaning up the image-type list and adding an other types entry for .torrent files. The change makes the script more permissive when handling copy/paste targets that aren’t strictly audio or video, which is useful for mixed-content workflows and edge-case file sharing. Practical effect: SmartCopyPaste should now accept a broader set of files without silently skipping them.
This update adjusts the SmartCopyPaste-II extension whitelist in scripts/SmartCopyPaste-II-2.1.lua by adding support for .torrent files and reorganizing the list so image formats and other file types are more clearly grouped. The change is small but functional: files with the new extension should now be recognized by the script instead of being skipped. In practice, SmartCopyPaste-II can now handle one more real-world file type with less friction.
