[RELEASE] Windows Screensaver Script
#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...
Reply
#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...
Reply
#18
it does not work at all now after upgrading to Kodi .. is there any way to fix this ?
Reply
#19
I miss my windows screensaver ;(
Would be nice if this worked for Kodi
Reply
#20
I'm far from a coder, but I was able to modify the source for SlrG's excellent plugin to make it work with Kodi (at least on my system). Minimal changes were needed - the main thing was to change all the references from xbmc.exe to kodi.exe. The python version in the addon.xml file also needed to be updated to a newer version.

Hope it works for you too!

Windows Screensaver v1.2: http://bit.ly/1yE4Whn
Reply
#21
@acmd: Thanks for doing that changes. Smile I'm sadly much to busy with work at the moment to support this plugin.
Reply
#22
(2015-01-08, 11:51)acmd Wrote: I'm far from a coder, but I was able to modify the source for SlrG's excellent plugin to make it work with Kodi (at least on my system). Minimal changes were needed - the main thing was to change all the references from xbmc.exe to kodi.exe. The python version in the addon.xml file also needed to be updated to a newer version.

Hope it works for you too!

Windows Screensaver v1.2: http://bit.ly/1yE4Whn

Just wanted to say THANK YOU for updating this addon, my kids (and I) were going through withdrawals from not having our dream aquariums screensaver working after upgrading to 14.1. Having access to Windows screensavers in Kodi is an extremely cool capability and one I wouldn't want give up anytime soon!

And THANK YOU to SirG for writing this addon in the first place Smile
Reply
#23
Nice - ive been trying myself to see if i could use external screensavers in kodi - this works great - im using kodi isengard 15.2
Reply
#24
Does this screensaver allow the playing of your own music library in the back ground along with showing your pictures?
Reply
#25
I created a new addon that is very similar to this but I was able to get around the issue of needing a separate executable to make it work. Any type of input (keyboard, mouse, remote, Yatse, etc.) will both stop the Windows screensaver and clear the blank Kodi screensaver screen. Instead of simply running the configured Windows screensaver this addon has a setting to select the .scr file for the screensaver. At some point in time I might try to figure out how to get the list of available screensavers from the Registry and make a drop down selection instead of a simple file browse. There is also an option to not trigger the Windows screensaver if Kodi is not fullscreen, this is intended to fix the problem of the Windows screensaver popping up all the time while working on your media center with Kodi open in a window. Hope this is helpful for someone!

Windows Screensaver for Kodi: https://www.dropbox.com/s/6akvis5hejmeu2...i.zip?dl=0
Reply
#26
Has anyone been able to update this script? Sad


Thanks
Reply
#27
(2015-12-08, 07:24)nuttytree Wrote: I created a new addon that is very similar to this but I was able to get around the issue of needing a separate executable to make it work. Any type of input (keyboard, mouse, remote, Yatse, etc.) will both stop the Windows screensaver and clear the blank Kodi screensaver screen. Instead of simply running the configured Windows screensaver this addon has a setting to select the .scr file for the screensaver. At some point in time I might try to figure out how to get the list of available screensavers from the Registry and make a drop down selection instead of a simple file browse. There is also an option to not trigger the Windows screensaver if Kodi is not fullscreen, this is intended to fix the problem of the Windows screensaver popping up all the time while working on your media center with Kodi open in a window. Hope this is helpful for someone!

Windows Screensaver for Kodi: https://www.dropbox.com/s/6akvis5hejmeu2...i.zip?dl=0

With kripton i have a lot of issue launching external screensavers expecially if visualization is running.
Disabling visualization works better and this script seems to work better tha the other.
The only issue is that this script launch like a real exe and not as a screensaver so some screensaver act in a different way.
To launch as screensaver a /s parameter should be added.
I try to modify the script,with different sintax, but without succes. (i just know C never tried pyton) is needed some character before "/" any suggestion?
Enrico.
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Windows Screensaver Script0