Team, I'm killing my simple mind over here. >:( . How do I get the TTS talkinghead to appear over XBMC in fullscreen.
example I say "Vox Where are you?"
TTS Head appears "Here I am"
I tried using Windows.Focus and Windows.BringtoFront both with not bring the box over XBMC
It is not possible to get any kind of window in front of XBMC in "true" fullscreen. You can probably use another fullscreen setting in XBMC to get the talking head in front.
Once you solve the fullscreen issue you will want to use the action TTS.ShowHead, and not Window.Focus
Quote from: bp_pbs on June 10, 2014, 07:34:57 PM
I tried ... and Windows.BringtoFront
Henh? ??? Where did that come from? You can't just make up actions!
Still working on it. Making sure it shows up every time.
@James...Hey I'm trying everything to get it to work.... :biglaugh.....I think I saw it on one of these forums.
:)
Careful what you're looking at on the forum; you could end up wasting a lot of your time.
The posts that referred to Window.BringToFront were sharing Eventghost xml, not VC commands.
Real VC actions are documented in the wiki and in the VC action selection tree.
The wiki isn't always 100% up-to-date, but the selection tree in the program is. If if doesn't show up when you start to type "Windo_ _ _" it ain't gonna work.
http://voxcommando.com/mediawiki/index.php?title=Action_Selection_Tree
Core actions are listed here: http://voxcommando.com/mediawiki/index.php?title=Actions
(Plugins have their own wiki pages that list their actions.)
I don't know whether you're using Frodo or Gotham, but I believe you need to go into System > Settings > Video Output to change from "true" full-screen to a fake full-screen. http://wiki.xbmc.org/index.php?title=Settings/System
If you're trying to use the new talking head avatar that James just introduced in 1.9.5.5, I recommend using a command that shows the talking head when the event "TTS.start" occurs, and then hides it again when the event "TTS.end" occurs (or maybe slightly after that event occurs). This could be done in 2 separate commands, or in 1 command with some logic conditions.
e.g.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.5.5-->
<command id="252" name="talking head" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{LastEvent}&&TTS.start</ifParams>
<then>
<action>
<cmdType>Window.Focus</cmdType>
<params>
<param>voxcommando</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.ShowHead</cmdType>
<params>
<param>True</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{LastEvent}&&TTS.end</ifParams>
<then>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>400</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.ShowHead</cmdType>
<params>
<param>False</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<event>tts.*</event>
</command>
When he has time, I think James plans to post more information on what users can do with the talking head. At this point, it's in an early phase.
I changed XBMC video output to full-screen and off the True full-screen. Here is the code I have so far.
<?xml version="1.0" encoding="utf-8"?>
<!--C:\Users\Nick\Downloads\VcGrp_Daphne.xml-->
<VoiceCommands version="">
<!--this is an exported VoxCommando group-->
<commandGroup open="True" name="Daphne" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="811" name="Show/Hide" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)Contains(B)</ifType>
<ifParams>show,reveal,where, i need&&{1}</ifParams>
<then>
<action>
<cmdType>Window.Focus</cmdType>
<params>
<param>xbmc</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Window.Maximize</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.ShowHead</cmdType>
<params>
<param>True</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Window.focus</cmdType>
<params>
<param>voxcommando</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>How can I help you Mr. Ivory?| Yes Mr. Ivory!|Here I am Mr. Ivory.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)Contains(B)</ifType>
<ifParams>conceal,hide, thats&&{1}</ifParams>
<then>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Okay, let me know if you need anything else.| Ok, I'll be over here if you need me.| Ok, let me know if I can help you.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.ShowHead</cmdType>
<params>
<param>False</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Window.Focus</cmdType>
<params>
<param>xbmc</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Window.Normalize</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<payloadList>show,hide,reveal,conceal, where, thats,i need</payloadList>
<phrase>yourself,are you,all,you,your help</phrase>
<phrase optional="true">for now</phrase>
</command>
</commandGroup>
</VoiceCommands>
In the next release I will see if there is a way to make the talking head appear in front of other windows without having to focus the rest of VoxCommando.