<?xml version="1.0" encoding="utf-8"?>
<!--C:\Users\james\Desktop\whoisthis multilingual.xml-->
<VoiceCommands version="0.886">
    <commandGroup name="who is this multilingual" enabled="True">
        <command id="655" name="who is this multilingual" enabled="true" confirm="False" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>XBMC.SoftMute</cmdType>
                <cmdString />
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>XBMC.Send</cmdType>
                <cmdString>getcurrentlyplaying</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>Results.RegEx</cmdType>
                <cmdString>:(.*)</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\portuguesbr\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Fernanda</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Ouça agora {match.5}, interpretada por {2} | Você está ouvindo {1}, por {2} |  De {2},  ouça a música {1}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\portuguespt\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Amalia</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Escute a música {match.5}, performance por {match.7} | Você está ouvindo {match.5}, por {match.7} | Este é {match.7}, cantando a música {match.5}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\frances\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Bernard</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Ecoute la musique {match.5}, effectué par {match.7} | Ceci est {match.5}, par {match.7} | Vous êtes d'écouter {match.7}, en jouant la chanson {match.5} | Ceci est {match.7}, le chant la musique {match.5}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\espanhol\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Jorge</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Escuche la música {match.5}, interpretada por {match.7} | Estás escuchando a {match.5}, por  {match.7} | Este es {match.7}, cantar la canción {match.5}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\inglesus\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Dave</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>now playing the song {match.5}, performed by  {match.7} | this is {1} by {match.7} | You are now listening to {match.7}, playing the song {match.5} | This is {match.7}, singing the music {match.5}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\inglesbr\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Simon</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>now playing the song {match.5}, performed by  {match.7} | this is {match.5} by {match.7} | You are now listening to {match.7}, playing the song {match.5} | This is {match.7}, singing the music {match.5}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else>
                    <action>
                        <cmdType />
                        <cmdString />
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </else>
            </if>
            <if ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;\italiano\</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SetVoiceName</cmdType>
                        <cmdString>Roberto</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>adesso suona la musica {match.5}, eseguita da {match.7} | Questa è {match.5} di {match.7},, | Si è ora ascoltando {match.7}, la riproduzione del brano {match.5} | Questa è {match.7}, il canto la musica {1}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <action>
                <cmdType>XBMC.SoftUnMute</cmdType>
                <cmdString />
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>informe em inglês, tell me what s playing</phrase>
        </command>
    </commandGroup>
</VoiceCommands>