James
That its exactly what we need. Well done again, i play a little with the Events and get the result that i get with the script. Its nice and fun. We can now start to make our commands to get some nice tts return.
Thanks Again, but let me suggest another implement in your plugin.
Do you remember the VcGetInfo plugin ?
In your script we can insert this very easy like you make for ExecBuiltin, but we have to this for the:
xbmc.getInfoLabel and xbmc.getCondVisibility
Why ?
Lets say we are navigating over our movies and we want to get some information about it. Now we are only able to do this if we play the file or use the VcGetInfo plugin.
But you can make in your script something like this:
elif cmdtype == "getInfo":
if xbmc.getCondVisibility( 'Container.Content(Movies)' ):
title=xbmc.getInfoLabel( "ListItem.Title" )
sendToVox("event&&Movie&&%s"%title)
Same thing for music, tvshow, file, playlist, or whatever, the getCondVisibility will always let us to know what window its open in xbmc
We get the title (we cant get the ID), so we can use a json with a filter to get the data of this movie in vox. I believe that Json will not be able to manage this alone, i dont know anyway to json get a information inside a container, i think its not possible, only using a script like i post above. I use the same function from the script that i sent early for send the event for Vox, but to test i need the vox send the "getinfo" for the script.
I am terrible to describe this things in english, let me know if you get the idea, if not i can make the script and send to you.
Let ´s put you to work a little more
I am your friend
Clayton