You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@ A collection of all my scripts. Small ones are in this repo and bigger ones are
2
2
3
3
What are lua scripts? [Mpv.io lua documentation](https://mpv.io/manual/master/#lua-scripting)
4
4
Where should I put them? [Unix](https://mpv.io/manual/stable/#files)[Windows](https://mpv.io/manual/stable/#files-on-windows)
5
-
How do I use them? Use default keybinds or bind your own in [input.conf](https://mpv.io/manual/stable/#input-conf). Some of my scripts require you to edit some settings in the head of lua files to work.
6
-
7
-
Some of my scripts use script-messages for control instead of script-bindings to allow more dynamic commands to be parsed from parameters. You can call script-messages from any other lua script with mp.command("msg"), [mpv-repl](https://github.com/rossy/mpv-repl) by typing or just simply bind them to a key in input.conf.
5
+
How do I use them? Use default keybinds or bind your own in [input.conf](https://mpv.io/manual/stable/#input-conf).
6
+
7
+
Some of my scripts require you to edit some settings in the head of lua files to work as intended(usually paths).
8
+
Some of my scripts use script-messages for control instead of script-bindings to allow more dynamic commands to be parsed from parameters. You can call script-messages from any other lua script with `mp.command("script-message _name_ _arg1_ _arg2_")`, [mpv-repl](https://github.com/rossy/mpv-repl) by typing or just simply bind them to a key in input.conf like this `H script-message addscrollingsub "hello world"`.
8
9
9
10
If you have problems with any of my scripts or have feature requests feel free to open an issue. Contributions are also welcome.
10
11
@@ -35,6 +36,13 @@ If you have problems with any of my scripts or have feature requests feel free t
Experimental nicovideo style scrolling subtitles/messages. There seems to be some kind of memoryleak that crashes the script after some time. Also has some hardcoded limits and string transformations that you might want to change. Messages can be sent with script-message from mpv scripts or IPC socket from other sources.
Keeps track of your watched files locally and loads unseen files from a specified directory into a playlist on keybind.
@@ -49,6 +57,6 @@ If you have problems with any of my scripts or have feature requests feel free t
49
57
50
58
51
59
---
52
-
>Permission to use, copy, modify, and/or distribute all of this software for any purpose with or without fee is hereby granted
60
+
>Permission to use, copy, modify, and/or distribute all of the above software for any purpose with or without fee is hereby granted
53
61
54
62
>All of the software is provided as is and the author disclaims all warranties with regard to this software including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software.
0 commit comments