Kodi Community Forum

Full Version: Digital Clock Screensaver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
(2015-08-31, 14:30)vdb86 Wrote: [ -> ]
Digital clock screensaver


I have stopped supporting Kodi 15 and 16, only Kodi 17+ will be supported.

You can find this screensaver in the official Kodi repo.


These are the options in settings:

Movement
- Movement on the screen (Random position, Bounce movement, Fixed in the center, Custom position)
- Bounce movement speed
- Number of seconds to stay in place (Number of seconds that the clock will stay in place before moving to a random location)

Format
- Time format
- Colon blink
- Date format (Includes custom format)

Additional Information
- Enable additional information
- Number of seconds for information switch (Number of seconds before the information will be switched with another one, i.e. Artist - Song - Weather information)
- Enable now playing information
- Enable CPU usage information
- Enable battery level information
- Enable free memory information
- CPU temperature (Depends on the system if it will work or not)
- GPU temperature (Depends on the system if it will work or not)
- HDD temperature (Depends on the system if it will work or not)
- FPS
- Current uptime
- Total uptime
- Enable movie library information (Total, Watched, Unwatched)
- Enable TV show library information (Total, Watched, Unwatched)
- Enable music library information (Artists, Albums, Songs)
- Enable weather information
- Weather icons
- Enable album art

Color | Opacity (Users can choose color and opacity for every element, along with random color and random opacity) - Implemented using script.skin.helper.colorpicker - Thanks Marcel!
- Choose hour color and opacity
- Random hour color
- Random hour opacity
- Choose colon color and opacity
- Random colon color
- Random colon opacity
- Choose minute color and opacity
- Random minute color
- Random minute opacity
- Choose AM/PM color and opacity
- Random AM/PM color
- Random AM/PM opacity
- Choose date color and opacity
- Random date color
- Random date opacity
- Choose additional information color and opacity
- Random additional information color
- Random additional information opacity
- Choose icon color and opacity
- Random icon color
- Random icon opacity

Background
- Choose text shadow color
- Chose background image aspect ratio
- Choose background (One color, Single image, Slideshow, Skin Helper)
- Choose background color
- Choose image
- Choose slideshow directory
- Random images (Screensaver chooses a random image from the folder for the background)
- Change background picture every
- Choose Skin Helper background (Movie random fanart, TV show random fanart, Music artist random fanart, Random fanart of all media types)

Extra Options
- Element Size Increase (%) (Users can increase the size of text and icons)
- Log out
- Stop now playing media
- Log out after (minutes)

This screensaver is configured for every skin separately since it has to use Fonts defined by the skin!

Skin developers have an option to use script-screensaver-digitalclock-custom.xml in their skins 1080i,720p... folder.
They should provide and maintain that xml file with their skin!
Screensaver will check for skin folders in this order: 1080i,720p, 21x9 16x9, 4x3Hirez.
If no script-screensaver-digitalclock-custom.xml is found screensaver will look for an appropriate xml file within screensavers folder.
If there is no appropriate xml file it will use skin.default.xml

List of supported skins (If the skin is in the official repository it will be supported):
Adonic
Aeon Nox 5
Aeon MQ5
Aeon MQ6
Amber
AppTV
Arctic: Zephyr
Bello 6
Black Glass Nova
Box
Chroma
Confluence
Eminence.2
Estouchy
Estuary
(Fuse)neue
Metropolis
Mimic
Nebula
Omni
OSMC
Pellucid
Phenomenal
Rapier
Retouched
Revolve
Titan (Default testing skin!)
Transparency
Unity
Xperience1080

If your skin is not on the list, and you would like it to be - send me a message.

I have tested this screensaver with a couple of languages and on two systems, windows 7 laptop and Raspberry Pi 2 running OSMC.


Change log:
5.0.3
- Added support for Aeon Nox 5: SiLVO skin

5.0.2
- Added support for Adonic and (Fuse)neue skins

5.0.1
- Fixed the weather icon not updating bug

5.0.0
- Updated the screensaver to follow Krypton updates

4.0.3
- Better representation of CPU usage on multiple core systems

4.0.2
- Added background image aspect ratio control
- Added additional information:
- CPU temperature (Depends on the system if it will work or not)
- GPU temperature (Depends on the system if it will work or not)
- HDD temperature (Depends on the system if it will work or not)
- FPS
- Current uptime
- Total uptime

4.0.0
- Added log out option
- Added support for script.skin.helper.colorpicker (Thanks Marcel!)
- Rewritten color and transparency options, now users can pick their color instead of choosing one of the few predefined ones
- Added additional information:
- CPU usage
- Battery level
- Free memory
- Movie library info (Total, Watched, Unwatched)
- TV Show library info (Total, Watched, Unwatched)
- Music library info (Artists, Albums, Songs)

