Author Topic: Versão 0.82  (Read 20885 times)

0 Members and 1 Guest are viewing this topic.

Wanilton

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Versão 0.82
« on: September 20, 2010, 04:24:37 PM »
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
« Last Edit: September 20, 2010, 05:12:16 PM 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

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #1 on: September 20, 2010, 07:27:42 PM »
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
Code: [Select]
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #2 on: September 20, 2010, 07:40:37 PM »
try this:

and since I know you like these...

 :hugs

Wanilton

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #3 on: September 20, 2010, 07:59:37 PM »
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.
« Last Edit: September 20, 2010, 08:02:56 PM 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

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #4 on: September 21, 2010, 12:14:56 PM »
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)
« Last Edit: September 21, 2010, 03:40:24 PM by jitterjames »
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

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #5 on: September 21, 2010, 08:24:14 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #6 on: September 22, 2010, 06:46:37 PM »
I will try soon.  Sorry, I've got a lot of other work to do right now!  :bonk

Wanilton

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #7 on: September 22, 2010, 06:53:04 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #8 on: September 23, 2010, 11:48:15 AM »
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

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #9 on: September 23, 2010, 11:58:25 AM »
Obrigado amigo, como dissemos no Brasil, "matou a pau"...isto é uma gíria, que significa que resolveu de forma maravilhosa o problema proposto.
« Last Edit: September 23, 2010, 02:37:08 PM 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

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #10 on: September 23, 2010, 03:01:09 PM »
and here I though that I had "brought it to life"!  :P

Wanilton

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #11 on: September 23, 2010, 05:42:54 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #12 on: September 23, 2010, 06:35:59 PM »
what does TAB do?

Wanilton

  • Moderator
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Versão 0.82
« Reply #13 on: September 23, 2010, 06:40:56 PM »
what does TAB do?

Olhe o anexo = Look the atached file
« Last Edit: September 23, 2010, 08:41:25 PM 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

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Versão 0.82
« Reply #14 on: September 23, 2010, 09:49:47 PM »
xbmc.send  execbuiltin(action(fullscreen))

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

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