This repository contain scripts I have made for mpv media player...
This repository contain scripts I have made for mpv media player.
To add scripts from this repository, download the desired script in your mpv/scripts/
directory, for user customizable settings download the related conf file in your mpv/script-opts/
directory.
Scripts available in this repository: SmartSkip, SmartCopyPaste, SmartCopyPaste_II, SimpleHistory, SimpleBookmark, SimpleUndo, UndoRedo
You think Netflix is good at binge-watching? Yes, it is.. :) But give SmartSkip a try! Automatically or manually skip opening, intro, outro, and preview, like never before. Jump to next file, previous file, and save your chapter changes!
Below default keybinds can be changed using the script conf file, or through script-opts by referring to the names that do not contain spaces.
Keybind | Name | Description |
---|---|---|
> |
smart-next | Skips using silence-skip > chapter-next > playlist-next, based on configurable variables |
< |
smart-prev | Jumps to beginning > previous chapter > previous playlist, based on configurable variables |
? |
silence-skip | Skips until a silence is detected based on configurable variables |
ctrl+right |
chapter-next | Jumps to next chapter > to next playlist |
ctrl+left |
chapter-prev | Jumps to previous chapter > to beginning > to previous playlist |
smart-next , enter , y |
Proceed Auto-Skip | Proceeds Auto-Skip when countdown is started |
smart-prev , pause , esc , n |
Cancel Auto-Skip | Cancels Auto-Skip when countdown is started |
ctrl+. |
toggle-autoskip | Enables or disables Auto-Skip during playback for the current mpv session |
alt+. |
toggle-category-autoskip | Enables or disables a chapter for Auto-Skip during playback for the current mpv session |
|
toggle-autoload | Enables or disables autoload during playback for the current mpv session |
n |
add-chapter | Add a chapter for the reached position |
alt+n |
remove-chapter | Removes the current chapter |
ctrl+n |
write-chapters | jumps to the previous available filter based on configured filters |
alt+s / alt+S |
edit-chapter | Renames the current chapter (requires user-input-module ) |
|
bake-chapters | Merge the changes of chapters for the file inside mkv file |
Gives mpv the capability to copy and paste while being smart and customizable...
The following are the default keybinds, they can be changed in the conf file of the script or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
ctrl+c / ctrl+C / meta+c / meta+C |
copy | copies file path / URI with resume time using the configured smart behavior. |
ctrl+v / ctrl+V / meta+v / meta+V |
paste | pastes and run into mpv from the clipboard using the configured smart behavior. |
ctrl+alt+c / ctrl+alt+C / meta+alt+c / meta+alt+C |
copy-specific | copies the file path without the reached time or based on the configured specific copy behavior. |
ctrl+alt+v / ctrl+alt+V / meta+alt+v / meta+alt+V |
paste-specific | pastes and appends the video file into playlist or based on the configured specific paste behavior. |
Just like SmartCopyPaste but logs your clipboard and makes use of it...
The following are the default keybinds, they can be changed in the conf file of the script or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
ctrl+c / ctrl+C / meta+c / meta+C |
copy | copies file path / URI with resume time using the configured smart behavior. |
ctrl+v / ctrl+V / meta+v / meta+V |
paste | pastes and run into mpv from the clipboard using the configured smart behavior. |
ctrl+alt+c / ctrl+alt+C / meta+alt+c / meta+alt+C |
copy-specific | copies the file path without the reached time or based on the configured specific copy behavior. |
ctrl+alt+v / ctrl+alt+V / meta+alt+v / meta+alt+V |
paste-specific | pastes and appends the video file into playlist or based on the configured specific paste behavior. |
c / C |
open-list | opens Clipboard list (LogManager) |
%APPDATA%\mpv\mpvClipboard.log
, for Linux OS and MAC OS: ~\.config\mpv\mpvClipboard.log
.Stores whatever you open in a history file and abuses it with features! Continue watching your last played or resume previously played videos, manage and play from your history, and more...
The following are the default keybinds, they can be changed in the conf file of the script or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
ctrl+r / ctrl+R |
history-resume | File Loaded: Resumes in any previously closed video. / Idle: Loads and resumes the last played videos. |
alt+r / alt+R |
history-load-last | File Loaded: Adds last closed video into playlist. / Idle: Loads last closed video without resuming. |
ctrl+H |
history-incognito-mode | Triggeres a customizable incognito mode that stops saving history. To resume saving history press ctrl+H again |
h / H |
open-list | opens History list (LogManager) |
r / R |
NA | opens History list - filtered with recent items (LogManager) |
%APPDATA%\mpv\mpvHistory.log
, for Linux OS and MAC OS: ~\.config\mpv\mpvHistory.log
.Bookmark with a key, then list and access your bookmarks with a key. Assign your favorites to a keybind then access your favorites with that same keybind. Simple as that...
The following are the default keybinds, they can be changed in the conf file of the script or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
ctrl+b / ctrl+B |
bookmark-save | bookmarks file along with time reached. |
alt+b / alt+B |
bookmark-fileonly | bookmarks file only without the reached time. |
b / B |
open-list | opens Bookmark list (LogManager) |
k / K |
NA | opens Bookmark list - filtered with entries assigned to keybinds (LogManager) |
alt+1 -alt+9 |
NA | List is open: assigns entry to a keybind. / List is closed: loads the assigned entry. |
alt+shift+1 -alt+shift+9 |
NA | override a corresponding assigned keybind entry based on the pressed number. |
alt+- |
keybind-slot-remove | when list is open it removes the assigned keybind from the bookmarked entry based on cursor position. |
alt+shift+- |
keybind-slot-remove-highlight | when list is open it removes all the highlighted assigned keybinds from the bookmarked entries. |
%APPDATA%\mpv\mpvBookmark.log
, for Linux OS and MAC OS: ~\.config\mpv\mpvBookmark.log
.Accidentally seeked? No worries, simply undo..
The following are the default keybinds, they can be changed in the script or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
ctrl+z / ctrl+Z |
undo / undoCaps | undo accidental seek by returning to previous time and vise-versa. |
Undo is not enough to fix your accidental seek? Well now you can redo as well..
The following are the default keybinds, they can be changed in the script or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
ctrl+z / ctrl+Z |
undo / undoCaps | undo by returning to previous time. |
ctrl+y / ctrl+Y |
redo / redoCaps | redo by restoring the undo time. |
ctrl+alt+z / ctrl+alt+Z |
undoLoop / undoLoopCaps | undo accidental seek by returning to previous time and vise-versa. |
A highly customizable GUI to list and manage the logged items for SimpleHistory, SimpleBookmark, SmartCopyPaste_II; it is already integrated with the scripts.
Bookmarks (Keybinds Filter and Sort) | Clipboard (Highlighted 3 Items) | History (Search for Naruto in April 2022) |
---|---|---|
The following are the default keybinds, they can be changed in the conf file of the scripts or using script-opts by referring to the name.
Keybind | Name | Description |
---|---|---|
UP / WHEEL_UP |
move-up | navigates up on the log list |
DOWN / WHEEL_DOWN |
move-down | navigates down on the log list |
PGUP |
page-up | navigates to the first item of current shown page on the log list |
PGDWN |
page-down | navigates to the last item of current shown page on the log list |
HOME |
move-first | navigates to the first item on the log list |
END |
move-last | navigates to the last item on the log list |
SHIFT |
NA | highlights the items on the list to manage and take action on multiple items. Keep holding SHIFT , then press any navigation keybind, e.g.: SHIFT+UP /SHIFT+PGDWN to highlight the items navigated towards |
ctrl+a / ctrl+A |
list-highlight-all | highlights all the displayed items on the log list |
ctrl+d / ctrl+D |
list-unhighlight-all | cancels the highlight of all highlighted items shown on the log list |
RIGHT / MBTN_FORWARD |
list-filter-next | jumps to the next available filter based on configured filters |
LEFT / MBTN_BACK |
list-filter-previous | jumps to the previous available filter based on configured filters |
alt+s / alt+S |
list-cycle-sort | cycles through the different available sorts on the log list |
ENTER / MBTN_MID |
list-select | loads an entry based on cursor position |
ctrl+ENTER |
list-add-playlist | add entry to playlist based on cursor position |
SHIFT+ENTER |
list-add-playlist-highlight | adds all highlighted entries to playlist |
0 -9 |
NA | quick-select an entry from 0th to 9th position |
DEL |
list-delete | deletes an entry from the log file based on cursor position |
SHIFT+DEL |
list-delete-highlight | deletes all highlighted entries from the log file |
ctrl+f / ctrl+F |
list-search-activate | triggers search to quickly find an item on the log list |
ALT+ENTER |
search_string_not_typing | forcefully exit typing mode of search while keeping search open |
Depends on the script | ignore | Keybinds that will be ignored when the log list is open (mainly to avoid opening another log list from a different script while current one is active) |
ESC / MBTN_RIGHT |
NA | close the log list (closes search first if it is open) |
MPV.net users must change the option input-default-bindings = no
to input-default-bindings = yes
located in MPV.net/mpv.conf
Below is list of contributors/ honorable mentions. Without the below contributions these scripts would not exist today.