Quick Sign In:  

Forum: Old versions

Topic: Can the menu clock in VDJ be changed to 12hr display instead of 24hr?

This topic is old and might contain outdated or incorrect information.

cnymikePRO InfinityMember since 2011
The time in VDJ is being displayed at 24hr time. Can this be changed to display 12hr time instead? If so, how?

 

Posted Fri 28 Sep 12 @ 7:40 am
Most skins have that capability, just click where the time is to change between 12 & 24 hr.

Keith
 

Posted Fri 28 Sep 12 @ 7:47 am
cnymikePRO InfinityMember since 2011
I noticed that if I change the skin to another resolution, that works. But for the Virtual DJ (2 Decks) 1280x800 skin it does not work.

If however I change the skin to the Virtual DJ (2 Decks) 1440x900 or Virtual DJ (2 Decks) 1280x1024 it works as you suggest.

So since my MBP requires a 1280x800 skin I would like to figure out how to make this workl
 

Posted Fri 28 Sep 12 @ 8:01 am
Maybe a fault in the XML, I'll have a look :)

Keith
 

Posted Fri 28 Sep 12 @ 8:06 am
cnymikePRO InfinityMember since 2011
I can see in the XML files when comparing the 1440x900 (where 12 hour works by clicking on the clock) and 1280x800 (where 12 hour does not work when clicking on the clock) skins that there is a difference in the code.

Unfortunately I am not astute enough to figure out why changing to 12 hour works in the 1440x900 skin but not the 1280x800 skin,



Here is the 1440x900 XML code block that seems to dictate clock behavior...

<Skin name="VirtualDJ7 (2 Decks)" version="7" width="1440" height="900">
<copyright>- (c)2010 - Atomix Productions -</copyright>
************************************************************
Top Part (close open config etc)
************************************************************
<grabzone>
<size width="1152" height="28"></size>
<pos x="0" y="0"></pos>
</grabzone>
<logo os="pc">
<size width="68" height="17"></size>
<pos x="12" y="6"></pos>
</logo>
<logo os="mac">
<size width="68" height="17"></size>
<pos x="1352" y="6"></pos>
</logo>
<button os="pc" action="settings" visible="force">
<size width="65" height="21"></size>
<pos x="1186" y="0"></pos>
<over x="+0" y="+1012"></over>
<selected x="+0" y="+1012"></selected>
<down x="+0" y="+1012"></down>
<up x="+0" y="+1575"/>
</button>

<button os="mac" action="settings" visible="force">
<size width="55" height="19"></size>
<pos x="119" y="5"></pos>
<over x="+0" y="+1013"></over>
<selected x="+0" y="+1013"></selected>
<up x="+0" y="+1013"></up>
<down x="-1" y="+1012"></down>
</button>

<textzone>
<pos x="930" y="4"/>
<size width="90" height="20"/>
<text font="LCD" size="22" align="center" weight="bold" color="#d1d3d4" format="%fullhour"/>
<text2 font="LCD" size="22" align="center" weight="bold" color="#d1d3d4" format="%hour12"/>
</textzone>
<visual type="linear" source="get cpu" orientation="horizontal">
<size width="145" height="8"/>
<pos x="331" y="11"/>
<down x="+0" y="+1013"/>
</visual>


And here is the 1280x800 code block...

<Skin name="VirtualDJ7 (2 Decks)" version="7" width="1280" height="800">
<copyright>- (c)2010 - Atomix Productions -</copyright>
************************************************************
Top Part (close open config etc)
************************************************************
<grabzone>
<size width="1024" height="25"></size>
<pos x="0" y="0"></pos>
</grabzone>
<logo os="pc">
<size width="68" height="17"></size>
<pos x="11" y="4"></pos>
</logo>
<logo os="mac">
<size width="68" height="17"></size>
<pos x="1202" y="4"></pos>
</logo>
<button action="settings" visible="force">
<size width="57" height="19"></size>
<pos x="1054" y="0"></pos>
<over x="+0" y="+1100"></over>
<selected x="+0" y="+1100"></selected>
<down x="-0" y="+1099"></down>
<up x="+0" y="+1071"/>
</button>
<textzone>
<pos x="806" y="6"/>
<size width="80" height="18"/>
<text font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%fullhour"/>
<text2 font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%hour12"/>
</textzone>
<textzone>
<pos x="806" y="6"/>
<size width="80" height="18"/>
<text font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%fullhour"/>
<text2 font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%hour12"/>
</textzone>
<visual type="linear" source="get cpu" orientation="horizontal">
<size width="129" height="7"/>
<pos x="294" y="10"/>
<down x="+0" y="+1100"/>
</visual>
 

