Qlock word clock now available in Transparency!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Online
Team-Kodi Member
Posts: 9,193
Joined: Jan 2009
Reputation: 158
Thumbs Up  Qlock word clock now available in Transparency!
Post: #1
Qlock

thanx to donabi for the initial code and Amet who coded it into a script allowing easy translations,
a new eyecandy feature is now included in the svn version of T!

steps to get it to work:
- download the script here: http://mirrors.xbmc.org/addons/dharma/script.qlock/
- enable it in Skin Settings > Scripts > Enable Qlock script
- navigate to the Weather button on the Home Menu.


result:

[Image: qlock1.jpg]
english layout


[Image: qlock2.jpg]
dutch layout


translations
the clock is currently available in English, Italian, Serbian, French, German and Dutch.
if you're willing to translate it to another language, that would be very much appreciated!

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2011-01-16 16:09 by ronie.)
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #2
Nice ronie
find quote
ronie Online
Team-Kodi Member
Posts: 9,193
Joined: Jan 2009
Reputation: 158
Post: #3
Jezz_X Wrote:Nice ronie

cheers mate.
think you deserve some credits as well for the skin code. ;-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
donabi Offline
Senior Member
Posts: 298
Joined: Apr 2006
Reputation: 3
Location: germany
Post: #4
To make translation a bit easier, i made a printable Grid.
Just print it out and put in the Letters of your Language.

[Image: photo-133-f852ccf3.jpg]

After that it should be quite easy to fill the corret Gridnumbers into the xml.

http://www.xbmcnerds.com - german xbmc community
find quote
humferier Offline
Member
Posts: 92
Joined: Oct 2009
Reputation: 4
Location: Belgium
Post: #5
ronie Wrote:translations
the clock is currently available in English, Italian, Serbian and Dutch.
if you're willing to translate it to another language, that would be very much appreciated!

French translation suggested in the thread of the script
[Image: 8zlg08.jpg]

My name is Erier, Humf Erier
[Image: double0smile.gif]
find quote
ronie Online
Team-Kodi Member
Posts: 9,193
Joined: Jan 2009
Reputation: 158
Post: #6
humferier Wrote:French translation suggested in the thread of the script

thanx! i'll ask Amet to add the french layout.xml to the script. :-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Online
Team-Kodi Member
Posts: 9,193
Joined: Jan 2009
Reputation: 158
Post: #7
[Image: photo-115-667f6d2c.png]

example of the german clock.
it just needs to be converted to layout.xml

any takers?

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,110
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #8
possible to have it on all Home screens? even if its manual c/p effort Smile

EDIT: French layout added

Cheers,
amet
(This post was last modified: 2011-01-11 12:52 by amet.)
find quote
ronie Online
Team-Kodi Member
Posts: 9,193
Joined: Jan 2009
Reputation: 158
Post: #9
Amet Wrote:possible to have it on all Home screens?
i'm open to suggestions...would like to hear what everyone thinks.
when and where to show the clock...

for now, i just picked the weather button,
as weather & time info seems logic combination to me somehow.

Amet Wrote:even if its manual c/p effort Smile

Includes.xml, remove this line:
Code:
<visible>Container(5040).HasFocus(10)</visible>

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,110
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #10
ronie Wrote:i'm open to suggestions...would like to hear what everyone thinks.
when and where to show the clock...

for now, i just picked the weather button,
as weather & time info seems logic combination to me somehow.

I only ever look at weather when I am leaving the house, at which point I am probably late already Smile

ronie Wrote:Includes.xml, remove this line:
Code:
<visible>Container(5040).HasFocus(10)</visible>

thanks mate
find quote
donabi Offline
Senior Member
Posts: 298
Joined: Apr 2006
Reputation: 3
Location: germany
Post: #11
i'm working on the german layout.
should be ready this evening.

http://www.xbmcnerds.com - german xbmc community
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,110
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #12
stick it on a mail to me and I'll get it in
find quote
donabi Offline
Senior Member
Posts: 298
Joined: Apr 2006
Reputation: 3
Location: germany
Post: #13
the layout is nearly finished.
but "those germans" have one problem.
at 01:00 we say "es ist ein uhr"
at every other minute after 01:00, the "ein" goes "eins".
another way of time-spelling would be "es ist eins" at 01:00.

so i need a way to make the 01:00 with a different text.
without the last "uhr" (which is "’o clock" in english) or without the "s", which i need for all other settings after 01:00.

any idea's?

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<layout>
  <background all="E,S,K,I,S,T,A,F,Ü,N,F,Z,E,H,N,Z,W,A,N,Z,I,G,V,I,E,R,T,E,L,X,V,O,R,N,A,C,H,A,J,U,​H,A,L,B,E,I,N,S,L,M,E,Z,W,E,I,D,R,E,I,A,U,J,V,I,E,R,F,Ü,N,F,T,O,S,E,C,H,S,S,I,E,​B,E,N,L,A,C,H,T,N,E,U,N,Z,E,H,N,E,L,F,Z,W,Ö,L,F,U,N,K,U,H,R" />

  <!--German Layout -->
  <time all = "1,2,4,5,6"
        m00 = "108,109,110"
        m05 = "8,9,10,11,34,35,36,37"
        m10 = "12,13,14,15,34,35,36,37"
        m15 = "23,24,25,26,27,28,29,34,35,36,37"
        m20 = "16,17,18,19,20,21,22,34,35,36,37"
        m25 = "8,9,10,11,31,32,33,41,42,43,44"
        m30 = "41,42,43,44"
        m35 = "8,9,10,11,34,35,36,37,41,42,43,44"
        m40 = "16,17,18,19,20,21,22,31,32,33"
        m45 = "23,24,25,26,27,28,29,31,32,33"
        m50 = "12,13,14,15,31,32,33"
        m55 = "8,9,10,11,31,32,33"
        h01 = "45,46,47,48"
        h02 = "52,53,54,55"
        h03 = "56,57,58,59"
        h04 = "63,64,65,66"
        h05 = "67,68,69,70"
        h06 = "73,74,75,76,77"
        h07 = "78,79,80,81,82,83"
        h08 = "85,86,87,88"
        h09 = "89,90,91,92"
        h10 = "93,94,95,96"
        h11 = "97,98,99"
        h12 = "100,101,102,103,104"
        shiftHour = "0"
        shiftOnHalfHour ="0"
        shiftOn20 ="1"
        />        
        
</layout>

http://www.xbmcnerds.com - german xbmc community
(This post was last modified: 2011-01-11 19:17 by donabi.)
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,110
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #14
donabi Wrote:the layout is nearly finished.
but "those germans" have one problem.
at 01:00 we say "es ist ein uhr"
at every other minute after 01:00, the "ein" goes "eins".
another way of time-spelling would be "es ist eins" at 01:00.

so i need a way to make the 01:00 with a different text.
without the last "uhr" (which is "’o clock" in english) or without the "s", which i need for all other settings after 01:00.

any idea's?

I'll create a special case for "those Germans" in a script Smile

please let me know which solution you prefer

EDIT: here is 0.0.6 , try it and let me know if "one o'clock" is fine

Thanks for the layout
(This post was last modified: 2011-01-11 20:02 by amet.)
find quote
donabi Offline
Senior Member
Posts: 298
Joined: Apr 2006
Reputation: 3
Location: germany
Post: #15
"es ist ein uhr" would be the most common, i think.

thank you.

http://www.xbmcnerds.com - german xbmc community
find quote
Post Reply