Thanks guys.
Ok James, dont get upset with me
but i made some changes in your script. A little resume with the three most important add
- i made a function to let the VoxTools be running forever. A instance of the script will be running until we call again the script. This will let us manipulate some data that we get in the last call of the script, if we want of course.
- I insert a function to monitoring the player of the xbmc, this means that we can always know if a file (movie, tvshow or music) start,stop or finnesh to play.
- The third function its a little udp send. This will send a envent to vox.
We can now get automatic responses from VoxCommando.
Exemple:
When a movie start to play in the xbmc, a event its send to vox, we can then create a action for this event.
If you are not angry with me
Please help me with the send event to vox. For now if you play a movie its send the string "movie", if play a music its send "music", if its playing a episode its send "tvshow"
I just dont remember how its the event, its something like "event&&movie" ?
Test and let me know what you think about this. There is many situations where we can use this.
Wanilton will like, i am pretty sure. If we are playing a music the vox can now read the name of song automatic, without have to send any command to the vox.