Skip to content

Commit 205bdfb

Browse files
authored
Merge branch 'xbmc:matrix' into matrix
2 parents e60455c + c8fcb7c commit 205bdfb

File tree

3,886 files changed

+241876
-62002
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,886 files changed

+241876
-62002
lines changed

.github/workflows/addon-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v2
1818
with:
19-
python-version: '3.x'
19+
python-version: '3.12'
2020

2121
- name: Install dependencies
2222
run: |

screensaver.digitalclock/README.md

Lines changed: 11 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -87,60 +87,33 @@ __Extra Options__
8787
- Enable RSS (The screensaver will show the same RSS Kodi shows, so make sure it's properly configured and enabled in Kodi)
8888

8989
This screensaver is configured for every skin separately since it has to use Fonts defined by the skin!
90-
91-
Skin developers have an option to use script-screensaver-digitalclock-custom.xml in their skins 1080i, 720p... folder.
92-
They should provide and maintain that xml file with their skin!
93-
Screensaver will check for skin folders in this order: 1080i, 720p, 21x9, 16x9, 4x3Hirez.
94-
If no script-screensaver-digitalclock-custom.xml is found screensaver will look for an appropriate xml file within screensavers folder.
9590
If there is no appropriate xml file it will use skin.default.xml
9691

97-
If the skin is not on the list screensaver will use default font names from confluence (It might not look pretty but it will work with any skin):
98-
99-
- Ace2
100-
- Adonic
101-
- Aeon Nox 5
92+
If the skin is not on the list below screensaver will use default font names from confluence (It might not look pretty but it will work with any skin).
93+
List of supported skins (If the skin is in the official repository it will be supported):
10294
- Aeon Nox Silvo
103-
- Aeon Tajo
104-
- Aeon MQ5
105-
- Aeon MQ5
106-
- Aeon MQ6
107-
- Aeon MQ8
95+
- Aeon MQ7 (Matrix mod)
96+
- Aeon MQ8 (Matrix mod, Nexus mod)
97+
- Aeon MQ9
10898
- Amber
10999
- AppTV
110-
- Arctic: Zephyr
111-
- Arctic: Zephyr 2
112-
- Aura
113-
- Bello 6
114-
- Bello 7
115-
- Black Glass Nova
116-
- Box
117-
- Chroma
100+
- Arctic: Zephyr - Reloaded
101+
- Bello 8
118102
- Confluence
119-
- Embuary-Leia
103+
- EllipsisUI
104+
- Embuary-Matrix
120105
- Eminence.2
121106
- Estouchy
122107
- Estuary
123108
- Ftv
124-
- (Fuse)neue
125-
- Grid
126-
- Horizon
127-
- Madnox
128109
- Metropolis
129-
- Mimic
130-
- Nebula
131-
- Omni
110+
- Mimic-LR
132111
- OSMC
133112
- Pellucid
134-
- Phenomenal
135113
- Quartz
136114
- Rapier
137-
- Retouched
138-
- Reestuarized
139-
- Revolve
140-
- Titan
141-
- Transparency
115+
- TetradUI
142116
- Unity
143-
- Xperience1080
144117

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

screensaver.digitalclock/addon.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="screensaver.digitalclock"
33
name="Digital Clock Screensaver"
4-
version="6.0.4"
4+
version="6.0.5"
55
provider-name="Vojislav Vlasic">
66
<requires>
77
<import addon="xbmc.python" version="3.0.0"/>
@@ -14,6 +14,7 @@
1414
<forum>https://forum.kodi.tv/showthread.php?tid=237338</forum>
1515
<source>https://github.com/vdb86/screensaver.digitalclock</source>
1616
<news>
17+
6.0.5 (2024-1-2) - Added support for AeonMQ7 matrix mod, AeonMQ8 mods, for AeonMQ9, Arctic Zephyr - Reloaded, EllipsisUI, Embuary-Matrix, Mimic-LR, TetradUI, updated OSMC skin - thanks Ch1llb0 and petroid! Improved handling of no hour zero padding, added 2 more time formats, added support for turning off screen via CEC
1718
6.0.4 (2023-8-16) - Translations and a visual improvement for ftv skin - thanks Kevin!
1819
6.0.3 (2021-9-7) - Bug fixes and translations
1920
6.0.2 (2021-1-20) - Got skin.helper.backgrounds to work again

screensaver.digitalclock/default.py

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def onInit(self):
7474
self.logoutcounter = 0
7575
self.switch = 0
7676
self.iconswitch = 0
77+
self.turnedoff = 0
78+
self.ceccounter = 0
7779
self.movementtype = int(Addon.getSetting('movementtype'))
7880
self.movementspeed = int(Addon.getSetting('movementspeed'))
7981
self.stayinplace = int(Addon.getSetting('stayinplace'))
@@ -134,6 +136,9 @@ def onInit(self):
134136
self.logout = Addon.getSetting('logout')
135137
self.logoutplaying = Addon.getSetting('logoutplaying')
136138
self.logouttime = int(Addon.getSetting('logouttime'))
139+
self.cecoff = Addon.getSetting('cecoff')
140+
self.cecoffplaying = Addon.getSetting('cecoffplaying')
141+
self.cecofftime = int(Addon.getSetting('cecofftime'))
137142
self.rss = Addon.getSetting('rss')
138143
self.monitor = xbmc.Monitor()
139144

@@ -335,8 +340,8 @@ def onInit(self):
335340
self.icon_control.setImage(os.path.join(path,"resources/weathericons/",self.weathericonset[int(self.weathericonf)],xbmc.getInfoLabel('Window(Weather).Property(Current.FanartCode)')) + ".png")
336341

337342
#setting up the time format
338-
self.timeformat = ['%H','%I','%I','%#I','%#I','%-I','%-I']
339-
if self.timef == '2' or self.timef == '4' or self.timef == '6':
343+
self.timeformat = ['%H','%I','%I','%#H','%#I','%#I','%-H','%-I','%-I']
344+
if self.timef == '2' or self.timef == '5' or self.timef == '8':
340345
self.ampm_control.setVisible(True)
341346
self.time = self.timeformat[int(self.timef)]
342347

@@ -450,18 +455,25 @@ def DisplayTime(self):
450455
if self.logout == 'true' and xbmc.getCondVisibility('Window.Previous(loginscreen)') == 0:
451456
self.logoutcounter +=1
452457
if self.logoutcounter >= (self.multiplier*self.logouttime*60):
453-
if xbmc.getCondVisibility('Player.HasMedia') == 1:
454-
if self.logoutplaying == 'true':
455-
xbmc.executebuiltin("PlayerControl(Stop)")
456-
xbmc.log('Digital Clock Screensaver %s: Stopping media' %Addonversion)
457-
xbmc.executebuiltin("System.LogOff")
458-
xbmc.log('Digital Clock Screensaver %s: Logging out' %Addonversion)
459-
self.logoutcounter = 0
460-
else:
461-
xbmc.executebuiltin("System.LogOff")
462-
xbmc.log('Digital Clock Screensaver %s: Logging out' %Addonversion)
463-
self.logoutcounter = 0
464-
458+
if self.logoutplaying == 'true' and xbmc.getCondVisibility('Player.HasMedia') == 1:
459+
xbmc.executebuiltin("PlayerControl(Stop)")
460+
xbmc.log('Digital Clock Screensaver %s: Stopping media' %Addonversion)
461+
xbmc.executebuiltin("System.LogOff")
462+
xbmc.log('Digital Clock Screensaver %s: Logging out' %Addonversion)
463+
self.logoutcounter = 0
464+
465+
#Turn off screen via CEC
466+
if self.cecoff == 'true' and self.turnedoff == 0:
467+
self.ceccounter +=1
468+
if self.ceccounter >= (self.multiplier*self.cecofftime*60):
469+
if self.cecoffplaying == 'true' and xbmc.getCondVisibility('Player.HasMedia') == 1:
470+
xbmc.executebuiltin("PlayerControl(Stop)")
471+
xbmc.log('Digital Clock Screensaver %s: Stopping media' %Addonversion)
472+
xbmc.executebuiltin("CECStandby")
473+
xbmc.log('Digital Clock Screensaver %s: Turning screen off via CEC' %Addonversion)
474+
self.ceccounter = 0
475+
self.turnedoff = 1
476+
465477
self.monitor.waitForAbort(self.waittimer)
466478

467479
def setCTR(self):
@@ -506,7 +518,10 @@ def setCTR(self):
506518
self.shadowcolor = self.rtr + self.shadowcolor[2:]
507519

508520
def Display(self):
509-
self.hour_control.setLabel(datetime.now().strftime(self.time))
521+
if int(self.timef) == 4 or int(self.timef) == 5 or int(self.timef) == 7 or int(self.timef) == 8 or ((int(self.timef) == 3 or int(self.timef) == 6) and int(datetime.now().strftime(self.time))<10):
522+
self.hour_control.setLabel(' ' + datetime.now().strftime(self.time))
523+
else:
524+
self.hour_control.setLabel(datetime.now().strftime(self.time))
510525
self.colon_control.setLabel(" : ")
511526
self.minute_control.setLabel(datetime.now().strftime("%M"))
512527
self.ampm_control.setLabel(datetime.now().strftime("%p"))

screensaver.digitalclock/resources/language/resource.language.af_za/strings.po

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: KODI Addons\n"
8-
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
8+
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"PO-Revision-Date: 2022-03-01 17:13+0000\n"
1111
"Last-Translator: Christian Gade <[email protected]>\n"
@@ -194,6 +194,15 @@ msgctxt "#32173"
194194
msgid "Year: yy(2-digit year) yyyy(4-digit year)"
195195
msgstr ""
196196

197+
# empty strings from id 32174 to 32179
198+
msgctxt "#32180"
199+
msgid "17:14 No hour zero padding Windows"
200+
msgstr ""
201+
202+
msgctxt "#32181"
203+
msgid "17:14 No hour zero padding Unix"
204+
msgstr ""
205+
197206
# empty strings from id 32174 to 32199
198207
msgctxt "#32200"
199208
msgid "Enable additional information"
@@ -654,3 +663,15 @@ msgstr ""
654663
msgctxt "#32621"
655664
msgid "RSS needs to be properly configured in Kodi and enabled!"
656665
msgstr ""
666+
667+
msgctxt "#32630"
668+
msgid "Turn off screen via CEC"
669+
msgstr ""
670+
671+
msgctxt "#32631"
672+
msgid "Stop now playing media"
673+
msgstr ""
674+
675+
msgctxt "#32632"
676+
msgid "Turn off screen via CEC after (minutes)"
677+
msgstr ""

screensaver.digitalclock/resources/language/resource.language.am_et/strings.po

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: KODI Addons\n"
8-
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
8+
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"PO-Revision-Date: 2022-03-01 17:13+0000\n"
1111
"Last-Translator: Christian Gade <[email protected]>\n"
@@ -194,6 +194,15 @@ msgctxt "#32173"
194194
msgid "Year: yy(2-digit year) yyyy(4-digit year)"
195195
msgstr ""
196196

197+
# empty strings from id 32174 to 32179
198+
msgctxt "#32180"
199+
msgid "17:14 No hour zero padding Windows"
200+
msgstr ""
201+
202+
msgctxt "#32181"
203+
msgid "17:14 No hour zero padding Unix"
204+
msgstr ""
205+
197206
# empty strings from id 32174 to 32199
198207
msgctxt "#32200"
199208
msgid "Enable additional information"
@@ -655,6 +664,18 @@ msgctxt "#32621"
655664
msgid "RSS needs to be properly configured in Kodi and enabled!"
656665
msgstr ""
657666

667+
msgctxt "#32630"
668+
msgid "Turn off screen via CEC"
669+
msgstr ""
670+
671+
msgctxt "#32631"
672+
msgid "Stop now playing media"
673+
msgstr ""
674+
675+
msgctxt "#32632"
676+
msgid "Turn off screen via CEC after (minutes)"
677+
msgstr ""
678+
658679
#~ msgctxt "#32310"
659680
#~ msgid "Hour color"
660681
#~ msgstr "የ ሰአት ቀለም"

screensaver.digitalclock/resources/language/resource.language.ar_sa/strings.po

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: KODI Addons\n"
8-
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
8+
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"PO-Revision-Date: 2022-03-01 17:13+0000\n"
1111
"Last-Translator: Christian Gade <[email protected]>\n"
@@ -194,6 +194,15 @@ msgctxt "#32173"
194194
msgid "Year: yy(2-digit year) yyyy(4-digit year)"
195195
msgstr ""
196196

197+
# empty strings from id 32174 to 32179
198+
msgctxt "#32180"
199+
msgid "17:14 No hour zero padding Windows"
200+
msgstr ""
201+
202+
msgctxt "#32181"
203+
msgid "17:14 No hour zero padding Unix"
204+
msgstr ""
205+
197206
# empty strings from id 32174 to 32199
198207
msgctxt "#32200"
199208
msgid "Enable additional information"
@@ -654,3 +663,15 @@ msgstr ""
654663
msgctxt "#32621"
655664
msgid "RSS needs to be properly configured in Kodi and enabled!"
656665
msgstr ""
666+
667+
msgctxt "#32630"
668+
msgid "Turn off screen via CEC"
669+
msgstr ""
670+
671+
msgctxt "#32631"
672+
msgid "Stop now playing media"
673+
msgstr ""
674+
675+
msgctxt "#32632"
676+
msgid "Turn off screen via CEC after (minutes)"
677+
msgstr ""

screensaver.digitalclock/resources/language/resource.language.az_az/strings.po

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: KODI Addons\n"
8-
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
8+
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"PO-Revision-Date: 2022-03-01 17:13+0000\n"
1111
"Last-Translator: Christian Gade <[email protected]>\n"
@@ -194,6 +194,15 @@ msgctxt "#32173"
194194
msgid "Year: yy(2-digit year) yyyy(4-digit year)"
195195
msgstr ""
196196

197+
# empty strings from id 32174 to 32179
198+
msgctxt "#32180"
199+
msgid "17:14 No hour zero padding Windows"
200+
msgstr ""
201+
202+
msgctxt "#32181"
203+
msgid "17:14 No hour zero padding Unix"
204+
msgstr ""
205+
197206
# empty strings from id 32174 to 32199
198207
msgctxt "#32200"
199208
msgid "Enable additional information"
@@ -654,3 +663,15 @@ msgstr ""
654663
msgctxt "#32621"
655664
msgid "RSS needs to be properly configured in Kodi and enabled!"
656665
msgstr ""
666+
667+
msgctxt "#32630"
668+
msgid "Turn off screen via CEC"
669+
msgstr ""
670+
671+
msgctxt "#32631"
672+
msgid "Stop now playing media"
673+
msgstr ""
674+
675+
msgctxt "#32632"
676+
msgid "Turn off screen via CEC after (minutes)"
677+
msgstr ""

screensaver.digitalclock/resources/language/resource.language.be_by/strings.po

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: KODI Addons\n"
8-
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
8+
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"PO-Revision-Date: 2022-03-21 04:13+0000\n"
1111
"Last-Translator: Christian Gade <[email protected]>\n"
@@ -194,6 +194,15 @@ msgctxt "#32173"
194194
msgid "Year: yy(2-digit year) yyyy(4-digit year)"
195195
msgstr ""
196196

197+
# empty strings from id 32174 to 32179
198+
msgctxt "#32180"
199+
msgid "17:14 No hour zero padding Windows"
200+
msgstr ""
201+
202+
msgctxt "#32181"
203+
msgid "17:14 No hour zero padding Unix"
204+
msgstr ""
205+
197206
# empty strings from id 32174 to 32199
198207
msgctxt "#32200"
199208
msgid "Enable additional information"
@@ -654,3 +663,15 @@ msgstr ""
654663
msgctxt "#32621"
655664
msgid "RSS needs to be properly configured in Kodi and enabled!"
656665
msgstr ""
666+
667+
msgctxt "#32630"
668+
msgid "Turn off screen via CEC"
669+
msgstr ""
670+
671+
msgctxt "#32631"
672+
msgid "Stop now playing media"
673+
msgstr ""
674+
675+
msgctxt "#32632"
676+
msgid "Turn off screen via CEC after (minutes)"
677+
msgstr ""

0 commit comments

Comments
 (0)