Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 17
Release Digital Clock Screensaver 6.0.5 (Update 2.1.2024)
#16
(2015-09-27, 21:24)vdb86 Wrote: Ok, got the idea now.
Add-ons can't define their own fonts, so that's the first no.

Doesn't help you right now, but you might want to keep an eye on this thread.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#17
(2015-10-04, 00:26)Milhouse Wrote:
(2015-09-27, 21:24)vdb86 Wrote: Ok, got the idea now.
Add-ons can't define their own fonts, so that's the first no.

Doesn't help you right now, but you might want to keep an eye on this thread.

Thanks Milhouse for the heads up!.
It would be a lot easier if we could define and use our own fonts, right now half of the time I have to bug skin developers to add/change something to Fonts.xml or I have to do it myself and create a pull request which might/might not get accepted.
Digital Clock Screensaver with a lot of options - check it out!
Reply
#18
@Milhouse
Do you know what's happening with Transifex?
Some languages are at 100% but no one's reviewing them.
Razze has pointed out that there is a bigger source code rework happening right now and that that is causing the slow down with translations and adding new addons to Transifex.
is this correct?
What are the big changes, something in Jarvis?
Digital Clock Screensaver with a lot of options - check it out!
Reply
#19
Sorry I've no idea about Transifex. The biggest change going on right now is VideoPlayer but that's unlikely to make it into Jarvis, more likely K*.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#20
Thank you for all your help and time!
Digital Clock Screensaver with a lot of options - check it out!
Reply
#21
(2015-09-27, 14:04)lady0421 Wrote:
(2015-09-24, 20:15)vdb86 Wrote: @lady0421
I've added the option for weather, it's not added to the official repository yet, but you can get it from the github and test it out.

You are a legend! It worked amazingly well. I love it, thank you!!

Small request - do you think you can draw the icon of the weather forecast, like, when it's sunny, it has the sunny - it looks a lot cuter with the icon! It's not that important, really, with or without it, I'm not changing my screensaver for a long long time!

You might want to check out the newest version. It has a weather icon now Smile
Digital Clock Screensaver with a lot of options - check it out!
Reply
#22
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:


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.
Kodi x64 build (18.1 Git:20190224-nogitfound)
Arch Linux, KDE Plasma, kernel: Linux x86 64-bit version 4.19.27-1-lts
 
Reply
#23
Hi cnwoods, sorry for the inconvenience!
I'll take a look at what's happening and fix it.
Thanks for letting me know!
Digital Clock Screensaver with a lot of options - check it out!
Reply
#24
@ cnwoods, I've taken a look and unfortunately can't reproduce this issue.
Neither on my windows 7 laptop or on my Raspberry Pi 2 running Openelec.
I might have an idea what the problem is.
Could you try please skin mimic and let me know if that one works with my screensaver or not?

Thank you
Digital Clock Screensaver with a lot of options - check it out!
Reply
#25
(2015-10-23, 12:31)vdb86 Wrote: @ cnwoods, I've taken a look and unfortunately can't reproduce this issue.
Neither on my windows 7 laptop or on my Raspberry Pi 2 running Openelec.
I might have an idea what the problem is.
Could you try please skin mimic and let me know if that one works with my screensaver or not?

Thank you

I installed mimic and the font size looks good, however the second problem still remains together with the fact (which I forgot to mention earlier) of the time not actually being updated on the screen. The log shows a similar python exception to the one I quoted earlier.

Let me know if you want me to upload a full debug log.

Cheers.
Kodi x64 build (18.1 Git:20190224-nogitfound)
Arch Linux, KDE Plasma, kernel: Linux x86 64-bit version 4.19.27-1-lts
 
Reply
#26
(2015-10-23, 21:42)cnwoods Wrote: I installed mimic and the font size looks good, however the second problem still remains together with the fact (which I forgot to mention earlier) of the time not actually being updated on the screen. The log shows a similar python exception to the one I quoted earlier.

Let me know if you want me to upload a full debug log.

Cheers.
To be honest I'm baffled with this, I guess that python is causing all of these problems.
Python script is responsible for choosing the right xml file (which corresponds to the used skin ) and for updating time (not the date).
I guess there is a problem with python or python libraries which are on you system, but unfortunately I'm not capable of debugging that.
Except for the update of Digital Clock Screensaver has anything else changed or updated on your system?
Digital Clock Screensaver with a lot of options - check it out!
Reply
#27
Why don't you properly Initialize self.conditions?
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#28
Hi Martijn,
the reason is simple, all that I made was done by trial and error, I have never used python and haven't done any coding in a while.
I read a lot before I even began coding this screensaver, but unfortunately there are things which I don't understand.
To be quite honest I don't even know what it means to properly initialize self.conditions.
I'll gladly try to fix whatever needs fixing!
Digital Clock Screensaver with a lot of options - check it out!
Reply
#29
(2015-10-23, 23:14)vdb86 Wrote:
(2015-10-23, 21:42)cnwoods Wrote: I installed mimic and the font size looks good, however the second problem still remains together with the fact (which I forgot to mention earlier) of the time not actually being updated on the screen. The log shows a similar python exception to the one I quoted earlier.

Let me know if you want me to upload a full debug log.

Cheers.
To be honest I'm baffled with this, I guess that python is causing all of these problems.
Python script is responsible for choosing the right xml file (which corresponds to the used skin ) and for updating time (not the date).
I guess there is a problem with python or python libraries which are on you system, but unfortunately I'm not capable of debugging that.
Except for the update of Digital Clock Screensaver has anything else changed or updated on your system?

No, nothing. I don't think there's anything wrong with the python libs as I'm sure I would have noticed it. Maybe I should run the test suite to make sure... hmm.

Thanks anyway.
Kodi x64 build (18.1 Git:20190224-nogitfound)
Arch Linux, KDE Plasma, kernel: Linux x86 64-bit version 4.19.27-1-lts
 
Reply
#30
I'm still looking into it, if I figure out what's wrong I'll fix it right away.
Digital Clock Screensaver with a lot of options - check it out!
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 17

Logout Mark Read Team Forum Stats Members Help
Digital Clock Screensaver 6.0.5 (Update 2.1.2024)5
This forum uses Lukasz Tkacz MyBB addons.