2010-01-26, 01:28
I had the exact same problem when i was doing my Xinbox script back in the day.
I tried looking for a "temp" xbmc folder where I could store my "pid" file.
A folder XBMC wipes when it starts up etc. This would delete your "pid" file and you wouldn't have the script think its running.
I could never find this so I ended up making my script install/modify the autoexec.py script adding a line to delete the "pid" if exsisits.
so, as soon as XBMC is run. Autoexec.py is executed and deletes the "pid" if it is present.
Give that a go.
I tried looking for a "temp" xbmc folder where I could store my "pid" file.
A folder XBMC wipes when it starts up etc. This would delete your "pid" file and you wouldn't have the script think its running.
I could never find this so I ended up making my script install/modify the autoexec.py script adding a line to delete the "pid" if exsisits.
so, as soon as XBMC is run. Autoexec.py is executed and deletes the "pid" if it is present.
Give that a go.