Suggestion for scripting extension
It would be very useful to be able to have the server trigger a script on a mainscreen (and possibly other positions, like relay) so that the remote mainscreen or position could us os.execute to say play a video fullscreen via VLC. Lua already has the os.execute() function... Thoughts.
Yes I realize it could present a remote execution vulnerability, except that it would be remote triggering of a local script on the mainscreen or position's computer, not passing a script over the network to the position leaving it wide open to abuse. I also realize the potential for a crash if the position did not have the script, but I think that is a catchable condition.
Thoughts?
Yes I realize it could present a remote execution vulnerability, except that it would be remote triggering of a local script on the mainscreen or position's computer, not passing a script over the network to the position leaving it wide open to abuse. I also realize the potential for a crash if the position did not have the script, but I think that is a catchable condition.
Thoughts?
Comments
Let a script on the client look for an unusual, but uncritical value using the http api.
If this value is detected, the script executes whatever you want.
On the lua side you just have to set that value if you want to trigger the execution.
Starting other applications, especially when running full screen, can be unpredictable.
But this might be interesting:
https://ceylow.wordpress.com/2010/11/08/playing-movies-with-sfml-and-ffmpeg/