News:

HOT TIP! Commands and groups can be copied and pasted directly from your command editor to the forum, and vice versa. This makes sharing command XML on the forum much easier!

Main Menu

Versão 0.82

Started by Wanilton, September 20, 2010, 04:24:37 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Wanilton

James,

Testei a versão nova 0.82:

get now playing info from XBMC

Recebi de retorno os dados na tela *OSD
mas o campo duração da faixa da música não trouxe informação relevante,
como configuro para usar TTS nesse caso, algo que fosse similar ao que existe no mediamonkey
Qual artista, Qual música, qual álbum??.

grato,

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

if you use your webbrowser and enter this address:

http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=getcurrentlyplaying

you will see something like this back from xbmc
Filename:musicdb://2/563/672/5680.mp3
PlayStatus:Playing
SongNo:0
Type:Audio
Title:Breather
Track:8
Artist:Afterlife
Album:erotic Lounge (Deluxe Edition)
Genre:Trance
URL:F:\mp3\Various Artists\erotic Lounge (Deluxe Edition)\Afterlife - Breather.mp3
Lyrics:
Bitrate:192
Samplerate:44
Thumb:special://masterprofile/Thumbnails/Music/3/3fed00a0.tbn
Time:00:06
Duration:05:17
Percentage:1
File size:7612416
Changed:True


now take a look in the command builder.  the text {match.5} should give you the title {match.7} should give you the artist etc.

right now it is using RegEx to match anything that comes after a colon  ':'
you could change it to match anything that comes after "artist:" and it would only give you the artist as {match.1}

assuming your music is properly tagged.

if you want to use TTS instead of OSD you just need to change the command to TTS.speak in the command builder.

jitterjames

try this:

and since I know you like these...

:hugs

Wanilton

#3
Obrigado, o meu é assim, creio que esta correto:
Filename:musicdb://3/144/1484.mp3
PlayStatus:Playing
SongNo:0
Type:Audio
Title:Sunrise
Track:1
Artist:Simply Red
Album:25-Their Greatest Hits
Genre:Pop
Year:2008
URL:Y:\Shared Music\Simply Red\The Greatest Hits\01. Sunrise.mp3
Lyrics:
Bitrate:320
Samplerate:44
Thumb:special://masterprofile/Thumbnails/Music/c/cfb59647.tbn
Time:00:05
Duration:03:19
Percentage:3
File size:7989591
Changed:True

Muito obrigado pela nova configuração, já importei e vou testar.
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

#4
Can't you just add a pause at the beginning of the command builder and play at the end?

put this before and after

XBMC.Send      execbuiltin(playercontrol(play))

or you can use

XBMC.Send      action (12)

- jitterjames

(I don't know why this says that it was written by 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

obrigado pelo retorno, então quando lançar a nova versão, explique como usar essa nova função, ou seja como configurar para funcionar corretamente...
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 will try soon.  Sorry, I've got a lot of other work to do right now!  :bonk

Wanilton

Ok, quero montar um novo video tutorial, mas vou aguardar o lançamento desta função,

sem pressa,

Abraços
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

as promised.

I have added the speaksync command (that waits for TTS to finish before continuing)

I have improved the xbmc filter command (it had problems)

I have added the genxml and commands for xbmc music videos

Wanilton

#9
Obrigado amigo, como dissemos no Brasil, "matou a pau"...isto é uma gíria, que significa que resolveu de forma maravilhosa o problema proposto.
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

and here I though that I had "brought it to life"!  :P

Wanilton

James,

No XBMC existem algumas teclas de atalho, como por exemplo: tab, x, s, m,  como eu posso fazer para ativar cada uma dessas funções com o voxcommando?

em particular tecla TAB

grato,
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

#13
Quote from: jitterjames on September 23, 2010, 06:35:59 PM
what does TAB do?

Olhe o anexo = Look the atached file
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

xbmc.send  execbuiltin(action(fullscreen))

there are other commands that should work the same way listed here:

http://wiki.xbmc.org/?title=Keymap.xml