[Screensaver] Simple Clock

brantje

New member
Jun 27, 2013
4
0
0
Couldn't find a good category so posting it here...

I found it weird that there were no nice clock screensavers, so i decided to give it a go.

This was my first python experiment, so don't be to hard..

As a result this came out





Features:
- Able to hide the date
- Jumping across screen to prevent burn-ins
- Bounce mode
- Setting a single background image
- Setting a directory for multiple backgrounds (sliding)
- Setting time color
- 12/24 hour + AM/PM

What does not work:
- Skins

Also there will be some skin support so you can make your own clocks.

Download it from Github
 
Last edited:

brantje

New member
Jun 27, 2013
4
0
0
Very nice!

Small bug in windows, to fix

change
Code:
self.bouncespeed = int(Addon.getSetting('bouncespeed'))
to

Code:
self.bouncespeed = int(float(Addon.getSetting('bouncespeed')))
12/24, in the DisplayTime method, you just need a

Code:
if Addon.getSetting('debug') == "false" and hour > 12:
    hour -= 12
Although of course it would be better to store the addon setting in a member variable.

Good work though, very useful!
Thanks for your suggestions, will push them tonight :)
Also the debug setting was for, as it say's debug purposes.

btw when hour > 12 then its PM right?
 
Last edited:

brantje

New member
Jun 27, 2013
4
0
0
Ok then, will add an option for AM/PM also.

Edit:
Updated plugin, added 12h (thanks to spoyser) and am/pm.


Code optimizations suggestions are also welcome!
 
Last edited:
Thread starter Similar threads Forum Replies Date
D Addon Requests 1
B Kodi Support 0
S Kodi Skins 0