3.9.0
- Got the screensaver to transifex
- Fixed the zoom bug (when part of the information gets off the screen)
- Added custom date format
- Added Skin Helper background option
- Added colon blink option

3.8.0
- Repacked the options
- Added custom position option and showing of thumbnail for now playing media
- Fixed up a slideshow bug

3.7.0
- Fixed up the code a bit and added support for Skins Estouchy and Estuary

3.6.0
- Added more zoom values and removed unnecessary weather updating, added support for skin Eunique and KOver

3.5.0
- Added zoom effect for increasing text and icons

3.4.0
- Fixed some xml loading bugs

3.3.0
- Added fixed position

3.2.0
- Fixed the sorting bug for slideshow

3.1.0
- Added support for OSMC skin

3.0.0
- Added bounce effect for on screen movement

2.9.0
- Removed xbmc.sleep and added monitor.waitForAbort

2.8.0
- Changed the way screensaver deals with custom xml files

2.7.0
- Added support for text shadow color

2.6.0
- Added support for Chroma skin

2.5.0
- Added weather icon support (Thanks to Mario and the rest of the Titan skin crew)

2.4.0
- Added skin.custom for skin developers and skin.default for skins that are not directly supported

2.3.0
- Added weather information and reworked current options

2.2.0
- Added now playing info options

2.1.0
- Setting up the screensaver so it works with most of the skins

2.0.0
- Added random option for transparency

1.9.0
- Added random option for colors

1.8.0
- Added random option for slideshow

1.7.0
- Added slideshow

1.6.0
- Added transparency for date

1.5.0
- Added transparency for time

1.4.0
- Added date colors

1.3.0
- Added time colors

1.2.0
- Added date format

1.1.0
- Added time format

1.0.0
- Initial version

Possible issues:
Depending on your language and selected date format the date text might become ... that means that the text for the date is too long, I can fix that easily, just let me know if it happens. (Screenshot would be great including which language you are using and how many letters are supposed to be on the screen).
Everything else should work just fine, let me know if you encounter any bugs or issues.

We're on Transifex!
Feel free to translate screensaver.digitalclock to your language: https://www.transifex.com/teamxbmc/kodi-...italclock/


Download:
The source is available here: https://github.com/vdb86/screensaver.digitalclock


Support:
If this screensaver is on your screen consider buying me a beer Smile

Image

Можно добавить Arctic: Zephyr 2 1920х1080?
@Zaid6995

- This is an English-only forum. Use a translating service if necessary.
- You really do not have to quote the entire opening post for a small question of six words...
excuse me. Can I add an Arctic: Zephyr 2 skin to 1920x1080? Or how can I do it myself.
(2020-06-16, 19:14)Zaid6995 Wrote: [ -> ]excuse me. Can I add an Arctic: Zephyr 2 skin to 1920x1080? Or how can I do it myself.

Try this file:
https://github.com/vdb86/screensaver.dig...phyr.2.xml
Download it and place it in:
/addons/screensaver.digitalclock/resources/skins/default/720p/

Let me know if it works ok, I haven't tested it.
(2020-06-17, 14:04)vdb86 Wrote: [ -> ]
(2020-06-16, 19:14)Zaid6995 Wrote: [ -> ]excuse me. Can I add an Arctic: Zephyr 2 skin to 1920x1080? Or how can I do it myself.

Try this file:
https://github.com/vdb86/screensaver.dig...phyr.2.xml
Download it and place it in:
/addons/screensaver.digitalclock/resources/skins/default/720p/

Let me know if it works ok, I haven't tested it.

Does not work
(2020-06-23, 23:14)Zaid6995 Wrote: [ -> ]
(2020-06-17, 14:04)vdb86 Wrote: [ -> ]
(2020-06-16, 19:14)Zaid6995 Wrote: [ -> ]excuse me. Can I add an Arctic: Zephyr 2 skin to 1920x1080? Or how can I do it myself.

Try this file:
https://github.com/vdb86/screensaver.dig...phyr.2.xml
Download it and place it in:
/addons/screensaver.digitalclock/resources/skins/default/720p/

Let me know if it works ok, I haven't tested it.

Does not work

I just tested it and it works just fine.
Keep in mind that the folder for the skin has to be skin.arctic.zephyr.2
If you're downloading this skin from the GitHub directly the folder name will be different. Example: skin.arctic.zephyr.2-0.9.60-alpha1
In order for the screensaver to detect which skin is being used and then apply proper file for the fonts the skin name must be in the official format (this is used when you download the skin from the Kodi repo): skin.arctic.zephyr.2