Posted Fri 28 Sep 12 @ 8:09 am
cnymikePRO InfinityMember since 2011
Woo Hoo! I figured it out.

There was a duplicate code block in the 1280x800 XML file. When I removed the duplicate, it worked,

Here is what it looks like currently...which is a coding error...


<textzone>
<pos x="806" y="6"/>
<size width="80" height="18"/>
<text font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%fullhour"/>
<text2 font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%hour12"/>
</textzone>
<textzone>
<pos x="806" y="6"/>
<size width="80" height="18"/>
<text font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%fullhour"/>
<text2 font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%hour12"/>
</textzone>


I simply removed one of the duplicate blocks which solved the problem


<textzone>
<pos x="806" y="6"/>
<size width="80" height="18"/>
<text font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%fullhour"/>
<text2 font="LCD" size="15" align="center" weight="bold" color="#d1d3d4" format="%hour12"/>
</textzone>\
 

Posted Fri 28 Sep 12 @ 8:16 am
Cool,

I just had it figured too and posted the amended XML on dropbox but no need now.

Glad you got it sorted!

Keith

 

Posted Fri 28 Sep 12 @ 8:19 am
cnymikePRO InfinityMember since 2011
Keith, I got an error trying to get your file. In any case I figured it out myself. But thanks for your help.

Michael
 

Posted Fri 28 Sep 12 @ 8:21 am
cnymikePRO InfinityMember since 2011
You can still help though... would it be easy to have a space between the hour and the am-pm indicator?
 

Posted Fri 28 Sep 12 @ 8:22 am
No, you can't unfortunately!

Keith
 

Posted Fri 28 Sep 12 @ 8:38 am
cnymikePRO InfinityMember since 2011
OK. thanks.
 

Posted Fri 28 Sep 12 @ 8:43 am

You don't need to dig through the XML most all of the skins support it just click the clock itself it will change from 12H to 24H. On basic VDJ 7 2-decks version it is working with me (I can send you the rectified skins files if you want) i have modified something on the XML files but for space between the time and on AM/PM is built in on VDJ clock format script i think it must be modified also... every computer and the word has the space between the time and the AM/PM indicator this must be also modified in the VDJ8.




 

Posted Fri 28 Sep 12 @ 6:13 pm
cnymikePRO InfinityMember since 2011
@cesarcastillo: The skin I was using had an error in the XML file preventing the clock from changing to 12hr mode from 24hr. My previous post explains how I fixed the XML file.

As for the space between the time and the am/pm, that has not been resolved.
 

Posted Tue 02 Oct 12 @ 4:12 pm
cnymikePRO InfinityMember since 2011
I've actually been fiddling with the XML file and discovered that by changing the font for the time, and the size of the font, I can achieve a much more legible time display. The LED font is too difficult to read.

I've also fixed some colors on elapsed time on the decks to have it stand out much better for me.

The XML file is the key to my happiness.
 

Posted Wed 10 Oct 12 @ 11:51 pm
yep i have noticed that as well, but will not worry about it i have been using my cell phone clock.
 

Posted Wed 07 Nov 12 @ 10:11 pm
can the clock be altered in size
 

Posted Sat 03 Dec 16 @ 12:34 pm
Please try to avoid resurrecting very old threads.

The size cannot be changed directly, but different skins may have different size/style clock displays.

It's also possibly to modify the XML code of your favourite skin - if you are confident to do so.
 

Posted Sat 03 Dec 16 @ 12:41 pm


(Old topics and forums are automatically closed)