I would like to use the ipc server in mvp. It does exactly what I need. But from my app I can't talk to sockets using echo. Thats why I am thinking about lua scripts.
It seems that mpv autoload the lua scripts so they can be called by keystrokes o events.
How can I execute a lua script from the terminal and get a response if the script return something?
Just in case: in the end, I need to build something like json http responses in VLC.