VoxCommando

Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: jon lord on October 12, 2014, 04:55:15 PM

Title: Customizing OSD style and delay
Post by: jon lord on October 12, 2014, 04:55:15 PM
Thanks!
Also this should be in a separate thread, but is there anyways to change the text overlay layout(colors etc) and also the time they are displayed.
Title: Customizing OSD style and delay
Post by: Kalle on October 12, 2014, 05:04:37 PM
If you mean the OSD, yes - http://voxcommando.com/mediawiki/index.php?title=Actions#OSD (http://voxcommando.com/mediawiki/index.php?title=Actions#OSD)
Title: Customizing OSD style and delay
Post by: jon lord on October 13, 2014, 03:09:10 PM
If you mean the OSD, yes - http://voxcommando.com/mediawiki/index.php?title=Actions#OSD (http://voxcommando.com/mediawiki/index.php?title=Actions#OSD)
Hi, thanks for the reply. I've seen those settings but arent those per command? I want to set a set color for everything, but whats more important is to have a longer delay before text fades away, since I have long messages that are displayed often which I often do not read in time, for example if there are options presented etc, or does this need to be adjuster per command aswell (since the option is there)?
Title: Customizing OSD style and delay
Post by: Kalle on October 13, 2014, 03:33:43 PM
Hi jon lord, drag and drop the following code in the VoxCommando commandtree. This code set the font color automatically to "black on white" when VC starts or rebuild, you can edit the command to choose other colors.
You can set a duration time in the "OSD.ShowText" action for the message.

http://voxcommando.com/mediawiki/index.php?title=Actions#ShowText (http://voxcommando.com/mediawiki/index.php?title=Actions#ShowText)

I hope this helps.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.0.3-->
<commandGroup open="True" name="set font color when VC start or rebuild" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="633" name="font color" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>OSD.SetColors</cmdType>
      <params>
        <param>000000</param>
        <param>FFFFFF</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.ShowText</cmdType>
      <params>
        <param>the color is now set black on white</param>
        <param>5000</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>VC.Loaded</event>
    <event>VC.Rebuild.Start</event>
  </command>
</commandGroup>

Note: This will change only the font color for messages which you have created with the "OSD.ShowText" action, not that are generated by VC automatically when text is recognized.
Title: Customizing OSD style and delay
Post by: nime5ter on October 14, 2014, 08:50:33 AM
Thanks Kalle! ... I think I'll start using black on white OSDs. I like it.

@jon, keep an eye on the events that Kalle is using to trigger his command above. He mentions using 2 different events.

If you don't want to trigger the command each time you close the command tree, you can delete that event and use only the VC.Loaded event to set the display colours when VC launches. (And of course you don't technically need to display a message when the command is triggered unless you find it a helpful cue.)
Title: Customizing OSD style and delay
Post by: Kalle on October 14, 2014, 11:43:27 AM
Yes, I like it too - I had never played with this settings before  :)
Good catch nime, normaly the VC.Rebuild.Start is not needed.

Post number 15000 in the forum   ;D