Rename the skin folder to match what I wrote above and restart Kodi.
Keep in mind that this might jumble up your skin related settings.
Hello to all!

I would like to report a strange behaviour.

I am running latest raspbian on  a raspberry pi 3, Kodi 18.7 and Quartz skin.

Every time I return to Kodi menu from the screen saver, Kodi restarts (!!).
Only Kodi that is; not the whole pi.

Is this a known issue?
I just noticed that Quartz skin is not listed as supported. It is however in the official repo.

Any input would be helpful.

Cheers!
(2020-06-28, 12:34)nistsio Wrote: [ -> ]Any input would be helpful.

A fully enabled debug log (wiki) of your troubled Kodi device is always welcome. In case of Kodi crashes, also provide the kodi.old.log file.
(2020-06-28, 12:34)nistsio Wrote: [ -> ]Hello to all!

I would like to report a strange behaviour.

I am running latest raspbian on  a raspberry pi 3, Kodi 18.7 and Quartz skin.

Every time I return to Kodi menu from the screen saver, Kodi restarts (!!).
Only Kodi that is; not the whole pi.

Is this a known issue?
I just noticed that Quartz skin is not listed as supported. It is however in the official repo.

Any input would be helpful.

Cheers!

None of this should be an issue, so I'm puzzled why this is happening on your end.
I've ran this screensaver on RPI2, RPI3 and now on RPI4 without any issues.
We'll see when Kodi 19 is released how things will work as some things have changed which may/may not brake the screensaver.

The supported skins are the ones for which I had to create files that relate to the skins declared fonts, nothing else. So even if the skin is not on the list the screensaver will work, the fonts just might be ugly.
If you know how to provide a debug log feel free to and I'll check it out, maybe I spot something.
Hi and thanks for the responses guys!

Here are my logs: (I have taken out sensitive data)
kodi.log
kodi.old.log
kodi.crash.log

I think there is nothing in the kodi.log (due to the crash).

FYI
Those are Greek channels in TvHeadend!!
(2020-06-28, 23:27)nistsio Wrote: [ -> ]Hi and thanks for the responses guys!

Here are my logs: (I have taken out sensitive data)
kodi.log
kodi.old.log
kodi.crash.log

I think there is nothing in the kodi.log (due to the crash).

FYI
Those are Greek channels in TvHeadend!!

I didn't spot anything in your logs (I'm not an expert so someone else might be able to see something that I've missed).

What settings are you using in the screensaver?
Does Kodi restart even if there's nothing playing in the background?
(2020-06-29, 16:01)vdb86 Wrote: [ -> ]I didn't spot anything in your logs (I'm not an expert so someone else might be able to see something that I've missed).

FYI, I also reviewed the logs and have thoroughly tested dcs with quartz across multiple configs including raspbian pi3. I can find no fault with your add-on or my skin.
Well honestly guys I don't know what else to tell you.

The settings are pretty basic. Only additional info is weather from yahoo add-on. The position of the screensaver info is changing every 60 seconds in static mode (eg not bouncing).

Kodi restarts WHENEVER I hit any button while showing the screensaver.
It actually happens even when previewing the screensaver from Shell settings!

The good thing is that the restart only takes like 15 seconds but still...

Would any targeted log help?
(2020-06-29, 21:00)nistsio Wrote: [ -> ]Well honestly guys I don't know what else to tell you.

The settings are pretty basic. Only additional info is weather from yahoo add-on. The position of the screensaver info is changing every 60 seconds in static mode (eg not bouncing).

Kodi restarts WHENEVER I hit any button while showing the screensaver.
It actually happens even when previewing the screensaver from Shell settings!

The good thing is that the restart only takes like 15 seconds but still...

Would any targeted log help?

Does this happen with any other screensaver?
(2020-06-29, 21:18)vdb86 Wrote: [ -> ]
(2020-06-29, 21:00)nistsio Wrote: [ -> ]Well honestly guys I don't know what else to tell you.

The settings are pretty basic. Only additional info is weather from yahoo add-on. The position of the screensaver info is changing every 60 seconds in static mode (eg not bouncing).

Kodi restarts WHENEVER I hit any button while showing the screensaver.
It actually happens even when previewing the screensaver from Shell settings!

The good thing is that the restart only takes like 15 seconds but still...

Would any targeted log help?

Does this happen with any other screensaver?
I tried "Dim" and "Black" and it comes back normally.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12