2015-10-23, 02:07
Hello vdb86. This screensaver is exactly what I've been looking for. There are a couple of problems however: firstly, the font size of the time is very small.
I use the Transparency! skin. The problem has only appeared with the last update. It looks like the code may not be properly detecting the skin, as it loads ~/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.default.xml rather than ~/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.transparency.xml. As a quick fix I exited kodi and copied skin.transparency.xml to skin.default.xml (after backing the latter up). After restarting kodi the screensaver loads the correct (transparency) fonts.
Secondly, the time/date is remaining in the centre of the screen, i.e. it doesn't shift around. Here's a short log extract:
I'm using the latest Isengard 15.2 on Debian Linux compiled from git repo.
Hope this helps. Thanks.
I use the Transparency! skin. The problem has only appeared with the last update. It looks like the code may not be properly detecting the skin, as it loads ~/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.default.xml rather than ~/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.transparency.xml. As a quick fix I exited kodi and copied skin.transparency.xml to skin.default.xml (after backing the latter up). After restarting kodi the screensaver loads the correct (transparency) fonts.
Secondly, the time/date is remaining in the centre of the screen, i.e. it doesn't shift around. Here's a short log extract:
Code:
00:55:14 T:140171383121664 DEBUG: CPythonInvoker(60, /home/neil/.kodi/addons/screensaver.digitalclock/default.py): instantiating addon using automatically obtained id of "screensaver.digitalclock" dependent on version 2.1.0 of the xbmc.python api
00:55:14 T:140173188212736 DEBUG: ------ Window Init (/home/neil/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.default.xml) ------
00:55:14 T:140173188212736 INFO: Loading skin file: /home/neil/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.default.xml, load type: LOAD_ON_GUI_INIT
00:55:14 T:140173188212736 DEBUG: Load /home/neil/.kodi/addons/screensaver.digitalclock/resources/skins/default/720p/skin.default.xml: 3.17ms
00:55:14 T:140173188212736 DEBUG: Alloc resources: 3.27ms (3.27 ms skin load)
00:55:14 T:140173188212736 DEBUG: CGUIMediaWindow::GetDirectory ()
00:55:14 T:140173188212736 DEBUG: ParentPath = []
00:55:14 T:140171383121664 NOTICE: Digital Clock Screensaver: INIT
00:55:14 T:140171383121664 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'Screensaver' object has no attribute 'conditions'
Traceback (most recent call last):
File "/home/neil/.kodi/addons/screensaver.digitalclock/default.py", line 221, in onInit
self.DisplayTime()
File "/home/neil/.kodi/addons/screensaver.digitalclock/default.py", line 227, in DisplayTime
if self.conditions == 'Busy':
AttributeError: 'Screensaver' object has no attribute 'conditions'
-->End of Python script error report<--
I'm using the latest Isengard 15.2 on Debian Linux compiled from git repo.
Hope this helps. Thanks.