aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/man/lua.rst
Commit message (Collapse)AuthorAge
...
* lua: add mpv/lua directories to the lua pathGravatar Otto Modinos2014-09-28
| | | | Signed-off-by: wm4 <wm4@nowhere>
* lua: synchronously wait until scripts are loadedGravatar wm42014-09-06
| | | | | | | | | | | | | | | | | This makes the player wait until each script is loaded. Do this to give the script a chance to setup all its event handlers. It might also be useful to allow a script to change options that matter for playback. While waiting for a script to be loaded, the player actually accepts input. This is needed because the scripts can execute player commands anyway while they are being "loaded". The player won't react to most commands though: it can't quit or navigate the playlist in this state. For deciding whether a script is finally loaded, we use a cheap hack: if mpv_wait_event() is called, it's considered loaded. Let's hope this is good enough. I think it's better than introducing explicit API for this. Although I'm sure this will turn out as too simplistic some time in the future, the same would probably happen with a more explicit API.
* man: fix a whole bunch of typosGravatar Martin Herkt2014-09-01
|
* lua: expose mp_getcwd through mp.utilsGravatar Otto Modinos2014-08-31
|
* manpage: mention that mp.commandv doesn't expand propertiesGravatar Otto Modinos2014-08-25
| | | | | | | | The little lua snippet at #488 as well as the actual implementation seems to indicate that not expanding properties is indeed the correct behavior. Document that. Signed-off-by: wm4 <wm4@nowhere>
* manpage: lua: document timer timeout and oneshot fieldsGravatar wm42014-07-29
| | | | | Might be useful for scripts, so document them. (Which means scripts are allowed to use them, without risking breakage.)
* DOCS: remove en/ sub-directoryGravatar wm42014-06-20
This additional sub-directory doesn't serve any purpose anymore. Get rid of it.