News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

Solicitações

Started by Wanilton, October 08, 2010, 09:05:36 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

jitterjames

you changed the phrase

from : play, tocar
to :    play music by, tocar

why did you do that?

Now it will only work if you to say:

"play music by music by <artist name>..."

crazy? :)

The way you have it, it should work if you say  "tocar musica por <artist name>"

Wanilton

#46
só agora caiu a ficha...essa pisei feio...sorry man...só agora compreendi corretamente como funciona, hehe
Total Crazy..sorry ;D

Uma coisa a mais para ficar perfeito:

Como posso fazer para que quando for acionado  a resposta via voz do Felipe, receber a frase dele  em  Português: Agora tocando {Nome do Artista} (frase em PT BR}
já que o Dave, obviamene já dispara a frase correta em inglês, playing now + artist name.

Por fim, maravilha como funcionou bem...testado e aprovado, great power this VC software.

www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

yes to make him say one of two different things is difficult.  For this, I think, we need features that VC does not have yet.  Some kind of conditional logic, like an "if, then, else statement".

For now, the best thing would be to use something that works for both languages.

so maybe just say the artist name with no other words.

TTS.speak  {1}

or maybe

TTS.Speak Artist, {1}
would work ok for both...

The only other option I can think of is to have two separate commands.  It would load slower and take more memory, but it would work.

The ideal would be to have two separate lists of artistXML, one for english and one for spanish!

Wanilton

#48
Thanks James,

Obrigado pela explicação..

e boa viagem

Wanilton
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Wanilton

#49
James,

Bom dia,

Me mande um exemplo de como é enviado as informações OSD pelo vox, quero algo parecido com o que usamos para comandos alternativos,
na skin.
Melhoramos a apresentação dos comandos altenativos na skin, segue o arquivo.

Wanilton
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames


Wanilton

Ola James,

Desafio, eu tentei sem sucesso usar Evento, creio que não compreendi bem como fazer.

O Que quero?
Ao iniciar uma música, disparar um comando TTS que informe automaticamente o nome da música que ouvirei,
isso sempre que trocar ou iniciar nova música, então criei esse comando, mas não obtive sucesso.

Isso é importante, pois quero começar a usar mais o recurso de Eventos, creio que algum tutorial, ou mesmo
exemplos de uso serão ótimos para o aprendizado.

Obrigado.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

I am waiting until I have finished a few more things and uploaded the official version.  Then I will create some video tutorials and try to do some work on the wiki.

It is actually much more simple than what you are trying to do.  First of all, the event is being triggered by XBMC, so you do not need to call VC.TriggerEvent.  Most people will never need to call VC.TriggerEvent

The name of the event should match what is showing up in the command history.  So where you have put "nome da musica auto" you should be putting "XBMC.MediaChanged.AudioTitle"

The event that is being triggered by XBMC already has the payloads built into it.  So you don't need to call "xbmc.send getcurrentlyplaying" or use "results.regex".

In the case of the [XBMC.MediaChanged.AudioTitle] event, payload {1} is the Song Title and payload {2} is the Artist Name.

Unfortunately I don't think there is a way to know what language the song is in.

I have updated your xml and attached.

Wanilton

#53
Understand, thank you again, very easy.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Wanilton

this repeat 2x the same content, why?

Esta musica se chama Love
Esta musica se chama Love

interessante que ele nao esta randomiizando a resposta aqui...e repete a cada música 2 vezes com o mesmo conteúdo sendo dito..
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

I don't know, it does not do it for me.  You would have to send me your whole voicecommands.xml so I can see what you have done.

Wanilton

#56
here you go, se possível uma pausa para ouvir a resposta, ou diminuir o volume da música.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Wanilton

#57
One first music it´s ok, if I play next music, repeat 2x..
if I let the player play through the end of the first song to start the second is also correct, the error occurs only 2x to submit to move to the next track without waiting for the end of the first song.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

I tried your configuration, it only says the song name once.  If I use | the randomly selects a response as it should.

Please look in the VC history window to see if XBMC is sending the event 2 times.  I can't think of another explanation.

Wanilton

#59
James,

Yes in history appears 2 times same event, but look, in normal situation it´s ok now, but test forward for next track by keyboard...
if I let the player play through the end of the first song to start the second is also correct, the error occurs only 2x to submit to move to the next track without waiting for the end of the first song.

If I use the voice command, play next, it is also ok, apparently it happens when I press Forward in keyboard.

www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me