1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00
mpv/options
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
..
m_config.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_config.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_option.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_option.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_property.c m_property: change license to LGPL 2017-06-12 17:00:20 +02:00
m_property.h m_property: change license to LGPL 2017-06-12 17:00:20 +02:00
options.c js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
options.h vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
parse_commandline.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_commandline.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c path: change license to LGPL 2017-06-12 16:41:21 +02:00
path.h path: change license to LGPL 2017-06-12 16:41:21 +02:00