2021-11-07, 18:33
I have a question regarding a script call to
I also tried quitting kodi by killing the processes running it, but that also just lead to a restart of kodi. I used a script which gets invoked via subprocess.Popen with kill commands for the binary as well as the launcher script
If kodi is not running anymore, will a bash script that was started by Popen from my script also be terminated or will it continue running?
The ideal solution to my problem would be to simply have a working command that minimizes kodi on raspbian, but
When I call this function from within a script, kodi is automatically restarted on raspbian (buster). Kodi is started as a user process on reboot, I added a user autostart entry according to this stackexchange question.python:xbmc.executebuiltin('Quit')
I also tried quitting kodi by killing the processes running it, but that also just lead to a restart of kodi. I used a script which gets invoked via subprocess.Popen with kill commands for the binary as well as the launcher script
Do you know why kodi is restarted automatically when it is killed/quit on raspbian? How could I prevent it from starting?bash:kill -9 $KODI_BIN_PID
kill -9 $KODI_LAUNCHER_PID
If kodi is not running anymore, will a bash script that was started by Popen from my script also be terminated or will it continue running?
The ideal solution to my problem would be to simply have a working command that minimizes kodi on raspbian, but
has absolutely no effect on that platform.python:xbmc.executebuiltin('Minimize')