Another user recently started a thread about XBMC not exiting completely after it's been closed, which subsequently interferes with WMC's ability to play video, other programs playing audio, etc. I too see this fairly often, and the last thing that's mentioned in my debug logs, right after the good and bad logs diverge, is "script.tv.show.next.aired" failing to stop. I've copied my reply in that thread below and can provide more info if it would help.
http://forum.xbmc.org/showthread.php?tid...pid1683293
I get the same thing from time to time. To the OP, I have added a binding to my AutoHotkey file and bound it to a button on my remote control; it runs the following command, where pskill is one of the Sysinternals utilities:
Run pskill xbmc.exe
This lets me easily kill the zombie XBMC when WMC complains the "files needed to play video aren't installed", IIRC the WMC error message.
Below are the ends of the logfiles I just created, just where they begin to diverge. I am using Aeon Nox Gotham 4.1.9.8, but I've been seeing this problem for several skin and Gotham alpha and beta releases. Sorry, no reliable repro case so far, but just now, it happened when I loaded XBMC, went to my TV show library, selected an episode, watched for about 5 sec, and quit XBMC.
Hung (taskbar icon gone, but process still alive):
22:56:49 T:2100 NOTICE: StorageServer-2.5.4 Closed down
22:56:50 T:4432 NOTICE: script.tv.show.next.aired: ### xbmc is closing -- stopping background processing
22:56:55 T:8000 ERROR: CPythonInvoker(13, xxx\AppData\Roaming\XBMC\addons\script.videolanguage\default.py): script didn't stop in 5 seconds - let's kill it
22:57:00 T:8000 ERROR: CPythonInvoker(14, xxx\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py): script didn't stop in 5 seconds - let's kill it
(ends here)
Normal (XBMC exited completely):
22:55:46 T:4804 NOTICE: StorageServer-2.5.4 Closed down
22:55:48 T:4384 NOTICE: script.tv.show.next.aired: ### xbmc is closing -- stopping background processing
22:55:48 T:3628 NOTICE: stopped
22:55:48 T:3628 NOTICE: destroy
22:55:48 T:3628 NOTICE: closing down remote control service
22:55:48 T:3628 NOTICE: unload sections
22:55:48 T:3628 NOTICE: special://profile/ is mapped to: special://masterprofile/
22:55:48 T:3628 NOTICE: destroy
22:55:48 T:3628 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10021 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
22:55:48 T:3628 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
22:55:48 T:3628 NOTICE: closing down remote control service
22:55:48 T:3628 NOTICE: unload sections
22:55:48 T:3628 NOTICE: application stopped...
(ends here)