News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

Xbmc Python Script for VoxCommando

Started by xtermin8r, August 31, 2012, 06:00:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xtermin8r

Hi everyone

Below is a pic of the xbmc python script to control the features of VoxCommando.




Possible uses are as follows :
1. Launch applications from xbmc easily.
2. get the tts engine to speak.
3. Send Growl or other notifications.
4. Home Automation.
5. Enable and disable the microphone.
6.  etc.

I will release the script as soon as i have finished with it.

Questions, comments and your thoughts are always welcome. ::hmm
Neural Net Based Artificial Intelligence.

claymic

Congratulations
I will like to test this. Thanks for all your effort.
Clayton

xtermin8r

#2
Hi clayton
Quote
Congratulations
I will like to test this. Thanks for all your effort.
Clayton
Thank You.
Long time no see, i hope you are well, i will send you the script by email first, if it works ok then i will upload it into a post.
Neural Net Based Artificial Intelligence.

xtermin8r

@Clayton

Hi
i don't think i have your email address, PM me, thank you.
Neural Net Based Artificial Intelligence.

claymic

I just send a email for you and put my script on drop.
Let me know wath you think about it too.
Thanks mij.

claymic

Mij
I try your script yestarday, but i have some problems.
I am using xbmc Frodo, version Alpha 3.
I cant access the configurations settings and cant send any commands.
When i click in a button (like VC ON) the dialog open, i choose yes but nothing happnes.
I search in the log to see if there is a error to put here, but there is no message  about this issue.
Thanks man

xtermin8r

#6
Hi Clayton

QuoteI am using xbmc Frodo, version Alpha 3.
I cant access the configurations settings and cant send any commands.

There are some  configuration settings look at settings.xml

QuoteWhen i click in a button (like VC ON) the dialog open, i choose yes but nothing happnes.
I search in the log to see if there is a error to put here, but there is no message  about this issue.

try this :

1. edit default.py.
2. Search for     sock.sendto(command, ('<broadcast>', 33000))
3. Change to     sock.sendto(command, ('xxxxxxxxxxxx', 33000))

xxxxxxxxxxx = your ip address for pc where VoxCommando is installed.
e.g     sock.sendto(command, ('192.168.1.92', 33000))

4. Save default.py.
5. Run default.py.

Good luck.
Neural Net Based Artificial Intelligence.

claymic

Thanks Mij, i will try your suggestions.
Clayton

vulcanjedi

#8
I like the idea of beyond able to remotely completely turn off/on the mic possibly if needed, particularly since I'm running a remote VC. This does work on a remote VC right? From subsequent comments sounds like using UDP?
Hard to tell just from the screen shot, but Im sure i could think of more eventually:)

xtermin8r

Quote from: vulcanjedi on September 05, 2012, 03:39:35 AM
I like the idea of beyond able to remotely completely turn off/on the mic possibly if needed, particularly since I'm running a remote VC. This does work on a remote VC right? From subsequent comments sounds like using UDP?
Hard to tell just from the screen shot, but Im sure i could think of more eventually:)


Hi

i also like being able to control voxcommando and being able to launch programs remotely.
It should work on a remote vc installation.
Yes, the script is using the udp protocol.
Neural Net Based Artificial Intelligence.

vulcanjedi

This is cool cause during some things or really noisy environments I think I may want to turn the VC mic off completely and if I could map that script to my remote button that'd be rather helpful.

xtermin8r

Hi

Quoteand if I could map that script to my remote button that'd be rather helpful.

Defiinately possible.
Neural Net Based Artificial Intelligence.

xtermin8r

@vulcanjedi

If you want to try out the script PM me your email, if you like.
Neural Net Based Artificial Intelligence.

xtermin8r

@vulcanjedi

you have email. let me know how you get on.
cheers.
Neural Net Based Artificial Intelligence.

vulcanjedi

Just to affirm, we just manually drop this on XBMC & execute @ the moment and don't 'install' it perse correct?