1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/player
Avi Halachmi (:avih) d223a63bc5 js: add javascript scripting support using MuJS
Implements JS with almost identical API to the Lua support.

Key differences from Lua:
- The global mp, mp.msg and mp.utils are always available.
- Instead of returning x, error, return x and expose mp.last_error().
- Timers are JS standard set/clear Timeout/Interval.
- Supports CommonJS modules/require.
- Added at mp.utils: getenv, read_file, write_file and few more.
- Global print and dump (expand objects) functions.
- mp.options currently not supported.

See DOCS/man/javascript.rst for more details.
2017-06-14 12:29:32 +02:00
..
javascript js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
lua ytdl_hook: don't override start time set by saved state 2017-06-09 11:13:24 +01:00
audio.c audio: replace from_dB function 2017-05-05 01:22:06 +02:00
client.c Fix use of ISC license 2017-04-15 16:20:00 +02:00
client.h
command.c options: fix some missing --sub-ass-style-override renames 2017-06-07 20:18:25 +02:00
command.h
configfiles.c options: another missed --sub-ass-style-override use 2017-06-07 20:43:59 +02:00
core.h player: fix a corner case in previous commit 2017-04-14 19:06:31 +02:00
external_files.c external_files: parse ~ in --{sub,audio}-paths 2017-05-31 13:10:34 +01:00
external_files.h
javascript.c js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
lavfi.c
lavfi.h
loadfile.c player: fix a corner case in previous commit 2017-04-14 19:06:31 +02:00
lua.c scripting: expand --script filename for C plugins 2017-06-09 19:42:12 +02:00
main.c player: make sure version information is always included in --log-file 2017-05-22 18:31:39 +02:00
misc.c
osd.c
playloop.c player: fix a corner case in previous commit 2017-04-14 19:06:31 +02:00
screenshot.c
screenshot.h
scripting.c js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
sub.c
video.c vo.c, vo.h, vo_null.c: change license to LGPL 2017-05-10 15:06:20 +02:00