omxwebgui-v2
omxwebgui-v2 copied to clipboard
Start script for omxwebgui
I believe many users would find it convenient to launch omxwebgui with a single command.
Here I propose such a script named omxwebgui to be located in the omxwebgui/ folder:
#!/bin/sh
php -S 0.0.0.0:4321 -t $(readlink -f "$0" | xargs dirname) >> /var/log/omxwebgui.log 2>&1 &
It needs to be made executable with
chmod +x omxwebgui.
Could this be added to the repository?
Well, already thought about that earlier here https://github.com/brainfoolong/omxwebgui-v2/issues/22
Turned out to not be that easy because of the crap dbus daemon which will be started implicitly by omxplayer but cannot be killed as easy as the omxplayer.
I stopped working on that because lack of time.