2014-01-17, 23:23
I have done a lot of looking today. Most of what I have found comes from xvmc crashing. Most of my problems come from add ons freezing for long periods of time, though crashes do happen.
Is there an api or port I can call to get a message. A port or api that will be silent if the application is frozen. To me frozen is the inability to use standard controls to advance to another screen.
I am not a programmer, but I wrote a script years ago that listened on port 80 for an application an dafter two failed attempts I would force a restart.
I was thinking of using this code as the restart to ensure that all threads are killed, but again, I have no idea how to test XBMC if it is frozen
<code>
sudo su -
killall -9 xbmc.bin
xinit /usr/local/bin/xbmc --standalone &
</code>
Is there an api or port I can call to get a message. A port or api that will be silent if the application is frozen. To me frozen is the inability to use standard controls to advance to another screen.
I am not a programmer, but I wrote a script years ago that listened on port 80 for an application an dafter two failed attempts I would force a restart.
I was thinking of using this code as the restart to ensure that all threads are killed, but again, I have no idea how to test XBMC if it is frozen
<code>
sudo su -
killall -9 xbmc.bin
xinit /usr/local/bin/xbmc --standalone &
</code>