-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmp.yml
125 lines (125 loc) · 2.24 KB
/
mp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Taken from: https://github.com/mpv-player/mpv/blob/master/DOCS/man/lua.rst
---
base: lua51
globals:
mp.command:
args:
- type: string
mp.commandv:
args:
- type: "..."
mp.command_native:
args:
- type: table
- required: false
type: any
mp.command_native_async:
args:
- type: table
- type: function
mp.abort_async_command:
args:
- type:
display: MpAsyncCommand
mp.get_property:
args:
- type: string
- required: false
type: any
must-use: true
mp.get_property_native:
args:
- type: string
- required: false
type: any
must-use: true
mp.get_property_number:
args:
- type: string
- required: false
type: any
must-use: true
mp.set_property:
args:
- type: string
- type: any
mp.set_property_native:
args:
- type: string
- type: any
mp.add_key_binding:
args:
- type: string
- type: any
- required: false
type: any
mp.add_forced_key_binding:
args:
- type: "..."
mp.remove_key_binding:
args:
- type: string
mp.register_event:
args:
- type: string
- type: function
mp.observe_property:
args:
- type: string
- type: string
- type: function
mp.get_script_directory:
args:
- required: false
type: nil
must_use: true
mp.osd_message:
args:
- type: string
- required: false
type: number
mp.register_script_message:
args:
- type: string
- type: function
mp.create_osd_overlay:
args:
- type: string
must-use: true
mp.msg.log:
args:
- type: string
- type: "..."
mp.msg.fatal:
args:
- type: "..."
mp.msg.error:
args:
- type: "..."
mp.msg.warn:
args:
- type: "..."
mp.msg.info:
args:
- type: "..."
mp.msg.verbose:
args:
- type: "..."
mp.msg.debug:
args:
- type: "..."
mp.msg.trace:
args:
- type: "..."
mp.utils:
property: full-write
mp.utils.getcwd:
args:
- required: false
type: nil
must-use: true
mp.utils.getpid:
args:
- required: false
type: nil
must-use: true