[RELEASE] Windows Screensaver Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bilakos Offline
Junior Member
Posts: 27
Joined: Jun 2013
Reputation: 0
Post: #16
Hi,

works great on my Systems as Long as you do not play any Music in the Background. On my System it crashes every once a while when the screensaver is loaded. Here is my log:

22:43:02 T:10632 NOTICE: Thread JobWorker start, auto delete: true
22:44:03 T:14988 NOTICE: Thread LanguageInvoker start, auto delete: false
22:44:04 T:14988 NOTICE: -->Python Interpreter Initialized<--
22:44:04 T:14988 NOTICE: 1 Screensaver: Python Screensaver Started
22:44:04 T:14988 NOTICE: 2 Screensaver: onInit
22:44:38 T:14988 NOTICE: 4 Screensaver: ExitMonitor sending exit_callback
22:44:38 T:14988 NOTICE: 5 Screensaver: Exit requested
22:44:38 T:14988 NOTICE: 6 Screensaver: Python Screensaver Exits
22:44:38 T:14988 NOTICE: 7 Screensaver: Script Ends
22:44:39 T:14548 NOTICE: Storing total System Uptime
22:44:39 T:14548 NOTICE: Saving settings
22:44:39 T:14548 NOTICE: stop all
22:44:39 T:14548 NOTICE: ES: Stopping event server
22:44:39 T:14548 NOTICE: stopping zeroconf publishing
22:44:39 T:14988 ERROR: CPythonInvoker(8, C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.windowsscreensaver\default.py):​ failed to run the gc to clean up after running prior to shutting down the Interpreter
22:44:39 T:14988 WARNING: CPythonInvoker(8, C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.windowsscreensaver\default.py):​ the python script "C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.windowsscreensaver\default.py" has left several classes in memory that we couldn't clean up. The classes include: class PythonBindings::XBMCAddon_xbmc_Monitor_Director,class PythonBindings::XBMCAddon_xbmcgui_WindowXMLDialog_Director
22:44:39 T:10684 NOTICE: ES: UDP Event server stopped
22:44:39 T:14548 NOTICE: stop player
22:44:40 T:14548 NOTICE: stop sap announcement listener
22:44:40 T:14548 NOTICE: clean cached files!
22:44:40 T:14548 NOTICE: unload skin
22:44:41 T:18240 WARNING: CPythonInvoker(1, C:\Users\xbmc\AppData\Roaming\XBMC\addons\service.skin.widgets\default.py): the python script "C:\Users\xbmc\AppData\Roaming\XBMC\addons\service.skin.widgets\default.py" has left several classes in memory that we couldn't clean up. The classes include: class PythonBindings::XBMCAddon_xbmc_Player_Director,class PythonBindings::XBMCAddon_xbmc_Monitor_Director,class XBMCAddon::xbmcgui::Window
22:44:41 T:18996 NOTICE: StorageServer-2.5.2 Closed down
22:44:41 T:4252 WARNING: CPythonInvoker(4, C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.cinema.experience\service.py): the python script "C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.cinema.experience\service.py" has left several classes in memory that we couldn't clean up. The classes include: class PythonBindings::XBMCAddon_xbmc_Monitor_Director,class PythonBindings::XBMCAddon_xbmc_Player_Director
22:44:41 T:14548 NOTICE: stopped
22:44:41 T:14548 NOTICE: destroy
22:44:41 T:14548 NOTICE: closing down remote control service
22:44:41 T:14548 NOTICE: unload sections
22:44:42 T:14548 NOTICE: destroy
22:44:42 T:14548 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10021 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
22:44:42 T:14548 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
22:44:42 T:14548 NOTICE: closing down remote control service
22:44:42 T:14548 NOTICE: unload sections
22:44:42 T:14548 NOTICE: application stopped...
find quote
PrplHaz4 Offline
Junior Member
Posts: 1
Joined: Sep 2014
Reputation: 0
Post: #17
I managed to get this running on 13.2 by tweaking the addon.xml to use this import:
Code:
<import addon="xbmc.python" version="2.14.0"/>

It launches the screensaver fine, but looks as if XBMC is being killed in the background, so when the screensaver is exited, XBMC is no longer running in the background and must be started again.

Also may be behaving weird since I'm using ScreenLauncher to launch the Windows MediaCenter picture screensaver...maybe I'll revisit another day...
find quote
Post Reply