I use LibreELEC 8.0.1 with the vu+ pvr client. Most of the time I want to shutdown the pvr server (a linux box in another room), when I shutdown LibreELEC. This works with the approach from thread-107-post-1367.html#pid1367
If I shut down LibreELEC with the menu entry in the log out menu (or the mapped key on my remote), the shutdown_with_net.sh script is executed and everything works as expected. But if I try to shutdown with a timer (e.g. set the timer to 5 min), the script is not called.
The regular shutdown.sh approach also does not work, because I have to execute the script before the network of LibreELEC is disconnected and shutdown.sh is called after the network is disconnected. The same applies to the KODI Callback addon, if I execute a regular shutdown, everything works as expected, but if I try a shutdown timer, the script is not called.
Does someone here have a working solution to call a script when LibreELEC shuts down by timer or is this a problem in KODI, that shutdown by timer and shutdown by menu entry don't call the same events